# Give a custom agent market data

Chat assistants guess numbers when they lack data.

## What the agent does

Connects a market-data API as a tool so agents use real numbers.

## Prompt

Write a small Python function tool that fetches [daily prices/fundamentals] from [Alpha Vantage/Tiingo/FMP] for a ticker, with error handling and rate limiting, for use in the [OpenAI Agents SDK/LangGraph]. Read-only, no trading. Do not give buy/sell/hold advice or price targets; label facts vs. inferences and cite sources.

## Limitations

Free tiers have rate limits; data quality varies.

Works with: ChatGPT, Claude.

Automated trading can lose money; start on paper and set hard limits. Not financial advice.

Free check: https://theagentictrader.com/check?utm_source=md&utm_medium=agent&utm_campaign=use-cases-data-api-agent-tool
Weekly note on broker and agent changes: https://theagentictrader.com/subscribe?utm_source=md&utm_medium=agent&utm_campaign=use-cases-data-api-agent-tool
Desk Kit, $79 one-time. Full refund within 7 days: https://theagentictrader.com/desk-kit?utm_source=md&utm_medium=agent&utm_campaign=use-cases-data-api-agent-tool
