Commit Graph
38 Commits
Author SHA1 Message Date
John Colvin 4f22ae04fe diag: Add verbose logs during config init 2023-04-16 00:13:42 -04:00
John Colvin a7e89b075b Merge remote-tracking branch 'origin/spark_crypto.ccapi' into spark_crypto.websocket-api.linux 2023-04-06 12:55:53 -04:00
John Colvin 3fda1cb369 improvement: Add null check for rule_desc in cfg lookup
It is possible rule_desc is null given an inappropriate field_name arg
2023-03-28 00:45:07 -04:00
John Colvin 2c2a68022b improvement: Spruce up 'config' cli
It's naturally a bit messy because we expose the c++ cli to csharp, so
it can be invoked via Spark.Console (cs) or sparkd
2023-03-28 00:45:07 -04:00
John Colvin b568128180 improvement: Set sys cfg build_type to release (if not debug)
For completeness sake
2023-03-20 13:26:44 -04:00
John Colvin 53a87530ee refactor: Remove erroneous 'qualifier' field from SystemConfig 2023-03-20 13:26:44 -04:00
John Colvin 17402ce94a refactor: Replace os::bts_data_path w/ SystemConfig::data_path 2023-03-20 13:26:44 -04:00
John Colvin 64df20cb36 refactor: Remove unused config-fallback path
This seems to have been here since the dawn of Spark. It is only
initialized via the -ConfigFallback option in the sparkd cli, an option
that no one ever uses (the cli provides no documentation for it either).
2023-03-20 13:26:43 -04:00
John Colvin 7eefae4c42 diag: Add config logs
This may be temporary, but we should keep them until we know the new
proto3 configs are solid
2023-03-20 13:26:43 -04:00
John Colvin 7e5c1218a3 build: Make app-data, shared mem paths configurable via CMake
This allows sparkd and the api server to run simultaneously in the same
docker, w/ independent data (on disk)
2023-03-20 13:26:43 -04:00
John Colvin f5741d8095 refactor: Convert system/logging cfg to proto3 2023-03-20 13:23:48 -04:00
John Colvin abf0d45784 improvement: Refactor mdgw/ftx to use SecurityCriteria
So we can subscribe to depth for "FTX Options" or "FTX BTC Futures",
rather than having to list each security explicitly.

This commit also unhooks binance from MarketDataGateway. A new paradigm
is emerging with the FTX impl, and it'll be easier to redo Binance than
try to make the existing impl fit the new mold.

Unfortunately, ccapi doesn't provide all the security metadata we need, such as
the security type and expiration date/time, so we get the list of FTX
securities directly from the exchange.
2023-01-04 13:35:38 -05:00
John Colvin 3b1a2357cc fix build (client): Change 'WIN32' macros to '_WIN32'
Not sure exactly how this broke, but the WIN32 macro is no longer defined.
2023-01-02 18:42:39 -05:00
John Colvin 4a6d3e3042 Add bts/api/domain to proto search path for config 2022-04-19 11:42:42 -04:00
Pedro Pinto 3866f8709f Fucking windows include order bullshit. 2021-02-03 16:17:14 -05:00
Pedro Pinto de063e51f0 Another clang-format run, changed how parameters are binned 2020-12-30 17:30:10 -05:00
Pedro Pinto 8f21a77150 Ran clang-format across all files 2020-12-30 17:11:18 -05:00
Kevin Darby 7d2695e602 Merge branch 'master' of bitbucket.org:bluetradesys/spark into ice_exec3 2019-09-06 11:46:40 -04:00
Eric Harding d544511993 Additional managed init cleanup 2019-08-28 15:47:36 -04:00
Eric Harding e030518d60 Config bug: if configserver is down but we proceed (for unit tests or something) we don't get the right values 2019-08-28 14:25:37 -04:00
Kevin Darby d0029e7f88 sim doesn't crash, but doesn't give exec reports either 2019-04-05 17:39:04 -04:00
Kevin Darby ec0b96215f Merge branch 'SPARK-1944-attach/detach/update' of bitbucket.org:bluetradesys/spark into ice_exec 2019-03-27 17:29:32 -04:00
Kevin Darby e4bf9fc747 ice market data 2019-03-07 17:56:28 -05:00
Eric Harding a598188c14 Load defaults from program segment instead of files 2018-11-30 15:21:43 -05:00
Eric Harding 3648f18a09 Generate an include file with the defaults text as as a string 2018-11-30 15:05:23 -05:00
Eric Harding caf6ac029c Fix ancient config bug where you can't reference a non-overloaded key in a rule or macro. 2018-09-20 10:27:52 -04:00
Eric Harding e9f3e92f82 Read spark.version for version information 2018-06-08 09:26:21 -04:00
Pedro Pinto 4803c66506 Fixed a few more hardcoded references to .bts 2018-06-04 17:15:29 -04:00
Eric Harding 4c7949ff8d SPARK-1198 Directory Shuffle 2018-06-04 17:10:36 -04:00
Eric Harding c515129d20 Destroy logging after config is initialized 2018-02-13 13:42:02 -05:00
Eric Harding da1a36bf11 Partially fix up windows unit tests. Try out the Visual Studio Test Manager 2017-10-20 18:27:27 -04:00
Eric Harding 45dd1005da Add debug configuration for market data 2017-09-29 09:26:41 -04:00
Eric Harding 909ee0a8f1 Switch from edge.conf to spark.conf 2017-09-28 14:16:17 -04:00
Pedro Pinto 03205bbc31 Fixed a few bugs, services now work. 2017-08-23 19:27:00 +00:00
Pedro Pinto 3cd6ced4a2 Allowed config protos to be missing in Linux.
The linker on linux might throws away unused object files when it
builds the sparkd executable. This is not an error so we no longer
throw.
2017-08-23 14:40:27 +00:00
Pedro Pinto ac3d1869cf Fixed logging on Windows. Event log sink is still broken. 2017-08-23 12:58:07 +00:00
Pedro Pinto 5642471850 Fixed unit tests 2017-08-14 19:03:15 +00:00
Pedro Pinto 950e7b7e2d Init 2017-08-07 17:21:12 -04:00