piker/piker/brokers
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 kraken to backend list 2020-10-02 12:13:28 -04:00
_util.py Add symbol not found 2020-05-26 14:49:50 -04:00
api.py Start brokers.api module 2020-10-02 12:13:28 -04:00
cli.py Make search work with ib backend 2020-10-02 12:13:28 -04:00
config.py Use toml instead of ini for broker config 2019-03-15 19:37:04 -04:00
core.py Port to new data apis 2020-10-02 12:13:28 -04:00
data.py Port `DataFeed` api to broker specific normalizer routine 2020-10-02 12:13:28 -04:00
ib.py Add better shared mem writer task checking 2020-10-15 15:02:42 -04:00
kraken.py Add shm support to kraken backend 2020-10-02 12:13:50 -04:00
questrade.py Start brokers.api module 2020-10-02 12:13:28 -04:00
robinhood.py Add token-from-user toggles to token auth methods 2019-02-25 20:11:45 -05:00