piker/piker/brokers
Gud Boi b1cb67d1bd Port `.ib` backend from `ib_insync` to `ib_async`
Migrate the IB broker backend to use `ib_async` (the actively maintained
fork) instead of the now stale, original `ib_insync` lib.

Deats,
- update `pyproject.toml` dep: drop `ib-insync` pin, add
  `ib-async>=2.1.0`.
- update lock file with `ib-async` and its new `aeventkit` dep (which
  i guess replaces `eventkit`).
- obvi, change all `ib_insync` imports to `ib_async` across `.ib.*`.
- update docs and select internal comments referencing the original lib.

Also,
- drop unused `ledger_dict` init in `_flex_reports.load_flex_trades()`.
- fix union type annot style: `dict | None` -> `dict|None`.
- strip `.tzinfo` from `lastTimeStamp` in `normalize()` to avoid
  IPC codec issues with `ib_async`'s `timezone.utc` injection.
- pop `'defaults'` from ticker data dict in `normalize()` to avoid
  non-serializable `timezone` objects and warning-log in such
  cases.

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-02-24 15:13:28 -05:00
..
binance Adjust type annots in binance and IB symbol mods 2026-02-23 13:41:00 -05:00
deribit Use `.trionics.collapse_eg()` in `.deribit.api` 2026-01-06 22:27:58 -05:00
ib Port `.ib` backend from `ib_insync` to `ib_async` 2026-02-24 15:13:28 -05:00
kraken Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
__init__.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
_daemon.py Drop info-level `.pause()`-es used while devving 2026-02-23 13:26:46 -05:00
_util.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
cli.py Pass `loglevel` down through `.data` callstack 2026-02-23 12:22:48 -05:00
core.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
data.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
kucoin.py Update to latest `KucoinMktPair` spec 2025-02-12 18:08:40 -05:00
questrade.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
robinhood.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00