Endpoint Parameters
-
Request parameters
Name Type Origin Description AccountKey AccountKey Body Gets or sets the account key. DisableForceOpen Boolean Body If set True, it clears the force open flag from position which allows default netting automatically from the opposite direction ExerciseMethod Obsolete ExerciseMethod Body Exercise method for FX Options, This is only relevant for FX Options, where you can update the Exercise method. PositionId String Route The position identifier. -
Response Parameters
View Response CodesName Type Description ErrorInfo StringErrorResponse Gets or sets the error information. PositionId String Id of newly created position -
Request Example
Request URL
PATCH /trade/v1/positions/1019942425
Request Body
{ "AccountKey": "LZTc7DdejXODf-WSl2aCyQ==", "ExerciseMethod": "Spot" }
-
Response Example
Response body
{ "PositionId": "1019942426" }