setPositionMode
Switch between Hedge Mode and One-way Mode to manage cryptocurrency futures trading positions on the Aster exchange.
Instructions
Change user's position mode (Hedge Mode or One-way Mode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dualSidePosition | Yes | "true" for Hedge Mode; "false" for One-way Mode |
Input Schema (JSON Schema)
{
"properties": {
"dualSidePosition": {
"description": "\"true\" for Hedge Mode; \"false\" for One-way Mode",
"type": "string"
}
},
"required": [
"dualSidePosition"
],
"type": "object"
}