John Colvin
caa03dcfa7
refactor: Rename user_data_streams dir, ns without plural 's'
...
There is one user data stream for Binance Spots, and another for Usds
Futures. We model both of these user data streams in separate folders,
so each "user_data_stream" dir represents a single stream.
2025-03-03 19:32:16 +00:00
John Colvin
d010ba7ae7
refactor: Abstract out common binance gw code
...
For all sub-venues to use
2025-03-03 19:32:16 +00:00
John Colvin
c60df8bcfa
refactor: Rename binance exe gw filenames so they are unique
...
The debugger gets confused when a particular lib contains multiple
source files with the same name (in different dirs).
2025-03-03 19:32:16 +00:00
John Colvin
dfacf73289
Improve logging/error reporting in binance execution gw
...
In the process, consolidate binance exe report stores into single class.
2025-03-03 19:32:16 +00:00
John Colvin
0339fe9749
cleanup: Specify bts account directly in binance gw config
...
This eliminates the need for an ExchangeSubAccountResolver.
2025-03-03 19:32:16 +00:00
John Colvin
ff1d71a36d
cleanup: Replace includes w/ fwd declares in header
2025-03-03 19:32:16 +00:00
John Colvin
5b9fc54ea6
fix: Reject orders w/ invalid TimeInForce at binance
...
Do this internally (before sending them to the exchange)
2025-03-03 19:32:16 +00:00
John Colvin
24f0eef2eb
fix: Report internal reject msgs to ExecutionReport
...
For Binance execution gateways (spots and usds futures)
2025-03-03 19:32:16 +00:00
John Colvin
01e90c2497
Add reconnect behavior to WebsocketClient
2025-03-03 19:32:16 +00:00
John Colvin
76de640421
diag: Show Binance sub-venue in log message prefix
...
Otherwise it's hard to tell which Binance venue the log is about (e.g.,
spots, usds futures, etc.).
2025-02-24 06:16:22 +00:00
John Colvin
84abf59a55
feat: Add binance spots execution
2025-02-23 06:10:36 +00:00
John Colvin
8e5cb100a7
fix: Assign BTS account to ExecutionReport
...
Not external exch account
2025-02-23 06:10:36 +00:00
John Colvin
938bee1817
Validate ExecutionReport before invoking callback
2025-02-23 06:10:36 +00:00
John Colvin
8c561f7886
improvement: Pass account/order updates by move (not value)
2025-02-19 22:50:29 +00:00
John Colvin
288567d1eb
cleanup: Pass JetFIX cfg directly to binance usds futs exe gw
2025-02-19 22:50:29 +00:00
John Colvin
1c3c7a078a
diag: Improve logging in binance usds futures exe gateway
...
Also propagate error msgs through the execution report (so we can see
them in the front end).
2025-02-19 22:49:30 +00:00
John Colvin
b5d97c0b1b
refactor: Consolidate ExecutionGatewayProvider/Factory code
...
It's easier to read and manage code when you're not constantly jumping
to and fro across a bunch of files.
2025-02-19 22:49:30 +00:00
John Colvin
f3d93f7749
fix leak: Replace object pool raw ptrs w/ shared ptrs
2025-02-19 22:49:30 +00:00
John Colvin
65c3948e4f
cleanup: Remove unused code
2025-01-03 16:59:07 +00:00
John Colvin
002bdff9a3
fix: Don't parse non-existent json files in SparkDataDirectory
...
Bugs (fixed):
* Sparkd assert crashes if binance_usds_futures_execution.json file
doesn't exist
2025-01-03 16:59:07 +00:00
John Colvin
1b232aa610
feat: Add Binance USDS Futures execution
2024-12-22 04:00:23 +00:00