the FOSS computational trading platform (for non-tinas..) https://github.com/pikers/piker
Go to file
Tyler Goodlet 8544c22cdc Change `Client.symbols()` to `symbol_data()`
Make `symbol_data()` a common backend API method for looking up
auxiliary ticker/symbol data from brokers. It seems most have such
a call/endpoint.
2018-03-27 16:24:57 -04:00
piker Change `Client.symbols()` to `symbol_data()` 2018-03-27 16:24:57 -04:00
.gitignore Initial commit 2018-01-15 22:58:02 -05:00
MANIFEST.in Extend install docs 2018-02-15 13:33:53 -05:00
README.rst Update readme for robinhood usage 2018-03-21 17:32:32 -04:00
requirements.txt Update readme; use async kivy branch 2018-02-12 10:55:04 -05:00
setup.py Update readme; use async kivy branch 2018-02-12 10:55:04 -05:00

README.rst

piker

Anti-fragile trading gear for hackers, scientists, stay-at-home quants and underpants warriors.

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 pip and virtualenv. For a development install:

git clone git@github.com:pikers/piker.git
cd piker
virtualenv env
source ./env/bin/activate
pip install cython
pip install -e ./ -r requirements.txt

To start the real-time index ETF watchlist:

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

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.

For ubuntu this looks like:

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install -y \
    build-essential \
    python3.6 \
    python3.6-dev \
    ffmpeg \
    libsdl2-dev \
    libsdl2-image-dev \
    libsdl2-mixer-dev \
    libsdl2-ttf-dev \
    libportmidi-dev \
    libswscale-dev \
    libavformat-dev \
    libavcodec-dev \
    zlib1g-dev

# then to create your virtualenv with py3.6
virtualenv -p $(which python3.6) env

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.