From 8bb5c2c91bda714da8c078fe2f9d3f6772f47321 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 20 Feb 2023 07:20:22 +0000 Subject: [PATCH] Remove empty functions from checks --- core/trading/checks.py | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/core/trading/checks.py b/core/trading/checks.py index d7b5abd..2b0fc80 100644 --- a/core/trading/checks.py +++ b/core/trading/checks.py @@ -7,10 +7,6 @@ from core.util import logs log = logs.get_logger("checks") -def run_checks(strategy, x): - pass - - def within_trading_times(strategy, ts=None): if not ts: ts = datetime.utcnow() @@ -48,10 +44,6 @@ def within_callback_price_deviation(strategy, price, current_price): return False -def within_max_loss(strategy): - pass - - def within_trends(strategy, symbol, direction): if strategy.trend_signals.exists(): if strategy.trends is None: @@ -85,27 +77,3 @@ def within_trends(strategy, symbol, direction): else: log.debug("No trend signals configured") return True - - -def within_position_size(strategy): - pass - - -def within_protection(strategy): - pass - - -def within_max_open_trades(strategy): - pass - - -def within_max_open_trades_per_asset(strategy): - pass - - -def within_max_risk(strategy): - pass - - -def within_crossfilter(strategy): - pass