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 traderpip install lumibot timedelta alpaca-trade-api==3.1.1
pip install torch torchvision torchaudio transformersReplace API_KEY and API_SECRET in the code with your Alpaca account details.
python tradingbot.pyLicensed under the MIT License.