2018-01-20 18:19:15 +00:00
|
|
|
piker
|
2018-02-15 18:33:53 +00:00
|
|
|
-----
|
|
|
|
Anti-fragile trading gear for hackers, scientists, stay-at-home quants and underpants warriors.
|
2018-01-27 06:52:24 +00:00
|
|
|
|
2018-04-11 04:10:45 +00:00
|
|
|
|pypi| |travis| |versions| |license| |docs|
|
|
|
|
|
|
|
|
.. |travis| image:: https://img.shields.io/travis/pikers/piker/master.svg
|
|
|
|
:target: https://travis-ci.org/pikers/piker
|
2018-01-27 06:52:24 +00:00
|
|
|
|
|
|
|
Install
|
|
|
|
*******
|
|
|
|
``piker`` is currently under heavy alpha development and as such should
|
|
|
|
be cloned from this repo and hacked on directly.
|
|
|
|
|
2018-02-15 18:33:53 +00:00
|
|
|
A couple bleeding edge components are being used atm pertaining to
|
|
|
|
async ports of libraries for use with `trio`_.
|
2018-02-12 15:55:04 +00:00
|
|
|
|
2018-03-28 19:22:39 +00:00
|
|
|
Before installing make sure you have `pipenv`_.
|
2018-02-15 18:33:53 +00:00
|
|
|
For a development install::
|
2018-02-12 15:55:04 +00:00
|
|
|
|
2018-02-12 17:46:56 +00:00
|
|
|
git clone git@github.com:pikers/piker.git
|
|
|
|
cd piker
|
2018-03-28 19:22:39 +00:00
|
|
|
pipenv install --dev -e .
|
|
|
|
pipenv shell
|
2018-02-12 15:55:04 +00:00
|
|
|
|
2018-03-21 21:32:32 +00:00
|
|
|
To start the real-time index ETF watchlist::
|
2018-02-12 15:55:04 +00:00
|
|
|
|
2018-03-21 21:32:32 +00:00
|
|
|
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
|
2018-02-12 15:55:04 +00:00
|
|
|
|
2018-01-27 06:52:24 +00:00
|
|
|
|
2018-04-18 18:03:59 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2018-02-15 18:33:53 +00:00
|
|
|
.. _trio: https://github.com/python-trio/trio
|
2018-03-28 19:22:39 +00:00
|
|
|
.. _pipenv: https://docs.pipenv.org/
|
2018-02-15 18:33:53 +00:00
|
|
|
|
|
|
|
Laggy distros
|
|
|
|
=============
|
|
|
|
For those running pop-culture distros that don't yet ship ``python3.6``
|
|
|
|
you'll need to install it as well as `kivy source build`_ dependencies
|
|
|
|
since currently there's reliance on an async development branch.
|
|
|
|
|
|
|
|
.. _kivy source build:
|
|
|
|
https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment
|
2018-01-27 06:52:24 +00:00
|
|
|
|
|
|
|
Tech
|
|
|
|
****
|
|
|
|
``piker`` is an attempt at a pro-grade, next-gen open source toolset
|
|
|
|
for trading and financial analysis. As such, it tries to use as much
|
|
|
|
cutting edge tech as possible including Python 3.6+ and ``trio``.
|