Commit Graph
10755 Commits
Author SHA1 Message Date
John Colvin e09d4d24ba build: Add option to build sdk (or not)
The sdk isn't needed right now, and it adds several seconds to the build
2021-12-07 17:52:47 -05:00
John Colvin ed0924df02 fix build: Replace now-deprecated option in web build
Replace '-p' w/ '--mode production'
2021-12-07 17:52:47 -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 723442227c Update externals to include new websocketpp 2021-11-19 16:30:58 -05:00
John Colvin d4c867a835 Resurrect webserver
The webserver code was commented out when boost was upgraded, as the
former dependend on websocketpp, which, at that time, depended on the
previous version of boost.  Websocketpp has since been updated, so that
the dependency conflict no longer exists
2021-11-19 16:30:58 -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 493262c99a Update docker/linux 2021-11-19 16:30:58 -05:00
John Colvin d9ff44cc93 docker (dev/john): Don't backup default .bashrc and .profile 2021-11-19 16:30:58 -05:00
John Colvin 5e3530faef docker (dev/john): Don't build fish docs
This breaks the build for some reason (don't care enough to investigate)
2021-11-19 16:30:58 -05:00
John Colvin c5ca47396b docker (dev/john): Don't install apt fish or git-powerline 2021-11-19 16:30:58 -05:00
John Colvin 2c21d4ddad docker (dev/john): Run apt w/ noninteractive frontend 2021-11-19 16:30:58 -05:00
John Colvin 8d5cae835f docker (dev/john): Update apt before installing fish dep 2021-11-19 16:30:58 -05:00
John Colvin 84221fe0d8 cli: Add emumba deribit demo subcommand 2021-11-19 16:30:58 -05:00
John Colvin 644613749d style (dev/john): Clean up Dockerfile
* Indent command chains
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 23d645473c Update docker/linux to upgraded_18.04 branch 2021-11-19 16:30:58 -05:00
John Colvin 0f43de79e1 Update externals to use new json.hpp and node_modules 2021-11-19 16:30:58 -05:00
John Colvin eb86db3ef6 build (web): Symlink new node_module dirs in setup_builds 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 47cef95b11 build (web): Upgrade node packages 2021-11-19 16:30:58 -05:00
John Colvin 5a71cb4ac6 Add john's vscode files 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 254dcff1f6 Try to fix the goddamn web build
These dependencies are way to fragile.  It is a nightmare trying to
upgrade them.
2021-11-19 16:30:58 -05:00
John Colvin 2891e01de1 Add john's dev scripts (docker-related) 2021-11-19 16:30:58 -05:00
John Colvin f42568bed4 docker (john): Get john's vim files in Dockerfile 2021-11-19 16:30:58 -05:00
John Colvin a28f667df5 docker (john): Get john's bash config in Dockerfile 2021-11-19 16:30:58 -05:00
John Colvin ff1d561f7b docker (john): Change user to 'john' 2021-11-19 16:30:58 -05:00
John Colvin 94a91215fb Upgrade dev/john Dockerfile to ubuntu 21.04 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 9a63cfa956 Add .tmp to gitignore 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 41714fe3f2 Stop tracking .vscode 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 77dfe79d95 Add proto file settings to clang-format 2021-11-19 16:19:26 -05:00
John Colvin 1679dc61a1 Add bts_assert_msgf macro for templated assert msgs 2021-11-19 16:19:26 -05:00