piker/piker
Gud Boi 47d0cfa2ff Use `.ib.venues.is_venue_open()` in `.feed`
In `.ib.feed.stream_quotes()` specifically that is since time-range
checking code was moved to the new sub-mod.

Deats,
- drop import of old `is_current_time_in_range()` from `._util`
- change `get_bars()` sig: `end_dt`/`start_dt` to `datetime|None`
- comment-out `breakpoint()` in `open_history_client()`

Styling,
- add multiline style to conditionals and tuple unpacks
- fix type annotation: `Contract|None` vs `Contract | None`
- fix backticks in comment: `ib_insync` vs `ib_async`

(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-22 15:25:32 -05:00
..
accounting accounting.calc: `.error()` on bad txn-time fields.. 2026-01-07 14:05:23 -05:00
brokers Use `.ib.venues.is_venue_open()` in `.feed` 2026-02-22 15:25:32 -05:00
clearing `_ems`: tolerate and warn on already popped execs 2026-01-07 13:41:07 -05:00
cli Flip (back) `pikerd` to use TCP by default 2026-01-06 23:34:32 -05:00
data Clarify `register_with_sampler()` started type and vars 2026-01-30 18:38:45 -05:00
fsp Adjust to `trio`'s strict eg nurseries throughout! 2026-01-06 22:27:58 -05:00
service Port `.cli` & `.service` to latest `tractor` registry APIs 2026-01-06 22:27:58 -05:00
storage Replace assert with warn for no-gaps in `.storage.cli` 2026-02-20 16:33:53 -05:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp .tsp._history: add gap detection in backfill loop 2026-02-20 16:32:34 -05:00
ui Cleanups and doc tweaks to `.ui._fsp` 2026-02-01 19:28:14 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py `.config.get_app_dir()`: link to `click`'s orig impl on GH 2026-01-06 19:33:23 -05:00
log.py Group bcast errors as `Sampler.bcast_errors` 2025-02-21 16:24:54 -05:00
types.py Impl a sane (with nesting) `.types.Struct.pformat()` 2024-01-17 15:50:27 -05:00