Join Data Science Interview MasterClass (in 3 weeks) 🚀 led by FAANG Data Scientists | Just 6 seats remaining...

Realtime News Stream

Realtime News Stream

Step 1 - Get API Keys from Alpaca

Alpaca is a trading platform where we will extract news and stock price data for our project

1. Create an Alpaca Account

2. Generate API Keys

  • Log in to your Alpaca account.
  • Go to "API Keys" section.
  • Click "Generate New Key".
  • Copy the provided API Key and Secret Key.

3. Create an .env file in your project directory

# ALPACA KEYS
ALPACA_API_KEY="PKD................"
ALPACA_SECRET_KEY="VR4................................"

Step 2 - Follow This Guide