Backtested paper trades
Trading Algorithm
A paper trading bot with backtesting and news based position sizing.

What it is
This was a personal project to learn automated trading. It fits a line to recent prices, decides when to buy or sell, runs against paper money through Alpaca, and can change position size based on news it scrapes.
How it works
- 1
The bot fits a line to recent price action and uses that to choose buy or sell points.
- 2
Trades go through Alpaca using paper money so nothing real is at risk.
- 3
Lumibot helped with backtesting and charts of past performance.
- 4
A scraping step reads news so sizing can change when new information shows up.