TraderBot is a conceptual trading bot designed to trade based on sentiment analysis from live news events. It uses AI models to assess news sentiment and automatically place trades through the Alpaca API.
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
Replace API_KEY
and API_SECRET
in the code with your Alpaca account details.
python tradingbot.py
Licensed under the MIT License.