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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| alpha_vantage.py | ||
| alpha_vantage_common.py | ||
| alpha_vantage_fundamentals.py | ||
| alpha_vantage_indicator.py | ||
| alpha_vantage_news.py | ||
| alpha_vantage_stock.py | ||
| config.py | ||
| interface.py | ||
| stockstats_utils.py | ||
| utils.py | ||
| y_finance.py | ||
| yfinance_news.py | ||