-
Notifications
You must be signed in to change notification settings - Fork 17
Kraken Refinement #290
Copy link
Copy link
Closed
Labels
broker-backend`brokerd`/`datad` related backend tech`brokerd`/`datad` related backend techintegrationexternal stack and/or lib augmentationsexternal stack and/or lib augmentations
Description
To address issues that did not fit into the scope of PR #214 and tick off the remaining desired functionality from #201
- Get trades history asynchronously using nursery and the count:
- not sure we need this yet since realistically we'll be incrementally capturing trades data in the new ledger system. if we get to the point where user's are complaining about ledger loading on first boot, this might be something worth revisiting.
-
Change the dict merging for trades to the new syntax: https://github.com/pikers/piker/pull/214/files#r830525470this code was all rewritten thus obsoleting this change request - Get rid of the try except block in the positions calc: https://github.com/pikers/piker/pull/214/files#r830527334
-
Change fixtures to accept kwargs: https://github.com/pikers/piker/pull/214/files#r817211683instead just expectfuntools.partial()-ing in of needed state.
Further follow up TODOs (added by @goodboy):
-
we should probably use one of their batch cancel endpoints in our Client.submit_cancel()such that cc and other automated strats can destroy order sets faster. -> turns out using the WS api makes this all fast enough to avoid needing the batch cancels (for now)- the other thing to investigate is whether the ws order entry API doesn't have these same issues with throttling (which one would assume since it's not an extra http request per request). -> it doesn't
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
broker-backend`brokerd`/`datad` related backend tech`brokerd`/`datad` related backend techintegrationexternal stack and/or lib augmentationsexternal stack and/or lib augmentations