Add startup_candle_count to sample strategy
This commit is contained in:
@@ -59,6 +59,9 @@ class SampleStrategy(IStrategy):
|
||||
sell_profit_only = False
|
||||
ignore_roi_if_buy_signal = False
|
||||
|
||||
# Number of candles the strategy requires before producing valid signals
|
||||
startup_candle_count: int = 20
|
||||
|
||||
# Optional order type mapping.
|
||||
order_types = {
|
||||
'buy': 'limit',
|
||||
|
Reference in New Issue
Block a user