Overview of Web UI features (MVP-A)
mainThe current version of the Web UI provides the following capabilities for single-asset strategy backtesting:
- Market Data Selection: Fetch data for Shanghai, Shenzhen, and Beijing markets across Daily, Weekly, and Minute intervals via the
/api/v1/barsendpoint. - Strategy Configuration: Select from preset strategies (e.g., MA Crossover, MACD, Bollinger Bands, RSI, KDJ). The parameter forms are dynamically rendered based on the backend schema.
- Backtest Reporting:
- K-Line Chart: Main chart with buy/sell point annotations using ECharts
candlestickandmarkPoint. - Equity Curve: Dual-axis chart showing net value and drawdown.
- Performance Metrics: A table containing 19 performance indicators (covering returns, risk, and trade groupings).
- Trade Records: A detailed table of all executed trades.
- K-Line Chart: Main chart with buy/sell point annotations using ECharts