Merge pull request #1511 from freqtrade/fix/more_settings_strategy

add more settings to strategy
This commit is contained in:
Misagh
2019-01-30 11:22:10 +01:00
committed by GitHub
5 changed files with 180 additions and 73 deletions

View File

@@ -45,7 +45,7 @@ class TestStrategy(IStrategy):
# trailing stoploss
trailing_stop = False
trailing_stop_positive = 0.01
trailing_stop_positive_offset = None # Disabled / not configured
trailing_stop_positive_offset = 0.0 # Disabled / not configured
# Optimal ticker interval for the strategy
ticker_interval = '5m'
@@ -53,6 +53,11 @@ class TestStrategy(IStrategy):
# run "populate_indicators" only for new candle
ta_on_candle = False
# Experimental settings (configuration will overide these if set)
use_sell_signal = False
use_profit_only = False
ignore_roi_if_buy_signal = False
# Optional order type mapping
order_types = {
'buy': 'limit',