piker/piker/data
Tyler Goodlet 454b445b4b Add better shared mem writer task checking
If you have a common broker feed daemon then likely you don't want to
create superfluous shared mem buffers for the same symbol. This adds an
ad hoc little context manger which keeps a bool state of whether
a buffer writer task currently is running in this process. Before we
were checking the shared array token cache and **not** clearing it when
the writer task exited, resulting in incorrect writer/loader logic on
the next entry..

Really, we need a better set of SC semantics around the shared mem stuff
presuming there's only ever one writer per shared buffer at given time.
Hopefully that will come soon!
2020-10-15 15:02:42 -04:00
..
__init__.py Add better shared mem writer task checking 2020-10-15 15:02:42 -04:00
_buffer.py Add multi-symbol-buffer increment support 2020-10-02 12:13:50 -04:00
_normalize.py Add data._normalize.py ... 2020-10-02 12:13:50 -04:00
_sharedmem.py Always ask backend for ohlc dtype 2020-10-02 12:13:50 -04:00
_source.py Move _source under data package 2020-10-02 12:13:50 -04:00
cli.py Add marketstore cli stuff; not sure how this got missed?! 2020-09-25 16:08:15 -04:00
marketstore.py Port to new data apis 2020-10-02 12:13:28 -04:00