This repository houses work that is a part of my series on algorithmic trading with Alpaca. I have been posting explanantions for the code here on both YouTube and Medium.
- Clone the repository
- Sign up for Alpaca and get API keys
- Insert your Alpaca API keys into a file called
.env
like this:
API_KEY=<insert API key>
SECRET_API_KEY=<insert secret API key>
- Run
npm install
- Run
node index.js