Skip to content

Latest commit

 

History

History
66 lines (54 loc) · 1.23 KB

README.md

File metadata and controls

66 lines (54 loc) · 1.23 KB

Quantify

Setup

Install Quantify

- If you are developing Quantify

  • Clone Quantify
foo@bar:~$ git clone https://github.com/GreenPlanet-Capital/Quantify
foo@bar:~$ cd Quantify
  • Create a virtual environment (highly recommended)
foo@bar:~$ python3 -m venv env
foo@bar:~$ source env/bin/activate 
  • Install Quantify in developer mode (edit mode i.e any changes to code are automatically reflected in the installation)
foo@bar:~$ pip3 install -e .

- If you are using Quantify as an app

  • Create a virtual environment (highly recommended)
foo@bar:~$ python3 -m venv env
foo@bar:~$ source env/bin/activate 
  • Install Quantify
foo@bar:~$ pip3 install git+https://github.com/GreenPlanet-Capital/Quantify@main

Setup your API Keys

foo@bar:~$ datamgr set api-keys Alpaca AlpacaKey <public-key-here> AlpacaSecret <private-key-here>

Quantify App

foo@bar:~$ quantify # opens a shell for Quantify
Quantify 0.0.0

(q)>
Quantify 0.0.0

(q)> help
Commands:
======================
run  set  show  track  untrack

Robinhood Integration

foo@bar:~$ touch creds.ini
[robinhood]
email = EMAIL_HERE
password = PASSWORD_HERE