Table of Contents

Class TradeRequest

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

A trade request as sent (MT5 TradeRequest).

public sealed class TradeRequest
Inheritance
TradeRequest
Inherited Members

Properties

ByCloseTicket

The opposite position of a close-by.

Comment

Comment.

Currency

Currency. Not set by ViiSync (empty).

DealTicket

Deal ticket. Not set by ViiSync (0).

Deviation

Allowed deviation in points.

Digits

Digits. Not set by ViiSync (0).

ExpertId

Magic number.

ExpirationTime

Expiry. Not set by ViiSync (0); see ExpirationType.

ExpirationType

Requested time in force.

FillPolicy

Requested filling policy.

Flags

MT5 request flags. Not set by ViiSync (0).

Login

Account login.

Lots

Volume, lots.

OrderPrice

Stop-limit price argument of the call.

OrderTicket

The position or order the request acts on (0 for a new order).

OrderType

Order type of the request.

PlacedType

Requested ORDER_REASON.

Price

Price argument of the call.

RequestId

Local sequence number of the request within this API instance.

StopLoss

Requested SL.

Symbol

Symbol name.

TakeProfit

Requested TP.

TradeType

MT5 trade action: the market execution mode or SetOrder for OrderSend, ModifyDeal/ModifyOrder, CancelOrder, ClosePosition.

TransferLogin

Transfer target login. Not set by ViiSync (0).