Table of Contents

Class TradeResult

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

The server's typed answer to a trade request (MT5 TradeResult).

public sealed class TradeResult
Inheritance
TradeResult
Inherited Members

Properties

Ask

Ask at execution.

Bid

Bid at execution.

Comment

The server's message (the refusal reason on failure).

DealTicket

ViiSync extra: the deal the request produced.

IsSuccess

ViiSync extra: true for REQUEST_EXECUTED, REQUEST_EXECUTED_PARTIALLY, ORDER_PLACED or DONE.

Last

Last price. Not set by ViiSync (0).

OpenPrice

Execution price (or the order price of a pending order).

PositionId

Position the request opened, closed or modified.

RequestId

ViiSync extra: the wire request id that correlated the answer.

Status

MT5 return code of the request.

TicketNumber

Order ticket the request created or acted on.

Time

ViiSync extra: server time of the answer (UTC).

Volume

Executed volume, MT5 units (1e-8 lot).