Increase, decrease & reverse
Resize an open position or flip its direction.
Increase
curl -X POST $FLASH_API_URL/transaction-builder/increase-position -d '{
"marketSymbol": "SOL", "side": "LONG",
"sizeAmountUi": "0.5", "collateralAmountUi": "25.0", "owner": "<WALLET>"
}'Decrease
curl -X POST $FLASH_API_URL/transaction-builder/decrease-position -d '{
"marketSymbol": "SOL", "side": "LONG", "sizeAmountUi": "0.25", "owner": "<WALLET>"
}'Reverse
Last updated
Was this helpful?

