Get All Stock Market Data Your Trading Bot Needs from Alpaca Markets
TradeOxy TradeOxy
1.55K subscribers
517 views
13

 Published On Mar 22, 2024

The US Stock Market is the world's largest single asset market. When I recorded this series, it was worth $50.7 trillion dollars 🤯

In this episode, I show you how to get the historic data you need to build a trading bot to auto trade this massive market.

The video covers all the information you need to build the trading bot:
How to build a library to interact with Alpaca Markets
How to handle some common errors
How to format your data properly

All the code is shown, and in the references below you can access my open source tradeoxy-trading-bot to see the code in action.

If at any time you get stuck, then reach out to our Discord channel below and we'll be glad to help!

References:
Build Your Own Development Environment:    • Build Your Own Trading Bot Developmen...  
Alpaca Markets vs US Stocks: Get Your API Keys from Alpaca Markets:    • Alpaca Markets vs US Stocks: Get Your...  
Alpaca Markets vs US Stock Market: Secure Key Management With GitHub Codespaces:    • Alpaca Markets vs US Stock Market: Se...  
Discord Server:   / discord  
TradeOxy Trading Bot (Open Source): https://github.com/jimtin/tradeoxy-tr...
Alpaca Markets API Reference: https://docs.alpaca.markets/reference...
Alpaca Markets Raw API Reference: https://docs.alpaca.markets
Custom Trading Bot: www.tradeoxy.com

Chapters:
00:00 Introduction
00:10 Things you'll need
00:40 Updating requirements.txt
00:50 Adding the pandas library
01:04 Installing new libraries
01:28 Creating alpaca library
02:10 Adding API Keys
03:14 Base Alpaca Markets Query Function
04:07 Get Historic Candlesticks
05:58 Historic Candlestick function overview
06:56 Error handling
08:42 Retrieving Live Market Data
08:55 Creating app.py
09:58 Adding auto run function
10:41 Warning for HFT
12:40 Hyperscaling your analysis

💬 Follow & Chat with us
Discord:   / discord  
Twitter:   / tradeoxy  
Instagram:   / tradeoxy  
Facebook:   / tradeoxy  
LinkedIn:   / tradeoxy  
Telegram: https://t.me/tradeoxy_hq

show more

Share/Embed