Open Position
Header Parameters
Authorizationstring
Bearer token used to authenticate the request and authorize access to the resource.
Body Parameters
loginstring Required
Trading account login
Min length
1
symbolstring Required
Instrument symbol
orderSidestring Required
Position direction: BUY or SELL
Enum values:
BUYSELLvolumenumber Required
Volume in lots
slPricenumber
Initial stop-loss price
tpPricenumber
Initial take-profit price
Response
200
Object
OK
Response Attributes
statusstring Required
Enum values:
OKREJECTEDPARTIAL_SUCCESSorderIdstring
400
Object
Bad Request
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp
401
Object
Unauthorized
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp
403
Object
Forbidden
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp
500
Object
Internal Server Error
Response Attributes
statusstring
HTTP status code
titlestring
Error title
detailstring
Error detail
pathstring
Request path
timestampstring
Error timestamp