Learn how to trade stocks automatically with JavaScript code. In this tutorial, we use Alpaca and GPT-3 to create an algorithm in Node.js capable of making real stock trades. Follow me on Twitter to track performance https://twitter.com/fireship_dev

#ai #stocks #javascript

Resources

Source Code https://github.com/fireship-io/cramer-algo-trader
OpenAI GPT-3 https://openai.com
Alpaca Trading API https://alpaca.markets/
Algo Trading Explained https://www.investopedia.com/articles/active-trading/101014/basics-algorithmic-trading-concepts-and-examples.asp

Chapters

00:00 Inverse Cramer Strategy
01:05 Algo Trading Architecture
02:37 Initial Setup
02:54 Use OpenAI GPT-3 in Node.js
04:33 Scrape Tweets with Puppeteer
05:36 Make Trades with Alpaca
07:04 CRON Job Function
07:46 Apology

Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.

My Editor Settings

- Atom One Dark
- vscode-icons
- Fira Code Font

Topics Covered

- Algo trading with javascript
- How to trade stocks with code
- Jim Cramer roast
- How to use GPT3?
- How to use Alpaca API?
- Firebase Cloud Functions Cron Job
- API for stock trading