daa429f7ca
Break the chart update code for fsps into a new task (add a nursery) in new `spawn_fsps` (was `chart_from_fsps`) that async requests actor spawning and initial historical data (all CPU bound work). For multiple fsp subcharts this allows processing initial output in parallel (multi-core). We might want to wrap this in a "feed" like api eventually. Basically the fsp startup sequence is now: - start all requested fsp actors in an async loop and wait for historical data to arrive - loop through them all again to start update tasks which do chart graphics rendering Add separate x-axis objects for each new subchart (required by pyqtgraph); still need to fix hiding unnecessary ones. Add a `ChartPlotWidget._arrays: dict` for holding overlay data distinct from ohlc. Drop the sizing yrange to label heights for now since it's pretty much all gone to hell since adding L1 labels. Fix y-stickies to look up correct overly arrays. |
||
---|---|---|
.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.