Commit Graph
29 Commits
Author SHA1 Message Date
John Colvin 2e6d12c9c1 cleanup: Remove unnecessary includes 2025-01-28 19:59:08 +00:00
John Colvin b53d9d7d4c refactor: Remove 'Platform' (md source) config
Good riddance. Improper 'PlatformMap' config was often the reason market
data mysteriously wouldn't show up in the client. Especially with new
exchanges. We should keep all md source/connection configuration in one
place (one proto message), to avoid any confusion.
2024-01-17 01:42:57 -05: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 06c833e96c fix: Use correct prefix in md cleanup
Bugs (fixed):
  * Assert crash in MDSource.h "Marketdata heartbeats are bad..."

  Cause: The MD cleanup procedure, which is supposed to delete md files
  from shared memory (from previous runs), wasn't deleting anything.
  The file globbing pattern it was using (to determine which files to
  delete) never produced any matches because it had the wrong prefix. As
  a result, market data would often be loaded with a stale heartbeat
  timestamp from a previous run.

  Note: This occurred as a side effect of making the shared memory prefix
  configurable when we ported the api server over to Linux (so the api
  server and sparkd could run on the same container/machine whilst
  maintaining independent shared memory files).
2023-04-03 10:28:51 -04: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 b360f953db build: Benign changes to remove errors in clang 15 2023-01-02 18:42:38 -05:00
John Colvin 28b66306da chore (linux build): Add benign changes to satisfy gcc11 2022-09-21 00:14:38 -05:00
Taha Afzal caa29b9513 Reducing market data related logging 2022-05-12 16:21:42 -04:00
taha afzal e7295ccf9a Made the dumper method in ShmDumper public to allow access for Logging from other places: 2022-01-19 16:13:47 -05:00
taha afzal 15beef99f9 Deribit market data (futures) integrated 2022-01-19 15:44:34 -05:00
Taha Afzal d23baec6d9 comments and los 2021-09-10 09:13:59 -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
Eric Harding f0edeadd50 Make shared mem size configurable 2020-05-13 20:29:38 -05:00
Eric Harding 8e3a83d314 SP-184 Revenge of Mapping Part IV 2019-08-21 18:40:26 -04:00
Eric Harding 7965743a80 SPARK-2455 crash on sim startup 2019-05-17 15:20:53 -04:00
Eric Harding 7eb8b21cea Simplify SecurityIDRecorder api for 3rd party consumption 2018-11-12 16:58:06 -05:00
Eric Harding c834a6e840 Switch tbb::queueing_mutex to std::mutex 2018-11-12 13:57:23 -05:00
Eric Harding 1ca250ccb1 SPARK-1574 PriceSize Needs to be bigger (native) 2018-08-29 17:18:13 -04:00
Eric Harding c876c257da Increase buffer size for trade ticker (on server) 2018-08-08 14:13:04 -04:00
Eric Harding ebc7432995 Add market data gap metric. 2018-06-19 11:43:03 -04:00
Eric Harding e652435890 Spark-608 - get the simulator to send markets down to the shell. 2018-03-09 17:16:20 -05:00
Eric Harding 23e3d5e5ee Additional md asserts. 2018-02-23 14:06:54 -05:00
Eric Harding 7a2d24cf54 Spark-496, spark-497. Store and retrieve synthetic securities from a single block of shared memory. 2018-02-20 17:40:12 -05:00
Pedro Pinto a68ff5342c Pretified logging subsystems. 2017-12-22 17:44:09 -05:00
Eric Harding 796bd30972 Clean up md2 namespace 2017-12-21 16:33:28 -05:00
Eric Harding 8b7d24aa40 Change terribly named folder "structure" and "structure.h" 2017-12-21 10:11:30 -05:00
Eric Harding 5fc7d3ff78 Remove OldSecurity 2017-09-21 16:51:48 -04:00
Pedro Pinto 04af9c74e9 Moved md to sparklib. Regretfully. 2017-08-24 17:15:41 +00:00