increase_collateral
Add more collateral to an open position to lower liquidation risk and prevent forced closure.
Instructions
Add more collateral to an existing position to reduce liquidation risk. Requires PRIVATE_KEY in .env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Collateral amount to add (raw integer with token decimals) | |
| positionId | Yes | The position ID to add collateral to | |
| marketIndex | Yes | The market index the position belongs to. Use get_positions to find the marketIndex for each position. |