taha afzal
655bf87e92
Fixing open orders callback (was firing intermittent callbacks)
2022-07-22 16:36:52 -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
89d5b25cc7
For EmMDListener, added a limit of 5 pending calls for positions, after which the counter is reset is positions are re-requested
2022-07-12 17:03:19 -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
772910ffe5
Fixing filled qty's fractional part not being filled on the server
2022-06-23 14:38:57 -05:00
taha afzal
0d0fb036ab
EmMDListener now get_open_orders and logging the open orders
2022-06-22 15:38:37 -05:00
taha afzal
f8668802ab
Fixing oder updates on fractional quantity orders (just a few lines)
2022-06-22 15:38:37 -05:00
taha afzal
c22a1382a1
Fractional qtys now work on the server (need some client side work)
2022-06-22 15:38:37 -05:00
taha afzal
60456e4225
Deribit market data is blanked out now if the connection to Deribit is lost
2022-06-10 09:54:22 -04:00
John Colvin
6c03e605b8
refactor: Consolidate md listener management into MarketDataGateway
...
This responsibility was awkwardly split between MarketDataGateway and
BinanceDepthStreamSite before, which made code confusing/hard to follow.
2022-06-07 22:44:33 -04:00
taha afzal
7097c85555
Fixing the SQLite error on archive_theos that was crashing the server on a duplicate key assertion
2022-06-06 15:14:57 -04:00
John Colvin
bbadbf8e16
build: Move .cmake files to cmake dir (from tools)
2022-06-03 10:42:32 -04:00
John Colvin
07fe19ecdc
build: Symlink emumba license in build dir
...
So we don't have to do it manually
2022-06-02 02:15:14 -04:00
John Colvin
a292fe87e1
build: Set up cmake 'install' build target
...
The 'install' build target creates a self-contained (deployable) sparkd
package. It copies the sparkd executable and its dependencies into a
single directory (no symlinks), which can then be copied/deployed to
another machine.
Run `cmake --build . --target install` to install sparkd in the
directory defined by the CMAKE_INSTALL_PREFIX variable.
2022-06-02 01:32:17 -04:00
taha afzal
b575612b07
Fixing Busting of fills on ResetPositions
2022-05-26 18:39:19 -04:00
taha afzal
5c11708728
Fixing assert on_get_all_position callback from EM
2022-05-18 17:56:06 -04:00
taha afzal
73a301192f
Fixing ExchangePosition's qty (unsigned uint related bug) and exchange
2022-05-18 17:14:39 -04:00
taha afzal
e66a2d4663
Rejected orders now show up in the Orderbook UI
2022-05-18 00:42:00 -04:00
Taha Afzal
f92e13d898
Logging the key of the placed order
2022-05-16 16:03:46 -04:00
Taha Afzal
1e0ab86a24
MD entitlements turned off temporarily until we can add the settings to Risk Admin (web)
2022-05-12 18:02:22 -04:00
taha afzal
904ef92ece
Added reset_position to PositionService
2022-05-09 14:40:44 -04:00
taha afzal
1b2a1c3fe3
Limiter can optionally get its value from config
2022-05-05 20:39:47 -04:00
John Colvin
bd108dfe35
cli (server): Add key-code subcommand to sparkd
2022-05-02 12:29:02 -04:00
John Colvin
8a96c7441e
refactor: Clean up KeyCode
2022-05-02 12:29:01 -04:00
John Colvin
4eea3194fd
Remove unused args from key-code subcmds
2022-05-02 12:29:01 -04:00
John Colvin
dace332ac5
refactor: Move FileUtils into lib
2022-05-02 12:29:01 -04:00
taha afzal
25d5f36645
Exchange positions are periodically published by OrderServices
2022-04-19 10:33:45 -04:00
taha afzal
f650ff3ccf
Modfified IEMOrderMux interface
2022-04-16 20:38:02 -04:00
taha afzal
b2640d2203
Updading interface for Emumba 2.2.5
2022-04-16 00:54:03 -04:00
taha afzal
c3b05d27f1
EMNativeOrders clean up (this is partially done, reporting and limiter reporting needs cleaning up)
2022-04-15 01:22:51 -04:00
taha afzal
6ecccdee7f
Routing ExchangePosition to OrderServiceServer
2022-04-13 17:16:03 -04:00
taha afzal
96d58942d0
Added all open orders query to IEMOrderMuxer
2022-04-13 17:16:03 -04:00
taha afzal
9c33405383
Added position enquiry function to (and asycn callback) to IEMOrderMuxer
2022-04-13 17:16:03 -04:00
taha afzal
a8a5fc3672
Stopgap fix for order final state not being reached, by piggybacking on the trades callback
2022-04-13 17:16:03 -04:00
taha afzal
0178716b01
Orders API now supports fractional quantites
2022-04-13 17:16:03 -04:00
John Colvin
9c6327160d
fix: Set response-success to true in delete report
...
Bugs (fixed):
* When a report is successfully deleted, the response from the server
indicates failure
2022-04-08 12:37:58 -04:00
taha afzal
73596546bf
Moving Deribit symbols from SIM to Deribit
2022-03-31 14:34:29 -04:00
taha afzal
6bf83c9e72
Removing the temporary file based order entry mechanism in EmMDListener
2022-03-31 14:34:29 -04:00
taha afzal
9385176bb5
Cleaning up IEMOrderMuxer
2022-03-31 14:34:29 -04:00
taha afzal
64240c5f3b
Deribit orders (mostly) work
2022-03-31 14:34:29 -04:00
taha afzal
65afb81f33
Added an order interactor that can read fro the file and secd/update/cancel orders
2022-03-31 14:34:29 -04:00
taha afzal
e8dfbe1d01
AnalyticsServiceServer's archive vol request now respects the symbol in the arguments
2022-03-04 19:01:51 -05:00
taha afzal
c254b982a2
Removing the hardcoded BTC
2022-03-02 18:38:36 -05:00
taha afzal
f9449f5fa6
Implemented get_archived_theos in AnalyticsServiceServer
2022-02-28 19:29:55 -05:00
John Colvin
ed864cae5d
style: Format cmake files
2022-02-28 14:21:31 -05:00
taha afzal
f9c79d5b44
Added vol/theo archiving to AnalyticsService
2022-02-28 13:29:57 -05:00
taha afzal
98362c7eb9
Fixing the deribit connection drop issue
2022-02-26 23:05:47 -05:00
Taha Afzal
f568691731
Adding report API to analytics server
2022-02-21 11:10:15 -05:00