Geoff Taylor
3419c89033
Moved marketmaker to an 'orderchain' model.
2021-08-22 19:48:20 +01:00
Geoff Taylor
8a83c73ea8
Now run websocket connections each in their own websocket rather than using a shared one. (Shared websocket is still an option though.)
2021-08-21 16:03:13 +01:00
Geoff Taylor
153ebae2f4
Moved opening of websocket to be entirely within WebSocketSubscriptionManager.
2021-08-21 13:25:28 +01:00
Geoff Taylor
9bd75dc8d2
Websocket now has a force_reconnect() method, plus subscribable disconnect event.
2021-08-09 13:24:33 +01:00
Geoff Taylor
9b6f33d7e6
Added --name parameter to programs and context to allow better reporting of errors.
2021-08-09 10:27:47 +01:00
Geoff Taylor
f596d571f6
Big change - now uses our own 'Client' which handles some situations better from our point of view:
...
* Being able to specify commitment on the Client instead of every call.
* Better error handling (more exception details, and specific rate limiting exceptions)
* More obvious return values, instead of always having to dereference "result".
2021-08-07 15:07:19 +01:00
Geoff Taylor
ba56bdd9f5
Improved event queue handling. Now split incoming events into processed and unprocessed, and changed 'seen' handling to use sequence_number.
2021-08-01 17:47:45 +01:00
Geoff Taylor
ab3657958d
Added hedger command. Had to introduce a LotSizeConverter - may expand its use now it's available.
2021-07-28 17:43:58 +01:00
Geoff Taylor
d739248ec6
Better handling of unseen events in PerpEventQueue.
2021-07-27 21:49:27 +01:00
Geoff Taylor
072252095a
Some work on streaming logs and account/program events.
2021-07-26 12:19:13 +01:00
Geoff Taylor
8fe48de527
Moved functionality into *Market objects.
2021-07-23 10:20:44 +01:00
Geoff Taylor
7ddc61a3e3
Fixed linting problems.
2021-07-22 15:58:00 +01:00
Geoff Taylor
c953ec07fc
Added Perp cranking code, plus program. Expanded watch-address, added complementary show-address command.
2021-07-22 15:18:37 +01:00
Geoff Taylor
000040f678
Fixed return value.
2021-07-21 16:37:47 +01:00
Geoff Taylor
817b31f8ea
Added a streaming watcher for some account types.
2021-07-21 16:35:38 +01:00