Adjust startup_candle_count of sample strategies
This commit is contained in:
parent
c09b641860
commit
164105acf2
@ -63,7 +63,7 @@ class {{ strategy }}(IStrategy):
|
|||||||
ignore_roi_if_buy_signal = False
|
ignore_roi_if_buy_signal = False
|
||||||
|
|
||||||
# Number of candles the strategy requires before producing valid signals
|
# Number of candles the strategy requires before producing valid signals
|
||||||
startup_candle_count: int = 20
|
startup_candle_count: int = 30
|
||||||
|
|
||||||
# Optional order type mapping.
|
# Optional order type mapping.
|
||||||
order_types = {
|
order_types = {
|
||||||
|
@ -64,7 +64,7 @@ class SampleStrategy(IStrategy):
|
|||||||
ignore_roi_if_buy_signal = False
|
ignore_roi_if_buy_signal = False
|
||||||
|
|
||||||
# Number of candles the strategy requires before producing valid signals
|
# Number of candles the strategy requires before producing valid signals
|
||||||
startup_candle_count: int = 20
|
startup_candle_count: int = 30
|
||||||
|
|
||||||
# Optional order type mapping.
|
# Optional order type mapping.
|
||||||
order_types = {
|
order_types = {
|
||||||
|
Loading…
Reference in New Issue
Block a user