piker/piker/data
Tyler Goodlet 3a4794e9d1 Backward-compat: don't require `'lot_tick_size'`
In order to support existing `pps.toml` files in the wild which don't
have the `asset_type, price_tick_size, lot_tick_size` fields, we need to
only optionally read them and instead expect that backends will write
the fields going forward (coming in follow patches).

Further this makes some small asset-size (vlm accounting) quantization
related adjustments:
- rename `Symbol.decimal_quant()` -> `.quantize_size()` since that is
  explicitly what this method is doing.
- and expect an input `size: float` which we cast to decimal instead of
  doing it inside the `.calc_size()` caller code.
- drop `Symbol.iterfqsns()` which wasn't being used anywhere at all..

Additionally, this drafts out a new replacement market-trading-pair data
type to eventually replace `.data._source.Symbol` -> `MktPair` which we
aren't using yet, but serves as the documentation-driven motivator ;)
and, it relates to https://github.com/pikers/piker/issues/467.
2023-03-02 19:22:19 -05:00
..
__init__.py Move `brokerd` service task to root `.data` mod 2023-01-13 13:21:49 -05:00
_ahab.py Minor style changes and removed unnecesary comments 2023-02-24 15:11:15 -03:00
_formatters.py Add cached refs to last 1d xy outputs 2023-02-13 12:27:58 -05:00
_m4.py Comment bad x-range bp for now 2023-02-13 12:27:58 -05:00
_normalize.py A `size` field in ticks is optional 2022-07-19 09:41:37 -04:00
_pathops.py Fix return type annot for `slice_from_time()` 2023-02-13 12:27:58 -05:00
_sampling.py Enable backpressure in an effort to prevent bootup overruns 2023-01-30 11:45:29 -05:00
_sharedmem.py Use new public lifetime-stack class attr 2022-09-12 20:24:56 -04:00
_source.py Backward-compat: don't require `'lot_tick_size'` 2023-03-02 19:22:19 -05:00
_web_bs.py Use recon set on stack closing during reconnect 2023-01-13 13:21:15 -05:00
cli.py Add back fqsn passthrough and feed opening 2022-05-09 11:15:14 -04:00
elastic.py Minor style changes and removed unnecesary comments 2023-02-24 15:11:15 -03:00
feed.py Add backpressure setting back as it wasn't altering test behaviour 2023-02-28 13:51:47 -05:00
flows.py Drop `Flume.index_stream()`, `._sampling.open_sample_stream()` replaces it 2023-02-13 12:27:58 -05:00
ingest.py Move feed api(s) into new submodule 2021-04-15 10:43:29 -04:00
marketstore.py Skip zero test and change use Path when creating a config folder in marketstore 2023-02-28 13:51:47 -05:00
types.py Just drop the pretty repr from our struct for now 2023-01-10 11:09:19 -05:00