test cases added: force_stoploss by Edge

This commit is contained in:
misagh
2018-10-04 18:05:46 +02:00
parent b57d9edda8
commit 06d75a8bad
4 changed files with 118 additions and 2 deletions

View File

@@ -130,6 +130,8 @@ def test_process_expectancy(mocker, default_conf):
final = edge._process_expectancy(trades_df)
assert len(final) == 1
# TODO: check expectancy + win rate etc
def test_three_complete_trades(mocker, default_conf):
exchange = get_patched_exchange(mocker, default_conf)