import { z } from "zod";
import { apiGet } from "../client.js";
export const name = "get_macro";
export const description =
"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.";
export const schema = z.object({});
export async function handler(_args: z.infer<typeof schema>) {
return apiGet("/api/v1/sentiment/macro");
}