You should follow the project instruction first to have a fully working service
- Install NVM
- Node Version Manager(NVM)
- Installation & Usage : https://github.com/nvm-sh/nvm#installing-and-updating
- Install node of 16.14.0 version using NVM
nvm install 16.14.0nvm use 16.14.0- https://github.com/nvm-sh/nvm#usage
- Clone this repository
git clone https://github.com/AutoBuySell/AT_V0.git
- Move into the cloned folder
- Install node dependency environments
npm i
- Set .env file
ALPACA_PAPER_ENDPOINT=https://paper-api.alpaca.markets
ALPACA_PAPER_KEY=XXXXXXXXXXXXXX <= enter your key from Alpaca
ALPACA_PAPER_KEY_SECRET=XXXXXXXXXXXXXXXXXXXX <= enter your key secret
ALPACA_HISTORY_DATA_URL=https://data.alpaca.markets/v2
NEXT_PUBLIC_DATA_SERVER_URL=http://localhost:8000
NEXT_PUBLIC_BACKEND_SERVER_URL=http://localhost:8001- Make data folder
- Make 'data' folder in the root folder
- Make 'target_company.csv' file in the 'data' folder
- Write 'target_company.csv' file with your stock symbols in interest
Symbol,Name,Judge TSLA,Tesla,1 MSFT,Microsoft,1 META,Meta platforms,1 NVDA,Nvidia,1
- Start server
npm run dev