mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
fix test
This commit is contained in:
parent
ee3b69ea63
commit
3dd33cde00
|
@ -348,7 +348,7 @@ def test_calculate_expectancy(testdatadir):
|
|||
|
||||
expectancy = calculate_expectancy(bt_data)
|
||||
assert isinstance(expectancy, float)
|
||||
assert pytest.approx(expectancy) == 0.07151374226574791
|
||||
assert pytest.approx(expectancy) == 5.820687070932315e-06
|
||||
|
||||
|
||||
def test_calculate_expectancy_ratio(testdatadir):
|
||||
|
|
Loading…
Reference in New Issue
Block a user