MT4ManagerOrderModify Method |
Modify market or pending order
Namespace:
mtapi.be.MT4ManagerNetApi
Assembly:
MT4ManagerNetApi (in MT4ManagerNetApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public TradeRecord OrderModify(
int login,
int ticket,
double stoploss = 0,
double takeprofit = 0,
double price = 0,
DateTime expiration = default
)
Public Function OrderModify (
login As Integer,
ticket As Integer,
Optional stoploss As Double = 0,
Optional takeprofit As Double = 0,
Optional price As Double = 0,
Optional expiration As DateTime = Nothing
) As TradeRecord
public:
TradeRecord^ OrderModify(
int login,
int ticket,
double stoploss = 0,
double takeprofit = 0,
double price = 0,
DateTime expiration = DateTime()
)
member OrderModify :
login : int *
ticket : int *
?stoploss : float *
?takeprofit : float *
?price : float *
?expiration : DateTime
(* Defaults:
let _stoploss = defaultArg stoploss 0
let _takeprofit = defaultArg takeprofit 0
let _price = defaultArg price 0
let _expiration = defaultArg expiration new DateTime()
*)
-> TradeRecord
Parameters
- login
- Type: SystemInt32
- ticket
- Type: SystemInt32
- stoploss (Optional)
- Type: SystemDouble
- takeprofit (Optional)
- Type: SystemDouble
- price (Optional)
- Type: SystemDouble
- expiration (Optional)
- Type: SystemDateTime
Return Value
Type:
TradeRecordSee Also