[V5] Fix a Number of V5 Bugs (#7707)

* fix a number of v5 bugs

* fix lint error

* more lint

* fixes for quantitative, technical, charting, famafrench for version bumps

---------

Co-authored-by: deeleeramone <>
This commit is contained in:
Danglewood
2026-09-28 01:43:14 -07:00
committed by GitHub
parent e89c89a7c8
commit 32a2870c70
81 changed files with 2147 additions and 1309 deletions

View File

@@ -1,12 +1,9 @@
"""Integration tests for the openbb-quantitative Python interface."""
import pytest
from openbb_core.app.model.obbject import OBBject
@pytest.fixture(scope="session")
def obb(pytestconfig):
"""Return the obb application object for the integration session."""
if pytestconfig.getoption("markexpr") != "not integration":
import openbb
@@ -136,7 +133,11 @@ def test_quantitative_stats_quantile(obb, prices_data):
@pytest.mark.integration
def test_quantitative_performance_omega_ratio(obb, prices_data):
result = obb.quantitative.performance.omega_ratio(data=prices_data, target="close")
returns = [
{"date": current["date"], "return": current["close"] / previous["close"] - 1}
for previous, current in zip(prices_data, prices_data[1:])
]
result = obb.quantitative.performance.omega_ratio(data=returns, target="return")
assert isinstance(result, OBBject)
assert result.results