mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-06 22:03:57 +00:00
fix test
This commit is contained in:
@@ -348,7 +348,7 @@ def test_calculate_expectancy(testdatadir):
|
|||||||
|
|
||||||
expectancy = calculate_expectancy(bt_data)
|
expectancy = calculate_expectancy(bt_data)
|
||||||
assert isinstance(expectancy, float)
|
assert isinstance(expectancy, float)
|
||||||
assert pytest.approx(expectancy) == 0.07151374226574791
|
assert pytest.approx(expectancy) == 5.820687070932315e-06
|
||||||
|
|
||||||
|
|
||||||
def test_calculate_expectancy_ratio(testdatadir):
|
def test_calculate_expectancy_ratio(testdatadir):
|
||||||
|
|||||||
Reference in New Issue
Block a user