Skip to content

Commit

Permalink
[Feature] Add yfinance To equity.screener (#6949)
Browse files Browse the repository at this point in the history
* add yfinance to equity.screener

* add limit param with default of 200

* trailing comma
  • Loading branch information
deeleeramone authored Nov 25, 2024
1 parent 99b7614 commit 7aa7e09
Show file tree
Hide file tree
Showing 12 changed files with 6,613 additions and 27 deletions.
18 changes: 18 additions & 0 deletions openbb_platform/extensions/equity/integration/test_equity_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,24 @@ def test_equity_search(params, headers):
"provider": "finviz",
}
),
(
{
"country": "us",
"sector": "consumer_cyclical",
"industry": "auto_manufacturers",
"exchange": None,
"mktcap_min": 60000000000,
"mktcap_max": None,
"price_min": 10,
"price_max": None,
"volume_min": 5000000,
"volume_max": None,
"beta_min": None,
"beta_max": None,
"provider": "yfinance",
"limit": 200,
}
),
],
)
@pytest.mark.integration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,24 @@ def test_equity_search(params, obb):
"provider": "finviz",
}
),
(
{
"country": "us",
"sector": "consumer_cyclical",
"industry": "auto_manufacturers",
"exchange": None,
"mktcap_min": 60000000000,
"mktcap_max": None,
"price_min": 10,
"price_max": None,
"volume_min": 5000000,
"volume_max": None,
"beta_min": None,
"beta_max": None,
"provider": "yfinance",
"limit": 200,
}
),
],
)
@pytest.mark.integration
Expand Down
Loading

0 comments on commit 7aa7e09

Please sign in to comment.