MT5 OrderClientSafe
MT5 class mtapi.mt5.OrderClientSafe → ViiSync OrderClientSafe.
7 of 7 applicable members are fully covered, 0 partially.
| MT5 member | kind | ViiSync equivalent | status | what differs |
|---|---|---|---|---|
OrderClientSafe(MT5API api) |
ctor | OrderClientSafe (constructor) | full | wraps a ViiSyncAccountApi; connection-safe trading (waits for the reconnect, then settles close/delete/modify from server state; never re-sends an open) |
TradeTimeoutSafe |
field | OrderClientSafe.TradeTimeoutSafe | full | |
Api |
property | OrderClientSafe.Api | full | |
OrderSend(string symbol, double lots, double price, OrderType type, double sl = 0, double tp = 0, ulong deviation = 0, string comment = null, FillPolicy fillPolicy = Any, TradeType tradeType = Transfer, double stoplimit = 0, Expiration expiration = null, long closeByTicket = 0, PlacedType placedType = Manually) |
method | OrderClientSafe.OrderSend | full | |
OrderClose(long ticket, string symbol, double price, double lots, OrderType type, ulong deviation = 0, FillPolicy fillPolicy = Any, long closeByTicket = 0, PlacedType placedType = Manually) |
method | OrderClientSafe.OrderClose | full | |
OrderDelete(long ticket, OrderType type, string symbol, double lots, double price) |
method | OrderClientSafe.OrderDelete | full | |
OrderModify(long ticket, string symbol, double lots, double price, OrderType type, double sl, double tp, long expertId = 0, double stoplimit = 0, Expiration expiration = null, string comment = null) |
method | OrderClientSafe.OrderModify | full |