AlpacaJavaBacktest is a simple and fast Stock Trading Algorithm Backtesting Library for Java that uses Polygon for historic quotes, trades, aggregates, and other data points to give trading algorithm developers a more accurate understanding of what their algorithm might do in a live market. You should have a live trading account with Alpaca in order to get a free API key for Polygon to use this backtesting library. This Library uses alpaca-java exclusively as it contains a Polygon Java API and useful POJO classes.
- Finish 1.0
- Fetching and caching data via BacktestData
- Running a backtest with record
- Internal website that hosts interactive charts via Plotly for P&L charts, comparison of SPX, executed trades displayed on graph, etc.
- Allow for parallel backtests
- Save/Load previous backtests to display on website
- Historical ETB and HTB ticker data
- Implement Time updates (e.g. every minute, hour, or day update)
- More stats (like shown in the 'stats' output here)