Commit Graph

20 Commits

Author SHA1 Message Date
Geoff Taylor 8b1ebc13e8 Fixed problem with watch-minimum-balances spamming notifications. 2021-09-21 16:08:46 +01:00
Geoff Taylor 7c17f5cbc4 Added --log-suppress-timestamp parameter. Centralised much CLI argument handling. 2021-09-13 14:05:19 +01:00
Geoff Taylor d7b36c355c Now uses a fresh ThreadPoolScheduler every time instead of one per Context. 2021-09-02 08:30:06 +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 9159d615c4 Updated dependencies and fixed subsequent issues. 2021-08-27 20:37:23 +01:00
Geoff Taylor 261848f325 Big renaming of Context properties to make them more consistent and appropriate. 2021-08-26 10:31:02 +01:00
Geoff Taylor df6f817969 Added a ws_pong health check for watch-minimum-balances. 2021-08-25 20:40:32 +01:00
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 a4ca18e5ed Added/centralised 'watchers'. Removed FileToucherObserver. Added HealthCheck. 2021-08-17 12:17:49 +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 cc5b7b2af7 Added some more logging/notifying to watch-minimum-balances. 2021-07-30 17:50:34 +01:00
Geoff Taylor 7cfc1b76ba Added more logging to watch-minimum-balances. 2021-07-30 17:41:15 +01:00
Geoff Taylor c0f2a57938 Fixed error notification problem in watch-minimum-balances. 2021-07-28 19:07:57 +01:00
Geoff Taylor 7bbe476b2e Fixed watch-minimum-balance threading problems. 2021-07-28 12:31:35 +01:00
Geoff Taylor bf7b7e33ef Added file health check to watch-minimum-balances. 2021-07-27 17:21:18 +01:00
Geoff Taylor 7dc86a4e1a Added watch-minimum-balances command. 2021-07-27 17:07:39 +01:00