Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Robinhood's Official Crypto API - Python Tutorial

Part Time Larry via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This tutorial explores the new Robinhood Crypto Trading API using Python. Learn how to set up the environment by getting code from Github and installing dependencies, create public and private keys, obtain a Robinhood API key, and run trade.py to access account information. Follow along with a walkthrough of the api.py wrapper class, discover how to retrieve trading pairs, check API permissions, get holdings, and view bid/ask prices. Master placing orders with proper payloads, view order history, and filter crypto orders by year. The video also includes a nostalgic look at past dogecoin and bitcoin purchases. Source code is available on Github for hands-on practice.

Syllabus

0:00 New Official Robinhood Crypto API
1:10 Getting the Code from Github and Installing Dependencies
2:43 Creating a public and private key, Getting a Robinhood API Key
5:20 Running trade.py and getting account info
5:43 Quick walkthrough of api.py and the wrapper class
8:38 Getting all trading pairs, checking API permissions
9:59 Getting holdings, getting a bid / ask
10:48 Placing an order, order payloads
13:08 Memory lane: old dogecoin and bitcoin purchases
14:30 Getting order history
15:33 Filtering to crypto orders in year 2019
16:15 Wrapping up, do you want to see more crypto stuff?

Taught by

Part Time Larry

Reviews

Start your review of Robinhood's Official Crypto API - Python Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.