Welcome to the AI Trading App!
It can connect to Alpaca to get positions and orders, sell and buy stocks.
- You can import collaborative trading strategies
- Currently implementing sentiment analysis
Credit for UI: OktarianTB
Update: trailing orders removed
Backend: NodeJS with Python Scripts, Material 5, ChatGPT, Claude
Frontend: React
Data: MongoDB
Devops: Github, Vercel, Render, Google Cloud Build, Gitguardian
Product Management: Productboard, Notion
Project Management: Jira
Make sure you have NodeJS installed.
Make sure you have NodeJS installed.
go to the server folder
cd server
Then install the required packages for the server with:
npm install
go to the client folder
cd ..
cd client
Install the required packages for the client with:
npm install
And run the client with:
npm run start
Open another terminal window and then run the server with:
npm run start
Then you have to set up the .env files for the server and the client: Go to the different services, create accounts and get the API keys
here /tradingapp/server/config/ you have an example file. Rename it .env and change the keys with yours
there /tradingapp/client/ you have an example file. Rename it .env and change the keys with yours
Code explanation: Video
The front is optimized to be deployed on Vercel. Don't forget to add env variables.
The back is optimized to be deployed on Render. Don't forget to add env variables.
You can edit you API keys in Settings
To buy stocks you can go in Search, search for a stock and buy
You can sell from the dashboard clicking on stocks ticker
You can implement a collaborative strategy that you found online in Strategies, copy paste it and add a name for the strategy. It will buy the stocks. This create a strategy portfolio that will show up on the dashboard
You can switch from paper trading to live trading in Config/Alpaca.js changing the apiurl
Fix bugs
Implement AI trading strategies
Roadmap: Productboard
Discord: Discord