John Colvin
1beb9460ba
build: Benign changes to remove errors in clang 15
2022-10-05 11:03:13 -04:00
Taha Afzal
66f68ef3ec
Fixing the spread filled price (EMNativeOrder needed to ignore spread_leg like the GLBX and ICENativeOrders
2022-10-03 23:19:10 -04:00
Taha Afzal
569f1460a4
Wiring up RFQ sending
2022-10-03 00:04:55 -04:00
Taha Afzal
2f369dbd57
RFQ wiring complete
2022-10-02 22:20:44 -04:00
Taha Afzal
444e486862
Changing RFQ Proto
2022-10-01 22:15:05 -04:00
John Colvin
788df0e888
fix build (gcc-11): Include optional
2022-09-28 21:22:47 -05:00
Taha Afzal
3c511bb177
RFQ hooked up on the server side
2022-09-28 21:22:47 -05:00
Taha Afzal
49f13755c6
Adding RFQ to OrderService interface
2022-09-28 21:22:47 -05:00
Taha Afzal
2152b48fe2
Spread execution is almost done, leg prices are not correct
2022-09-28 21:22:47 -05:00
Taha Afzal
83de5fac75
Deribit spread market data is now written to shared memory
2022-09-22 23:51:48 -04:00
John Colvin
ca59976e00
fix build (cpp win): Use explicit void template arg in memcpy
2022-09-21 00:17:31 -05:00
John Colvin
7f7a160916
fix build (cpp win): Disable ccapi code in windows
2022-09-21 00:17:31 -05:00
John Colvin
9dd2cee6d9
refactor: Repurpose ccapi ftx-impl for general use
2022-09-21 00:14:38 -05:00
Taha Afzal
57365013bd
CCMarketDataListener is mostly complete, error handling and RFQs/state remains
2022-09-21 00:14:38 -05:00
Taha Afzal
3d55ef075b
CCMarketDataListener writes its security to shared memory now
2022-09-21 00:14:38 -05:00
Taha Afzal
14da6461b1
Constructor added to CCMarketDataListener
2022-09-21 00:14:38 -05:00
Taha Afzal
e84d3df024
Adding skeleton
2022-09-21 00:14:38 -05:00
John Colvin
f5c8c29f5a
build: Migrate web build to net6.0
...
Clean up the web build process a bit while we're at it
* Add 'custom_commands' to run npm install in CMakeLists
* Generate tsconfig files for CMake preset configurations
* Rename local variables to _snake_case in CMakeLists
2022-09-21 00:14:38 -05:00
John Colvin
41b8c9238c
build: Remove server/sparkd from libspark include path
2022-09-21 00:14:38 -05:00
John Colvin
28b66306da
chore (linux build): Add benign changes to satisfy gcc11
2022-09-21 00:14:38 -05:00
John Colvin
0bdbc1897a
chore (linux build): Add benign changes to satisfy clang13
2022-09-21 00:14:38 -05:00
Taha Afzal
8280b7a815
Fixing Deribit order minor issues that were causing the spreader to cancel its child orders
2022-08-31 15:17:35 -04:00
John Colvin
ffb2245ae6
refactor: Clean up immutable.pb.cs code-gen template a bit more
...
So the generated code more closely follows our formatting practices
2022-08-23 16:54:17 -04:00
Taha Afzal
8701fb7132
Fixing qty in ExchangeOpenOrders for fractional qty orders
2022-08-17 14:12:23 -04:00
Taha Afzal
89fcb3092b
Fixing merge conflict
2022-08-17 12:54:27 -04:00
John Colvin
04477a4b7c
refactor: Don't copy strings
2022-08-16 21:08:53 -04:00
John Colvin
99371a2ead
feat: Add Open Orders window
2022-08-16 17:25:03 -04:00
John Colvin
4a37e2d6a6
refactor: Implement IKeyedData in generated cs pbuf types
...
For convenience, so we don't have to pass key-selector lambdas all over the
place when dealing w/ IObservable<TableUpdate>s from the pbuf services
2022-08-16 17:25:02 -04:00
John Colvin
12b2371a69
style: Clean up api code-gen template immutable.pb.cs
2022-08-16 17:25:02 -04:00
John Colvin
7a31b025a2
refactor: Add 'ms' suffix to exch-open-order timestamp fields
...
Just to make it clear that they are milliseconds (not nanos, micros, etc.)
2022-08-16 17:24:52 -04:00
John Colvin
31897a1b2e
refactor: Change exch-open-order record_id to auto-incremented int
...
To insulate ourselves from potential duplicate-id bugs at the exchange
2022-08-16 16:46:47 -04:00
John Colvin
f93bc592cb
fix: Set RetrievedExchangeOpenOrder.exchange_order_id
...
Bugs (fixed):
* The 'exchange order id' field is empty in open orders data received
by client
2022-08-16 13:22:38 -04:00
Taha Afzal
84b0332778
Better logs for the case when Deribit's open orders's security can not be resolved
2022-08-03 23:53:57 -04:00
Taha Afzal
20b601f290
Fixed the crash related to querying Deribit for open orders
2022-08-03 16:57:10 -04:00
John Colvin
c00a71fdfa
chore: Add fill_kind to ITradeLogRow
2022-08-01 11:14:29 -04:00
taha afzal
6d06a1920d
OrderServiceServer now publishes open orders
2022-07-22 15:16:03 -04:00
taha afzal
70af51e163
ExchangeOpenOrders are now routed all the way to OrderServiceServer
2022-07-21 20:36:17 -04:00
taha afzal
2c17fe334e
Added Exchange Open Orders function to IExecutionGateway
2022-07-21 00:38:15 -04:00
taha afzal
5eca2cd3ac
Exchange Open orders are routed all the way to EMExecutionGateway
2022-07-20 20:13:56 -04:00
taha afzal
4b5ff8cad4
Adding AsyncRequestHelper to EmMDListener, that allows code to be shared bw positions and open_orders request
2022-07-20 15:29:25 -04:00
taha afzal
79de0dd4d8
Removed exchange from sub acocunt config
2022-07-11 21:13:05 -04:00
taha afzal
e5de6b4ad7
Changed the relationship of internal account to sub account to simple 1:1
2022-07-11 17:28:53 -04:00
taha afzal
846ecfa776
Fixed the reconcile issue where if the security existed in multiple accounts it was getting surpressed in one
2022-07-11 13:27:10 -04:00
taha afzal
d98fb399a8
Exchange Positions can now be obtained for multiple sub accounts
2022-07-09 01:40:28 -04:00
taha afzal
4a1c1d023a
Changes to accomodate the EM API change for mulitple accounts
2022-07-06 16:42:04 -04:00
taha afzal
43cba548f4
Adding some details to the logs to track order flow
2022-06-24 15:05:15 -04:00
taha afzal
772910ffe5
Fixing filled qty's fractional part not being filled on the server
2022-06-23 14:38:57 -05:00
John Colvin
010d0073fe
chore: Set BTC qty display config defaults
2022-06-23 02:05:23 -05:00
John Colvin
40210ce42e
chore: Remove unnecessary price_display config default
2022-06-23 01:35:22 -05:00
John Colvin
5e1c6d6209
fix build (windows): Don't include stdint-uintn.h on windows
2022-06-22 15:38:37 -05:00