piker/piker/brokers
Tyler Goodlet 5eb310cac9 ib: more fixes to try and get positioning correct..
Define and bind in the `tx_sort()` routine to be used by
`open_trade_ledger()` when datetime sorting trade records.

Further deats:
- always use the IB reported position size (since apparently our ledger
  based accounting is getting rekt on occasion..).
- better ib pos msg formatting when there's mismatches with the piker
  equivalent.
- never emit zero-size pos msgs (in terms of strict ib pos sizing) since
  when there's piker ledger sizing errors we'll send the wrong thing to
  the ems and its clients..
2023-07-19 16:46:36 -04:00
..
binance binance: spec `.ns_path: str` on pair structs 2023-07-15 17:37:56 -04:00
deribit Don't pass loglevel to trade dialog endpoint 2023-06-27 13:41:47 -04:00
ib ib: more fixes to try and get positioning correct.. 2023-07-19 16:46:36 -04:00
kraken .kraken: start new `.symbols` submod and move symcache and search stuff there 2023-07-17 16:20:11 -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 Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -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