Skip to content
Projets

À propos

Script Python pour exporter les transactions Robinhood dans un fichier CSV

Autres projets

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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.

Explorer des projets similaires

Chargement…