modifyPositionMargin
Adjust margin for isolated cryptocurrency trading positions on Aster Finance to manage risk exposure by adding or reducing collateral.
Instructions
Modify isolated position margin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| positionSide | No | ||
| symbol | Yes | ||
| type | Yes | 1: Add, 2: Reduce |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"type": "number"
},
"positionSide": {
"enum": [
"BOTH",
"LONG",
"SHORT"
],
"type": "string"
},
"symbol": {
"type": "string"
},
"type": {
"description": "1: Add, 2: Reduce",
"enum": [
1,
2
],
"type": "number"
}
},
"required": [
"symbol",
"amount",
"type"
],
"type": "object"
}