# },
# {
# "method": "StoplossGuard",
- # "lookback_period_candles": fit_live_predictions_candles,
+ # "lookback_period_candles": int(fit_live_predictions_candles / 2),
# "trade_limit": 1,
- # "stop_duration_candles": fit_live_predictions_candles,
+ # "stop_duration_candles": int(fit_live_predictions_candles / 2),
# "only_per_pair": True,
# },
# ]
dataframe.get("do_predict") == 1,
dataframe.get(ACTION_COLUMN) == 1,
]
-
dataframe.loc[
reduce(lambda x, y: x & y, enter_long_conditions),
["enter_long", "enter_tag"],
dataframe.get("do_predict") == 1,
dataframe.get(ACTION_COLUMN) == 3,
]
-
dataframe.loc[
reduce(lambda x, y: x & y, enter_short_conditions),
["enter_short", "enter_tag"],