Open Funding Farm Position
open_funding_positionOpen a funding-farming position with hedged (delta-neutral) or directional (price-exposed) modes. Preview before confirming to place a real order.
Instructions
Open a funding-farming position on the best available market. mode='hedged': buy spot + short perp of equal size (delta-neutral, price-risk free, only works on spot-listed coins). mode='directional': single perp position following the funding sign (collects funding but IS exposed to price moves). max_usd caps the position size. Requires PACIFICA_API_KEY. IMPORTANT: this places a REAL order. First call with confirm=false (default) to preview; only call with confirm=true after the user explicitly approves. All orders carry builder code 'mustache' (attached only if the account approved it; otherwise the order still goes through without it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hedged | |
| confirm | No | ||
| max_usd | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |