get_arbitrage_opportunities
Detect cross-country arbitrage opportunities for cryptocurrencies by scanning price discrepancies between Chile, Colombia, and Peru markets, normalized to USDC with fee-aware calculations.
Instructions
Detects cross-country price discrepancies for a given asset across Buda's CLP, COP, and PEN markets, normalized to USDC. Fetches all relevant tickers, converts each local price to USDC using the current USDC-CLP / USDC-COP / USDC-PEN rates, then computes pairwise discrepancy percentages. Results above threshold_pct are returned sorted by opportunity size. Note: Buda taker fee is 0.8% per leg (~1.6% round-trip) — always deduct fees before acting on any discrepancy. Example: 'Is there an arbitrage opportunity for BTC between Chile and Peru right now?'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_currency | Yes | Base asset to scan (e.g. 'BTC', 'ETH', 'XRP'). | |
| threshold_pct | No | Minimum price discrepancy percentage to include in results (default: 0.5). Buda taker fee is 0.8% per leg, so a round-trip requires > 1.6% to be profitable. |