SubscriptionsPosition

Triggered by: PositionsSubscribe.

Switched off by: PositionsUnsubscribe.

Response Type - SubscriptionsPosition.

Response Body Fields:

Parameter
Always returned
Description

position

the position ID (ticket) specified in the orde

is_entry

true is deal is entering to the market

price

the price at which the deal was executed

tp

price of take profit

sl

price of stop loss

volume

the volume of an order in lots

symbol

the symbol, for which the deal was executed

action

the action state for the order

profit

profit for the deal

type

can be 0 for buy and 1 for sell

swap

the swap value of a position in the account deposit currency.

The parameter action can be:

Value
Description

1

add

2

updated

3

deleted

Example:

Last updated