454b445b4b
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! |
||
---|---|---|
.github/workflows | ||
piker | ||
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.py |
README.rst
piker
trading gear for hackers.
piker
is an attempt at a pro-grade, broker agnostic, next-gen FOSS toolset for real-time trading and financial analysis targetted at hardcore Linux users.
it tries to use as much bleeding edge tech as possible including (but not limited to):
- latest Python for glue and business logic
- trio for structured concurrency
- tractor for distributed, multi-core, real-time streaming
- marketstore for historical and real-time tick data persistence and sharing
- techtonicdb for L2 book storage
- Qt for pristine high performance UIs
- pyqtgraph for real-time charting
numpy
andnumba
for fast numerics
Focus and Features:
- zero web
- zero pump
- zero "backtesting" (aka yabf)
- zero "cloud"
- 100% federated: your code, your hardware, your broker's data feeds
- privacy
- broker/exchange agnostic
- built on a structured concurrent actor model
- production grade, highly attractive native UIs
- expected to be used from tiling wms
- sophisticated rt charting
- emphasis on collaboration through UI and data sharing
- zero interest in adoption by suits
- not built for sale; built for people
- no corporate friendly license, ever.
fitting with these tenets, we're always open to new framework suggestions and ideas.
building the best looking, most reliable, keyboard friendly trading platform is the dream. feel free to pipe in with your ideas and quiffs.
Install
piker
is currently under heavy pre-alpha development and as such should be cloned from this repo and hacked on directly.
A couple bleeding edge components are being used atm pertaining to new components within trio.
For a development install:
git clone git@github.com:pikers/piker.git
cd piker
pip install -e .
Broker Support
For live data feeds the in-progress set of supported brokers is:
- Questrade which comes with effectively free L1
- IB via
ib_insync
- Webull via the reverse engineered public API
- Kraken for crypto over their public websocket API
If you want your broker supported and they have an API let us know.
Check out our charts
bet you weren't expecting this from the foss bby:
piker -b kraken chart XBTUSD
If anyone asks you what this project is about
tell them it's a broken crypto trading platform that doesn't scale.
How do i get involved?
coming soon.