Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Algorithmic trading on Alpaca's Platform - Deep Dive
Rating: 4.6 out of 5(211 ratings)
1,649 students

Algorithmic trading on Alpaca's Platform - Deep Dive

Advanced course on Implementing algorithmic trading strategies using Alpaca's API
Last updated 11/2022
English
English [Auto],

What you'll learn

  • Algorithmic Trading
  • Alpaca's API
  • REST based API architecture
  • Handling Websocket based architecture
  • Multi threading application in algorithmic trading
  • Deploying strategies on cloud (AWS EC2)

Course content

11 sections90 lectures13h 28m total length
  • API Trading Intro7:51

    Explore Alpaca's commission-free, API-only platform and see how API trading replaces terminals with direct broker-to-exchange connections. Learn about paper trading, US stocks focus, and benefits of faster, scalable execution.

  • Signing Up4:52

    Sign up for Alpaca to access commission-free API, free testing, real market data, and paper trading with $100,000 fake money; verify via email and generate API keys.

  • What, How & Why of API Connections7:47

    Explore how http and WebSocket connections establish sessions, the pull-versus-push data flow, and how Alpaca's API delivers static and streaming market data.

  • Getting Anaconda Python Distribution5:49

    Install the Anaconda distribution, use the Anaconda Prompt or terminal to install packages with pip or conda, and open Spyder or Jupiter notebook to write and run Python code.

  • Connecting to Alpaca using API10:13

    Connect to Alpaca api with Python requests and the proper endpoint. Create and store headers from your api key and secret, then authenticate.

  • Clarification on v1 API vs v2 API4:15

    Explore the differences between Alpaca API v1 and v2 for historical and streaming market data, with introductions, updated code, and guidance for navigating both endpoints.

  • V1 API Important Notice {Please Read}0:28

Requirements

  • Basic python skills (should be familiar with data types, data structures, loops, functions, installing and importing libraries etc.)
  • Basic familiarity with finance/trading

Description

Alpaca has revolutionized trading by providing a commission free, API only stock trading platform. This course will help you gain thorough understanding about Alpaca's API and learn how to use it to implement trading strategy. The course will help you understand key concepts pertaining to API architecture (REST/HTTPS based API, Websocket connection etc.) and will prepare you well to build complex trading strategies on Alpaca's platform. You do not have to create a trading account with Alpaca to explore their API, as they also provide an excellent paper trading account which can help you test your strategies as well.

You can expect to gain the following skills from this course

  • What, Why & How of API trading

  • Alpaca's API fundamentals

  • Extracting historical data

  • Harnessing streaming tick level data

  • Incorporating technical indicators using python

  • Integrating Alpaca with TradingView charting

  • Backtesting strategies

  • End to End strategy design and deployment

  • Using multithreading to implement streaming data based strategies

  • Sqlite database management

  • Backtesting strategies

  • Deploying and running strategies on cloud (AWS EC2)


#############################################################################################

Important note - Course prerequisites:


Please note that this course requires basic python proficiency. At the minimum, you should be comfortable with:

  • basic python data types and format

  • basic python data structures such as list, dictionary, tuple etc.

  • how to create python functions

  • how to implement loops in python

  • installing and importing libraries 

In addition, basic familiarity with finance/trading concepts is also required. Although, I have devoted reasonable time explaining concepts like technical indicators, strategy design, KPIs, risk management etc., some prior experience using these concepts would be very beneficial.

#############################################################################################

Who this course is for:

  • Traders looking to automate their strategies on Alpaca's platform
  • Anyone interested in Algorithmic trading