Build a trader bot which looks at sentiment of live news events and trades appropriately.
- Create a virtual environment
conda create -n trader python=3.10
- Activate it
conda activate trader
- Install initial deps
pip install lumibot timedelta alpaca-trade-api
- Install transformers and friends
pip install torch torchvision torchaudio transformers
- Update the
API_KEY
andAPI_SECRET
with values from your Alpaca account - Run the bot
python tradingbot.py
N.B. Torch installation instructions will vary depending on your operating system and hardware. See here for more: PyTorch Installation Instructions
# Other References π
-Lumibot:trading bot library, makes lifecycle stuff easier .
π¨πΎβπ» Author: Nick Renotte
π
Version: 1.x
π License: This project is licensed under the MIT License