piker
piker copied to clipboard
Deribit updates
Various updates since deribit was last authored / tested 😂 :
- add
deribitto our default backend scan list inpiker.brokers.__brokers__: list[str] - fixes for new
msgspecversion namely ensuring default spec-ced fields are placed after fields with non-defaults. - API tweak to match new kwarg name in
open_jsonrpc_session():dtype->response_type=JSONRPCResult - fix the
Callableyielded fromopen_history_client()to accept thetimeframe: floatarg now required for multi-sample rate queries.
ToDo for this to land
- [x] support and/or fix 1s OHLC chart sampling
- [x] tread step size is borked when overlayed with
btcusdt.binance? think it's fixed now after adjusting the history loader in bullet below? - [x] adjust the
open_history_client()routine(s) to appropriately block on 1s history queries fixed in 47a4da9
- [x] tread step size is borked when overlayed with
- [x] do a once over lint with at least
flake8
I'm going to do a bit more linting and testing of this code to see if we can get it up to snuff with the latest paper trading stuff in #462 as well 🏄🏼
@guilledk where we at on this one carnal?
I kinda wanna play with some opts feeds this weekend 🏄🏼