piker/piker/data
Tyler Goodlet bb6452b969 Further feed syncing fixes wrt to `Flumes`
Sync per-symbol sampler loop start to subscription registers such that
the loop can't start until the consumer's stream subscription is added;
the task-sync uses a `trio.Event`. This patch also drops a ton of
commented cruft.

Further adjustments needed to get parity with prior functionality:
- pass init msg 'symbol_info' field to the `Symbol.broker_info: dict`.
- ensure the `_FeedsBus._subscriptions` table uses the broker specific
  (without brokername suffix) as keys for lookup so that the sampler
  loop doesn't have to append in the brokername as a suffix.
- ensure the `open_feed_bus()` flumes-table-msg returned sent by
  `tractor.Context.started()` uses the `.to_msg()` form of all flume
  structs.
- ensure `maybe_open_feed()` uses `tractor.MsgStream.subscribe()` on all
  `Flume.stream`s on cache hits using the
  `tractor.trionics.gather_contexts()` helper.
2023-01-10 11:09:19 -05:00
..
__init__.py Fix broken import in ib backend 2021-05-20 19:34:45 -04:00
_ahab.py Drop status event processing at large 2022-08-01 14:08:45 -04:00
_normalize.py A `size` field in ticks is optional 2022-07-19 09:41:37 -04:00
_sampling.py Use new |-union style type annots in sampling routines 2023-01-10 11:09:19 -05:00
_sharedmem.py Use new public lifetime-stack class attr 2022-09-12 20:24:56 -04:00
_source.py Add `Symbol.fqsn: str` property 2023-01-10 11:09:19 -05:00
_web_bs.py Switch msgspec struct ordering to always have required fields first and optionals last 2023-01-09 18:43:50 -03:00
cli.py Add back fqsn passthrough and feed opening 2022-05-09 11:15:14 -04:00
feed.py Further feed syncing fixes wrt to `Flumes` 2023-01-10 11:09:19 -05:00
ingest.py Move feed api(s) into new submodule 2021-04-15 10:43:29 -04:00
marketstore.py add config dir on pikerd startup 2022-12-17 21:51:49 +00:00
types.py Parameterize duration, pprint msg 2022-10-07 14:13:52 -04:00