fix(yahoo): report an unreachable Yahoo on insider transactions as unavailable

- the outage raised for an empty insider table reaches the router as a vendor error, not as a symbol with no data
This commit is contained in:
Yijia-Xiao
2026-09-24 05:00:36 +00:00
parent b176c9374b
commit bbd4d0413a
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -184,6 +184,8 @@ def get_insider_transactions(
return f"# Insider Transactions data for {canonical}\n" + _TRANSACTION_DATE_VINTAGE + data.to_csv()
except VendorError:
raise
except Exception as e:
raise NoMarketDataError(ticker, canonical, f"insider transactions unavailable: {e}") from e