AI Algorithmic Trading Bot

I wanted to get first-hand experience with algotrading using Python so I spent a few months going over some tutorials on YouTube and reading through Alpaca and Lumibot documentation. The trading strategy was to trade stocks based on the ticker’s news sentiment each day, buying if it was “good” news and selling if it was “bad” news. This sentiment was determined by using PyTorch and Hugging Face models. Lumibot was used to backtest the strategy and call Alpaca to execute the trades.

In reality, this probably won’t be an effective strategy since the news would most likely already be priced in, but it was still a fun learning experience to see how I can creatively use these tools to position my investment strategies.




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Smart Debt Settler
  • MultiModal AI Assistant, My GPT-4o Alternative
  • HKUST Corporate Consulting Project Sponsored by JPMorgan
  • HKUST Corporate Prototyping Project
  • Project Melo Summit