flaking8
This commit is contained in:
parent
3d37c5d767
commit
74ca34f2de
@ -164,7 +164,6 @@ class Edge():
|
|||||||
'strategy stoploss is returned instead.')
|
'strategy stoploss is returned instead.')
|
||||||
return self.strategy.stoploss
|
return self.strategy.stoploss
|
||||||
|
|
||||||
|
|
||||||
def adjust(self, pairs) -> list:
|
def adjust(self, pairs) -> list:
|
||||||
"""
|
"""
|
||||||
Filters out and sorts "pairs" according to Edge calculated pairs
|
Filters out and sorts "pairs" according to Edge calculated pairs
|
||||||
|
@ -163,6 +163,7 @@ def test_nonexisting_stoploss(mocker, default_conf):
|
|||||||
|
|
||||||
assert edge.stoploss('N/O') == -0.1
|
assert edge.stoploss('N/O') == -0.1
|
||||||
|
|
||||||
|
|
||||||
def _validate_ohlc(buy_ohlc_sell_matrice):
|
def _validate_ohlc(buy_ohlc_sell_matrice):
|
||||||
for index, ohlc in enumerate(buy_ohlc_sell_matrice):
|
for index, ohlc in enumerate(buy_ohlc_sell_matrice):
|
||||||
# if not high < open < low or not high < close < low
|
# if not high < open < low or not high < close < low
|
||||||
|
Loading…
Reference in New Issue
Block a user