Table of Contents

MT5 Order

MT5 class mtapi.mt5.Order → ViiSync Order.

40 of 41 applicable members are fully covered, 1 partially.

MT5 member kind ViiSync equivalent status what differs
Order() ctor not applicable mtapi internal constructors taking OrderProgress
Order(OrderProgress progr, DateTime serverTime, MT5API api) ctor not applicable mtapi internal constructors taking OrderProgress
Order(OrderProgress progr, DateTime serverTime, Order order, MT5API api) ctor not applicable mtapi internal constructors taking OrderProgress
Ticket field Order.Ticket full
Profit field Order.Profit full
Swap field Order.Swap full charged at the server rollover when the engine runs VIISYNC_SWAPS=1 (default OFF per stack; enable after review) — accrues on the position, counts in equity, realised pro rata by the closing deal
Commission field Order.Commission full
Fee field Order.Fee full
ClosePrice field Order.ClosePrice full
CloseTime field Order.CloseTime full
CloseLots field Order.CloseLots full
CloseComment field Order.CloseComment full
OpenPrice field Order.OpenPrice full
OpenTime field Order.OpenTime full
Lots field Order.Lots full
ContractSize field Order.ContractSize full
ExpertId field Order.ExpertId full
PlacedType field Order.PlacedType full
OrderType field Order.OrderType full
DealType field Order.DealType full
Symbol field Order.Symbol full
Comment field Order.Comment full
State field Order.State full
StopLoss field Order.StopLoss full
TakeProfit field Order.TakeProfit full
RequestId field Order.RequestId full
Digits field Order.Digits full
ProfitRate field Order.ProfitRate partial always 1 (the engine converts internally; the rate is not on the wire)
StopLimitPrice field Order.StopLimitPrice full
DealInternalIn field Order.DealInternalIn full
DealInternalOut field Order.DealInternalOut full
OrderInternal field Order.OrderInternal full
PartialCloseDeals field Order.PartialCloseDeals full
PartialFillDeals field Order.PartialFillDeals full
CloseVolume property Order.CloseVolume full
Volume property Order.Volume full
ExpirationType property Order.ExpirationType full
ExpirationTime property Order.ExpirationTime full
FillPolicy property Order.FillPolicy full
OpenTimestampUTC property Order.OpenTimestampUTC full
CloseTimestampUTC property Order.CloseTimestampUTC full
Clone() method Order.Clone full
GetPartialCloseDeals(DealInternal[] deals) method Order.GetPartialCloseDeals full
SortAndTrimDealsNotClosed(DealInternal[] deals) method Order.SortAndTrimDealsNotClosed full