Skip to content
Projetos

joshfraser/robinhood-to-csv

Ver no GitHub

Sobre

Script Python para exportar operações do Robinhood para um arquivo CSV

Outros projetos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
+1
em 15 dias
+1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Robinhood to CSV

A Python script to export your Robinhood trades to a .csv file. Based on the Robinhood library by Rohan Pai. Read the back story on my blog.

Works on Python 2.7+ and 3.5+

Install:

pip install -r requirements.txt

Run:

For exporting stock trades, run:

python csv-export.py

For exporting options trades, run:

python csv-options-export.py

For Device_Token go to your browser

Go to robinhood.com. Log out if you're already logged in
Right click > Inspect element
Click on Network tab
-Enter "token" in the input line at the top where it says "Filter URLs"
With the network monitor-er open, login to Robinhood
You'll see two new urls pop up that say "api.robinhood.com" and "/oauth2/token"
Click the one that's not 0 bytes in size
Click on Headers, then scroll down to the Request Payload section
Here, you'll see new JSON parameters for your login. What you'll need here is the device token.

Explore projetos relacionados

Carregando…