Skip to content

feat: add multi-token comparison and historical price tools - #2

Open
ygd58 wants to merge 1 commit into
RitualChain:mainfrom
ygd58:feat/compare-tokens-and-price-history
Open

feat: add multi-token comparison and historical price tools#2
ygd58 wants to merge 1 commit into
RitualChain:mainfrom
ygd58:feat/compare-tokens-and-price-history

Conversation

@ygd58

@ygd58 ygd58 commented Jul 1, 2026

Copy link
Copy Markdown

Adds compareTokensTool and priceHistoryTool to expand agent capabilities beyond single-token live data.

- Add compareTokensTool: fetches market data for 2-5 tokens in a single
  CoinGecko API call, returns side-by-side price/marketcap/volume/change
- Add priceHistoryTool: fetches 1-365 days of historical price data,
  computes high/low/change% and returns a sparkline-ready sample array
- Register both tools in marketAgent alongside existing marketTool
- Both tools reuse the same rate-limit (429) and timeout error handling
  pattern established in the existing market-tool
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

@ygd58 is attempting to deploy a commit to the 0xBuns Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant