get_macro
Retrieve key macroeconomic indicators for crypto market analysis, including EUR/USD rates, gold prices, and US treasury yields to assess financial conditions and correlations.
Instructions
Get macro economic indicators relevant to crypto markets: EUR/USD exchange rate, gold price, and US treasury yields (2Y, 10Y, 30Y). A strengthening dollar (rising DXY) is typically bearish for crypto. Rising yields indicate tightening financial conditions. Gold and Bitcoin often move in correlation during risk-off events.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/macro.ts:14-16 (handler)The handler function for the get_macro tool, which calls the external API.
export async function handler(_args: z.infer<typeof schema>) { return apiGet("/api/v1/sentiment/macro"); } - src/tools/macro.ts:12-12 (schema)The schema for the get_macro tool, which takes no arguments.
export const schema = z.object({}); - src/tools/macro.ts:4-4 (registration)The registration name for the tool.
export const name = "get_macro";