mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Fix stocks/fa/fraud command (#4469)
* move tradier to data providers * key not sent´ * black
This commit is contained in:
@@ -620,7 +620,10 @@ def get_fraud_ratios(symbol: str, detail: bool = False) -> pd.DataFrame:
|
||||
"""
|
||||
|
||||
try:
|
||||
fd = FundamentalData(key=get_current_user().credentials, output_format="pandas")
|
||||
fd = FundamentalData(
|
||||
key=get_current_user().credentials.API_KEY_ALPHAVANTAGE,
|
||||
output_format="pandas",
|
||||
)
|
||||
# pylint: disable=unbalanced-tuple-unpacking
|
||||
df_cf, _ = fd.get_cash_flow_annual(symbol=symbol)
|
||||
df_bs, _ = fd.get_balance_sheet_annual(symbol=symbol)
|
||||
|
||||
Reference in New Issue
Block a user