cd7d8d024d
So much changed to get this working for both stocks and options: - Index contracts by a new `ContractsKey` named tuple - Move to pushing lists of quotes instead of dicts since option subscriptions are often not identified by their "symbol" key and this makes it difficult at fan out time to know how a quote should be indexed and delivered. Instead add a special `key` entry to each quote dict which is the quote's subscription key. |
||
---|---|---|
piker | ||
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
MANIFEST.in | ||
Pipfile | ||
Pipfile.lock | ||
README.rst | ||
setup.py |
README.rst
piker
Trading gear for hackers.
Install
piker
is currently under heavy 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. For a development install:
git clone git@github.com:pikers/piker.git
cd piker
pipenv install --dev -e .
pipenv shell
To start the real-time index ETF watchlist with the robinhood backend:
piker watch indexes -l info
If you want to see super granular price changes, increase the broker quote query rate
with -r
:
piker watch indexes -l info -r 10
It is also possible to run the broker-client micro service as a daemon:
pikerd -l info
Then start the client app as normal:
piker watch indexes -l info
Laggy distros
For those running pop-culture distros that don't yet ship python3.7
you'll need to install it as well as kivy source build dependencies since currently there's reliance on an async development branch.
Tech
piker
is an attempt at a pro-grade, next-gen open source toolset for real-time trading and financial analysis.
It tries to use as much cutting edge tech as possible including (but not limited to):
- Python 3.7+
trio
tractor