This tutorial will teach you how to connect to and use the Alpaca Markets API to trade stocks and stream stock market data.
Link to Alpaca docs with which this tutorial is based on:
alpaca.markets/sdks/python/getting_started.html
🐍 How To Setup and Run a Python File:
Windows: • How to Install Python 3.11.4 on Windows 11...
Mac: • Setup Python Using Visual Studio Code On M...
Linux: • How to run a Python script On Ubuntu 22.04...
⏱️Timestamps:
00:00 What You're Learning
00:15 Pre-requisites
01:06 Setup your Alpaca Account for API Usage
02:23 Setup Dev Environment And Pip Install
04:02 Connect to the Alpaca API using Python Code And Get Account Info
06:15 Get Historical Data
11:35 Create First Market And Limit Orders
19:53 Get, Cancel and Manage Open Orders
27:50 Stream Data in Real Tim
コメント