[BugFix] Fix integration tests (#6100)

* fix int tests

* fix obbject int tests

* fix quant tests

* fix index tests

* use python 3.10 instead

* remove cache

* end_date < start_date
This commit is contained in:
Henrique Joaquim
2024-02-20 14:03:43 +00:00
committed by GitHub
parent 9fee65ab68
commit 7d84690316
6 changed files with 32 additions and 38 deletions

View File

@@ -181,7 +181,13 @@ def test_quantitative_unitroot_test(params, data_type, obb):
"params, data_type",
[
(
{"data": "", "target": "close", "rfr": "", "window": "", "index": "date"},
{
"data": "",
"target": "close",
"rfr": "",
"window": "100",
"index": "date",
},
"equity",
),
(
@@ -189,7 +195,7 @@ def test_quantitative_unitroot_test(params, data_type, obb):
"data": "",
"target": "high",
"rfr": "0.5",
"window": "250",
"window": "100",
"index": "date",
},
"crypto",
@@ -214,7 +220,7 @@ def test_quantitative_sharpe_ratio(params, data_type, obb):
"data": "",
"target": "close",
"target_return": "",
"window": "",
"window": "100",
"adjusted": "",
"index": "date",
},
@@ -224,8 +230,8 @@ def test_quantitative_sharpe_ratio(params, data_type, obb):
{
"data": "",
"target": "close",
"target_return": "0.5",
"window": "275",
"target_return": "",
"window": "100",
"adjusted": "true",
"index": "date",
},