Add startup_candle_count to sample strategy

pull/2430/head
Matthias 7 years ago
parent 6382a4cd04
commit 5c2682e2c9

@ -39,7 +39,7 @@ class DefaultStrategy(IStrategy):
'stoploss_on_exchange': False
}
# Count of candles the strategy requires before producing valid signals
# Number of candles the strategy requires before producing valid signals
startup_candle_count: int = 20
# Optional time in force for orders

@ -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',

Loading…
Cancel
Save