botindex_hl_funding_arb
Identify funding rate arbitrage opportunities between Hyperliquid and major centralized exchanges to capture price differences.
Instructions
Funding rate arbitrage opportunities between Hyperliquid and major CEXs. $0.05
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:213-229 (handler)The tool 'botindex_hl_funding_arb' is registered dynamically based on the catalog fetched from the API. The handler logic uses `fetchBotindex` to call the corresponding API endpoint.
server.tool( tool.name, tool.description, zodSchema, async (args: Record<string, any>) => { const params: Record<string, string> = {}; if (tool.params) { for (const p of tool.params) { if (args[p.name] !== undefined) { params[p.name] = String(args[p.name]); } } } const data = await fetchBotindex(tool.path, params); return { content: [{ type: 'text', text: toToolText(data) }] }; }, );