From 2ef2754ffd731cd141ca776b36dda5a2376cd384 Mon Sep 17 00:00:00 2001 From: misagh Date: Fri, 2 Nov 2018 19:55:41 +0100 Subject: [PATCH] flake8 happiness satisfied --- freqtrade/tests/edge/test_edge.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/tests/edge/test_edge.py b/freqtrade/tests/edge/test_edge.py index b1946bdb1..bb2af9bf8 100644 --- a/freqtrade/tests/edge/test_edge.py +++ b/freqtrade/tests/edge/test_edge.py @@ -272,7 +272,7 @@ def test_case_3(mocker, default_conf): stoploss = -0.01 # we don't want stoploss to be hit in this test ticker = [ # D=Date, B=Buy, O=Open, H=High, L=Low, C=Close, S=Sell - #D, B, O, H, L, C, S + # D, B, O, H, L, C, S [0, 1, 15, 20, 12, 17, 0], # -> no action [1, 0, 14, 15, 11, 12, 0], # -> enter to trade, stoploss hit [2, 1, 12, 25, 11, 20, 0], # -> no action @@ -301,7 +301,7 @@ def test_case_4(mocker, default_conf): stoploss = -0.03 # we don't want stoploss to be hit in this test ticker = [ # D=Date, B=Buy, O=Open, H=High, L=Low, C=Close, S=Sell - #D, B, O, H, L, C, S + # D, B, O, H, L, C, S [0, 1, 15, 20, 12, 17, 0], # -> no action [1, 0, 17, 22, 16.90, 17, 0], # -> enter to trade [2, 0, 16, 17, 14.4, 15.5, 0], # -> stoploss hit @@ -334,7 +334,7 @@ def test_case_5(mocker, default_conf): stoploss = -0.03 # we don't want stoploss to be hit in this test ticker = [ # D=Date, B=Buy, O=Open, H=High, L=Low, C=Close, S=Sell - #D, B, O, H, L, C, S + # D, B, O, H, L, C, S [0, 1, 15, 20, 12, 17, 0], # -> no action [1, 0, 17, 22, 16.90, 17, 0], # -> enter to trade [2, 0, 16, 17, 14.4, 15.5, 1], # -> stoploss hit and also sell signal