Skip to main content
POST
/
v1
/
aster
/
fapi
/
v1
/
positionSide
/
dual
Change Position Mode
curl --request POST \
  --url https://api.hypereth.io/v1/aster/fapi/v1/positionSide/dual \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data dualSidePosition=true \
  --data recvWindow=123 \
  --data timestamp=123
{
  "code": 123,
  "msg": "<string>"
}

Authorizations

Authorization
string
header
required

HMAC SHA256 signature authentication for v1 endpoints

Body

application/x-www-form-urlencoded
dualSidePosition
enum<string>
required
Available options:
true,
false
timestamp
integer
required
recvWindow
integer

Response

200 - application/json

Position mode changed successfully

code
integer
msg
string