Remove candle from backtest
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user