mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
Merge pull request #204 from DidierRLopes/fix-alpha-key
Fixing Alpha Vantage key
This commit is contained in:
@@ -487,7 +487,7 @@ def earnings(l_args, s_ticker):
|
||||
# Request EARNINGS data from Alpha Vantage API
|
||||
s_req = (
|
||||
"https://www.alphavantage.co/query?function=EARNINGS&"
|
||||
f"symbol={s_ticker}&apikey={cfg.API_KEY_FINANCIALMODELINGPREP}"
|
||||
f"symbol={s_ticker}&apikey={cfg.API_KEY_ALPHAVANTAGE}"
|
||||
)
|
||||
result = requests.get(s_req, stream=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user