mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
fix test
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user