Pirate Trading Platform: Open source automated trading based on algorithmic market evaluation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
vis-site
LICENSE
README.md
Robinhood.py
db-csv.py
gather-to-db.py
gather.py
hunter.py
install.sh
killer.py
launch.sh
make-keys.py
manager.py
manual-shutoff.sh
requirements.txt
utils.py
vis-api-server.py

README.md

PTP - Pirate Trading Platform

2.0

Roadmap

Architecture

Data Flow

Trading Strategies

For Buying

For Selling

Install

./install.sh

Manual Install

Download redis

wget http://redis.googlecode.com/files/redis-1.2.5.tar.gz
tar -xvf redis-1.2.5.tar.gz
rm redis-1.2.5.tar.gz
cd redis-1.2.5
make

Config redis port to 6669

cd redis-1.2.5
cp redis.conf redis2.conf
cat redis2.conf | sed ’s/6367/6669/g’ > redis.conf
rm redis2.conf

Install pip requirements

pip install -r requirements.txt

Log into Robinhood

python make-keys.py

Using

./launch 'stock'
./launch 'TWTR'

In case of emergency

./manual-shutoff

Download data for analysis

RUN is default 1.

python download-db-csv.py RUN STOCK
eg. python download-db-csv.py 1 'TWTR'