Remove candle from backtest

This commit is contained in:
2025-07-08 23:36:21 +07:00
parent 3439f13156
commit 9c01dce461
13 changed files with 367 additions and 68 deletions

View File

@@ -213,7 +213,8 @@ public class BacktestController : BaseController
request.StartDate,
request.EndDate,
user,
request.Save);
request.Save,
request.WithCandles);
await NotifyBacktesingSubscriberAsync(backtestResult);
@@ -274,4 +275,10 @@ public class RunBacktestRequest
/// Whether to save the backtest results
/// </summary>
public bool Save { get; set; } = false;
/// <summary>
/// Whether to include candles and indicators values in the response.
/// Set to false to reduce response size dramatically.
/// </summary>
public bool WithCandles { get; set; } = false;
}