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

Created at 15 Apr 2018, 13:05
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
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