piker/piker/brokers
Tyler Goodlet ff2bbd5aca ib: handle order errors via `reqid` lookup
Finally this is a reason to use our new `OrderDialogs` abstraction; on
order submission errors IB doesn't really pass back anything other then
the `orderId` and the reason so we have to conduct our own lookup for
a message to relay to the EMS..

So, for every EMS msg we send, add it to the dialog tracker and then use
the `flows: OrderDialogs` for lookup in the case where we need to relay
said error. Also, include sending a `canceled` status such that the
order won't get stuck as a stale entry in the `emsd`'s own dialog table.
For now we just filter out errors that are unrelated from the stream
since there's always going to be stuff to do with live/history data
queries..
2023-08-07 18:19:35 -04:00
..
binance Add paper-engine cost simulation support 2023-08-07 09:55:45 -04:00
deribit Don't pass loglevel to trade dialog endpoint 2023-06-27 13:41:47 -04:00
ib ib: handle order errors via `reqid` lookup 2023-08-07 18:19:35 -04:00
kraken Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
__init__.py Change cached-client hit msg to runtime level 2023-07-12 08:45:55 -04:00
_daemon.py Move `broker_init()` into `brokers._daemon` 2023-06-27 13:42:08 -04:00
_util.py Move `broker_init()` into `brokers._daemon` 2023-06-27 13:42:08 -04:00
cli.py Use new config get/set API in `brokercnf` cmd? 2023-06-27 13:42:08 -04:00
core.py brokers.core: open cached client before hitting `.get_mkt_info()` 2023-07-12 08:45:55 -04:00
data.py Use common `.brokers` logger in most backends 2023-05-09 14:49:26 -04:00
kucoin.py Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
questrade.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
robinhood.py Use common `.brokers` logger in most backends 2023-05-09 14:49:26 -04:00