7fe62690b9
This gives a massive speedup when viewing large bar sets (think a day's worth of 5s bars) by using the `pg.functions.arrayToQPath()` "magic" binary array writing that is also used in `PlotCurveItem`. We're using this same (lower level) function directly to draw bars as part of one large path and it seems to be painting 15k (ish) bars with around 3ms `.paint()` latency. The only thing still a bit slow is the path array generation despite doing it with `numba`. Likely, either having multiple paths or, only regenerating the missing backing array elements should speed this up further to avoid slight delays when incrementing the bar step. This is of course a first draft and more cleanups are coming. |
||
---|---|---|
.github/workflows | ||
piker | ||
snippets | ||
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.py |
README.rst
piker
trading gear for hackers.
piker
is a broker agnostic, next-gen FOSS toolset for real-time trading targeted at hardcore Linux users.
we use as much bleeding edge tech as possible including (but not limited to):
- latest python for glue
- 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, cloud or "backtesting frameworks" (aka yabf)
- zero self promotion (aka pump); expected throughout the community
- 100% federated: your code, your hardware, your data feeds, your broker fills
- broker/exchange/asset-class agnostic
- privacy
- real-time financial signal processing from the ground up
- high quality, attractive, native UX with expected use in tiling wms
- sophisticated rt charting and data sharing facilities
- geared for collaboration within trader communities
- zero interest in adoption by suits; no corporate friendly license, ever.
- not built for sale; built for people
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
virtualenv env
source ./env/bin/activate
pip install -e .
broker Support
for live data feeds the in-progress set of supported brokers is:
- IB via
ib_insync
- questrade which comes with effectively free L1
- kraken for crypto over their public websocket API
coming soon...
- webull via the reverse engineered public API
- yahoo via yliveticker
- coinbase through websocket feed
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
you don't talk about it.
how do i get involved?
enter the matrix.
learning the code is to your benefit and acts as a filter for desired users; many alpha nuggets within.