Build a trader bot which looks at sentiment of live news events and trades appropriately.
conda create -n trader python=3.10
conda activate trader
pip install lumibot timedelta alpaca-trade-api==3.1.1
pip install torch torchvision torchaudio transformers
API_KEY
and API_SECRET
with values from your Alpaca account python tradingbot.py
N.B. Torch installation instructions will vary depending on your operating system and hardware. See here for more: PyTorch Installation Instructions
If you're getting an SSL error when you attempt to call out to the Alpaca Trading api, you'll need to install the required SSL certificates into your machine.
.cer
-Lumibot:trading bot library, makes lifecycle stuff easier .
π¨πΎβπ» Author: Nick Renotte
π
Version: 1.x
π License: This project is licensed under the MIT License