Commit Graph
2852 Commits
Author SHA1 Message Date
John Colvin 75c0fee5bf Merge remote-tracking branch 'origin/spark_crypto_base.server' into spark_crypto_base.client_server_merge 2021-11-22 19:57:53 -05:00
John Colvin 160769ea60 Add ladder scrollable_tick_window_size to config 2021-11-22 18:22:39 -05:00
John Colvin fd271b992a Remove ICE symbols from default conf 2021-11-19 16:30:58 -05:00
John Colvin f880399c4c Add unsubscribe fn to MarketDataGateway
Seems like this was accidentally omitted
2021-11-19 16:30:58 -05:00
John Colvin b1d3acb9f7 fix typo: Change < to <= in WebsocketClient::start 2021-11-19 16:30:58 -05:00
John Colvin 68848a74a4 fix build: Correct typo in include path in spreader_tests 2021-11-19 16:30:58 -05:00
John Colvin 9b7ac8d6eb refactor: Shorten field names in SecurityCommon
* security_id -> id
* security_group -> group
* security_desc -> desc
2021-11-19 16:30:58 -05:00
John Colvin c2a783ce96 refactor: Use protos in new Security class 2021-11-19 16:30:58 -05:00
John Colvin 263c0503dc Don't link libiml (it's an artifact from spartan) 2021-11-19 16:30:58 -05:00
John Colvin 0c3b3e9aa6 fix build: Comment out unused refs in websocketclient 2021-11-19 16:30:58 -05:00
John Colvin 09a5343daa Fix fsharp indentation error in gen'd code 2021-11-19 16:30:58 -05:00
John Colvin dccb50d269 fix build: Satisfy new compilers gcc10, clang12 2021-11-19 16:30:58 -05:00
John Colvin 6ca7d3904d Make plugin.py use env python (not hardcoded path) 2021-11-19 16:30:58 -05:00
John Colvin 0f81af3095 cli: Add crypto subcommand
This runs a test/example app that subscribes to binance md and prints
depth to the console
2021-11-19 16:30:58 -05:00
John Colvin 1ae124f0b2 Add SecurityResolver w/ fn bones 2021-11-19 16:30:58 -05:00
John Colvin e83c466bf2 Port over some handy tools from spartan 2021-11-19 16:30:58 -05:00
John Colvin 18250a98f7 Add fn to init WebsocketClientConfiguration w/ a url 2021-11-19 16:30:58 -05:00
John Colvin d18547806e Add output operators to websocket classes 2021-11-19 16:30:58 -05:00
John Colvin 03b475add1 fix build: Resolve struct/class fwd decl conflicts 2021-11-19 16:30:58 -05:00
John Colvin b35c43b55c refactor: Rename communication namespace to match path 2021-11-19 16:20:45 -05:00
John Colvin 48862f2b8d refactor: Rename 'communication' dir 'io' 2021-11-19 16:20:45 -05:00
John Colvin f9db93e41a Add simple HTTPClient
The binance depth stream must be bootstrapped with a depth snapshot,
which is retrieved via an HTTP GET request
2021-11-19 16:20:45 -05:00
John Colvin 6573985bea Overload price comp fns to accept doubles 2021-11-19 16:20:41 -05:00
John Colvin 1679dc61a1 Add bts_assert_msgf macro for templated assert msgs 2021-11-19 16:19:26 -05:00
John Colvin 07afba0b9e Remove websocket bones 2021-11-19 16:19:26 -05:00
John Colvin c018f86671 Add SecurityStore bones/basic impl 2021-11-19 16:19:26 -05:00
John Colvin 7eb8f0d685 Add protos for crypto 2021-11-19 16:19:26 -05:00
John Colvin 2e7bdbcac5 Add classes that mirror binance json structures 2021-11-19 16:19:26 -05:00
John Colvin 66f7474d62 style: Declare default copy ctrs for good taste
This will also satisfy more recent compilers, for when we finally
do upgrade the build
2021-11-19 16:19:26 -05:00
John Colvin 1ed3008c1c refactor: Split OrderGateway classes into sep files 2021-11-19 16:19:26 -05:00
John Colvin b3dbc041b5 refactor: Split md gateway classes into sep files 2021-11-19 16:19:26 -05:00
John Colvin 7bc5385783 Port Book type over from spartan 2021-11-19 16:19:23 -05:00
John Colvin 02513a8779 refactor: Make BookLevel fields non-const
Incremental diff streams would otherwise have to create entire new books
for each update (no copy assignment operator for elements which are stored in
an array)
2021-11-19 16:18:20 -05:00
John Colvin 27100e2e2d Implement OptionSecurity (was empty class) 2021-11-19 16:18:20 -05:00
John Colvin 4860d0cb3d refactor: Move classes out of MarketDataCommon.h into own files 2021-11-19 16:18:15 -05:00
John Colvin a0ce1b361f Add >=, <= operators to ValueWrapper 2021-11-19 15:42:35 -05:00
John Colvin 7ede27e90b refactor: Clean up ValueWrapper 2021-11-19 15:42:33 -05:00
John Colvin 0cfb27feba refactor (flatten): Move ExecutionGatewayFactory to own file 2021-10-25 13:27:12 -04:00
John Colvin 85c567ffc5 refactor (flatten): Move OrderServices to orderman dir 2021-10-25 13:27:12 -04:00
John Colvin 694309f80b refactor (flatten): Move OrderBuilder to orderman dir 2021-10-25 13:27:12 -04:00
John Colvin 0a6a4c35fa refactor (flatten): Move OrderServiceServer to orderman dir 2021-10-25 13:27:12 -04:00
John Colvin 923d9ee512 refactor (flatten): Move ChildOrder to orderman dir 2021-10-25 13:27:12 -04:00
John Colvin f2671ea4ba refactor: Remove unused file IOrderServices 2021-10-25 13:27:12 -04:00
John Colvin 0d3e27932a refactor (flatten): Move OrderRouter to orderman dir 2021-10-25 13:27:12 -04:00
John Colvin cc81fd3244 refactor (flatten): Move ilink3 dir to lib/orderman 2021-10-25 13:27:12 -04:00
John Colvin 014effef90 refactor: Move IExchangeGateways to gateways dir 2021-10-25 13:27:12 -04:00
John Colvin 903e59a814 refactor: Move order msg classes to own files 2021-10-25 13:27:12 -04:00
John Colvin 7e2b21602a refactor: Move Governor defs to .cpp 2021-10-25 13:27:12 -04:00
John Colvin aee394a792 refactor (flatten): Move Governor.h out of own dir 2021-10-25 13:27:12 -04:00
John Colvin e5e20af1f7 style: Clean up OrderServices
* Move non-template definitions to .cpp
* Move template definitions to bottom of .h
2021-10-25 13:27:12 -04:00