mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
More verbose error (#2389)
This commit is contained in:
@@ -39,6 +39,9 @@ def darkpool_ats_otc(
|
||||
External axes (2 axes are expected in the list), by default None
|
||||
"""
|
||||
ats, otc = finra_model.getTickerFINRAdata(symbol)
|
||||
if ats.empty:
|
||||
console.print("[red]Could not get data[/red]\n")
|
||||
return
|
||||
|
||||
if ats.empty and otc.empty:
|
||||
console.print("No ticker data found!")
|
||||
|
||||
Reference in New Issue
Block a user