joelrebel / tradingapp

AI Trading App

Home Page:https://tradingapp-ten.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI Trading App

Contributors Forks Stargazers Issues

About

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

Stack

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

Installation

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

Deployment

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.

Usage

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

To do

Fix bugs

Implement AI trading strategies

Links

Roadmap: Productboard

Discord: Discord

About

AI Trading App

https://tradingapp-ten.vercel.app/


Languages

Language:JavaScript 64.2%Language:Python 34.2%Language:CSS 1.0%Language:Shell 0.4%Language:HTML 0.2%