mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-12-01 13:44:16 +00:00
equity.fundamental.dividends: allow filter by date (#5932)
* allow filter by date * ruff * pylint * fix tests --------- Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
This commit is contained in:
@@ -259,15 +259,36 @@ def test_equity_fundamental_historical_splits(params, obb):
|
||||
@parametrize(
|
||||
"params",
|
||||
[
|
||||
({"symbol": "AAPL"}),
|
||||
({"symbol": "AAPL", "provider": "fmp"}),
|
||||
(
|
||||
{
|
||||
"symbol": "AAPL",
|
||||
"start_date": "2021-01-01",
|
||||
"end_date": "2023-06-06",
|
||||
"limit": 100,
|
||||
"provider": "intrinio",
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"symbol": "AAPL",
|
||||
"start_date": "2021-01-01",
|
||||
"end_date": "2023-06-06",
|
||||
"provider": "fmp",
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"symbol": "AAPL",
|
||||
"limit": 3,
|
||||
"provider": "intrinio",
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"symbol": "AAPL",
|
||||
"provider": "fmp",
|
||||
}
|
||||
),
|
||||
],
|
||||
)
|
||||
@pytest.mark.integration
|
||||
|
||||
Reference in New Issue
Block a user