open_position
Open or increase leveraged perpetual futures positions on Solana using Jupiter Perpetuals. Specify asset (SOL/BTC/ETH), direction (Long/Short), USDC collateral, and leverage to execute trades.
Instructions
Submits a transaction to open a new position or increase an existing one. The protocol processes asynchronously (may take a few seconds) - use get_account_portfolio to verify. Returns transaction signature (for logging) and confirmation message.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | The asset to trade | |
| side | Yes | Direction of the trade | |
| collateral_amount | Yes | Amount of USDC to use as collateral (minimum: 10 USD, must be <= wallet balance) | |
| leverage | Yes | Leverage multiplier (added size = collateral * leverage) |