This isn't a library I built to solve a theoretical problem. It's a fix I built because real money was at risk. The trading bot I've been running a live QQQ/TQQQ momentum bot on Alpaca Markets.
It reads 1-minute bars, scores market structure using VWAP, SMA8, SMA21, SMA34, and momentum signals, then enters leveraged positions in TQQQ (bull) or SQQQ (bear) based on that score. The bot has retry log