Commit Graph

8 Commits

Author SHA1 Message Date
Charlie Tonneslan 8db73d7440
Merge 4aeaf09a2c into 589b351f2a 2026-03-23 09:41:57 -04:00
Charlie Tonneslan 4aeaf09a2c Return error message instead of raising on unsupported indicators
When the LLM agent requests an indicator that isn't supported
(e.g. 'agt'), the function was raising a ValueError which crashed
the Market Analyst. Now it returns an error string that tells the
agent which indicators are available, allowing it to self-correct
and retry with a valid indicator.

Applied to both yfinance and alpha_vantage indicator functions.

Fixes #429
2026-03-23 09:41:40 -04:00
Yijia-Xiao 7cca9c924e fix: add exponential backoff retry for yfinance rate limits (#426) 2026-03-22 22:11:08 +00:00
Yijia-Xiao b0f9d180f9 fix: harden stock data parsing against malformed CSV and NaN values
Add _clean_dataframe() to normalize stock DataFrames before stockstats:
coerce invalid dates/prices, drop rows missing Close, fill price gaps.
Also add on_bad_lines="skip" to all cached CSV reads.
2026-03-15 18:29:43 +00:00
Yijia Xiao 3d040f8da4
feat: add yfinance support to accommodate community request for stability and quota 2026-02-03 22:27:20 +00:00
Edward Sun 7bb2941b07 optimized yfin fetching to be much faster 2025-10-06 19:58:01 -07:00
Edward Sun c07dcf026b added fallbacks for tools 2025-10-03 22:40:09 -07:00
luohy15 b01051b9f4 Switch default data vendor
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-30 12:43:27 +08:00