Skip to content

Haxodrat/trading-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trading-bot

Description

A machine learning trading bot that uses PyTorch, Alpaca Trading API, and lumibot to make predictions and profitable trades based on recent news grabbed by the alpaca news api.

Getting Started

1. Clone the repo.

git clone https://github.com/Haxodrat/trading-bot.git

2. Install the pytorch package/dependencies.

pip install install torch torchvision torchaudio

3. Install the apis and other libraries.

pip install timedelta
pip install alpaca-trade-api
pip install lumibot

3. Run the model.

python tradingbot.py

4. Use the model to make trades within the sample dates.

# Change the start and end dates.
python tradingbot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages