2.6 KiB
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.
It tries to use as much cutting edge tech as possible including (but not limited to):
Also, 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 async ports of libraries for use with trio.
Before installing make sure you have pipenv and have installed python3.7
as well as kivy source build dependencies since currently there's reliance on an async development branch.
kivy dependencies
On Archlinux you need the following dependencies:
pacman -S python-docutils gstreamer sdl2_ttf sdl2_mixer sdl2_image xclip
To manually install the async branch of kivy
from github do (though this should be done as part of the pipenv install
below):
pipenv install -e 'git+git://github.com/matham/kivy.git@async-loop#egg=kivy'
For a development install:
git clone git@github.com:pikers/piker.git
cd piker
pipenv install --pre -e .
pipenv shell
Broker Support
For live data feeds the only fully functional broker at the moment is Questrade. Eventual support is in the works for IB, TD Ameritrade and IEX. If you want your broker supported and they have an API let us know.
Play with some UIs
To start the real-time index monitor with the questrade backend:
piker -l info monitor indexes
If you want to see super granular price changes, increase the broker quote query rate
with -r
:
piker monitor indexes -r 10
It is also possible to run the broker data feed micro service as a daemon:
pikerd -l info
Then start the client app as normal:
piker monitor indexes