Theme switcher

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:
BUYSELL
volumenumber 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_SUCCESS
orderIdstring
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

POST

/

Select
1

Response

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot