Commit Graph

13 Commits

Author SHA1 Message Date
Geoff Taylor d15e953ae7 Refactor of code to work with mypy --strict 2021-11-09 13:23:36 +00:00
Geoff Taylor e6eaeaeed1 Now use a monotonic time (in milliseconds, with collision avoidance) for client IDs to help with some other systems. 2021-09-07 19:07:22 +01:00
Geoff Taylor befb86bcfb watch-minimum-balances now uses a single websocket for all accounts (again). 2021-08-31 10:55:06 +01:00
Geoff Taylor 59ba4894f1 Moved hedger to its own class, and re-used it as an option in marketmaker. 2021-08-23 15:36:55 +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 ed3955cc1f Fixed some type hints. 2021-08-01 18:03:46 +01:00
Geoff Taylor 072252095a Some work on streaming logs and account/program events. 2021-07-26 12:19:13 +01:00
Geoff Taylor c11aececd9 Fixed Serum cranking to be more complete. 2021-07-21 14:31:04 +01:00
Geoff Taylor faf514cde1 Brought up to date for new Group structures. New websocket approach. 2021-07-12 10:57:05 +01:00