Commit Graph
2863 Commits
Author SHA1 Message Date
Taha Afzal 8786b48f33 Added AnalyticsService.proto 2021-12-09 11:40:50 -05:00
Taha Afzal 31bb4c418e Adding VoLSurface calulation code 2021-12-09 11:40:49 -05:00
John Colvin c0e75c2de2 Update CMakeDeps, CMakeDeps_win 2021-12-09 11:40:48 -05:00
John Colvin 62bf1d069c Fix build errors caused by big merge, externals upgrade
A lot of server-side changes were just merged as part of the Brandon
project (crypto).  Many of those changes were in libspark (a lib on
which both the client and server depend), and upgrades to its external
dependencies.  As a result, windows counterparts of several upgraded
external libs needed to be similarly upgraded (or added for the first
time).  These libs include: boost, btree, catch, curl, fmt, nlohmann json,
openssl, range, rxcpp, websocketpp

This change also makes protobuf generation compatible with python3, and thus
eliminates the build's dependency on python2
2021-12-09 11:40:42 -05:00
John Colvin 9091d50690 Remove Quantity negation '-' operator
This operator was a mistake to begin with, bc Quantity is unsigned
2021-12-08 10:58:00 -05:00
John Colvin 0544e21c97 Remove unnecessary includes in FlatUnorderedMap.h 2021-12-08 10:58:00 -05:00
John Colvin e9bb8201ed Add pragma once to ConfigurationState.h 2021-12-08 10:58:00 -05:00
John Colvin 75f8963ecd Merge remote-tracking branch 'origin/spark_crypto_base.server' into spark_crypto_base.client_server_merge 2021-12-07 18:33:18 -05:00
John Colvin cd6fcacc4f refactor: Clean up CryptoCommand
* Replace BinanceDemo w/ general purpose LiveLadderDemo
* Get rid of CryptoConfig.proto, as it inappropriately depended on
non-config protos
2021-12-07 17:52:42 -05:00
John Colvin 16bf52e193 refactor: Clean up MarketDataSubscription
* Define as class (not struct) to agree w/ fwd decls
* Make ctr inline since its defined in header
* Pass params to ctr by value (and std::move) rather than by const ref
  (and copy)
2021-12-06 16:41:24 -05:00
John Colvin df5aecd102 refactor: Replace refs to google/btree w/ Kronuz/btree
The former has been replaced with the latter in externals
2021-12-05 16:24:34 -05:00
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