Skip to content

Latest commit

 

History

History
executable file
·
56 lines (35 loc) · 868 Bytes

README.md

File metadata and controls

executable file
·
56 lines (35 loc) · 868 Bytes

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'