ExecuteMarketOrder & Async (add lasting argument: close after x hours)

Created at 15 Apr 2018, 13:05
MA

mariarosaasmar

Joined 04.12.2017

ExecuteMarketOrder & Async (add lasting argument: close after x hours)
15 Apr 2018, 13:05


Add a "time" argument to methods ExecuteMarketOrder and ExecuteMarketOrderAsync. This argument close the position after a period of time.

public TradeResult ExecuteMarketOrder(TradeType tradeType, Symbol symbol, long volume, string label, double? stopLossPips, double? takeProfitPips, double? marketRangePips, string comment, "LASTING_TIME")

Thank you for voting.


cTrader Automate
@mariarosaasmar