market order question
market order question
06 Apr 2018, 17:57
My English is not good.
I want ot modify the volumes of the order. Only one order,do not produce two orders.
use ExecuteMarketOrder to produce two orders.
PS:
中文:
我想给一个订单补仓增加数量,但是使用ExecuteMarketOrder对同一个Label进行修改,会产生2个订单.
Example:
var result = ExecuteMarketOrder((TradeType.Buy, Symbol, 10000,
"order 1"
, 10, 10);
var result1 = ExecuteMarketOrder((TradeType.Buy, Symbol, 20000,
"order 1"
, 10, 10);
Replies
PanagiotisCharalampous
10 Apr 2018, 10:36
Dear Trader,
Thanks for posting in our forum. You can use Modify Position to achieve that.
Let me know if this helps.
Best Regards,
Panagiotis
@PanagiotisCharalampous
z819557056z
10 Apr 2018, 12:55
RE:
Panagiotis Charalampous said:
Dear Trader,
Thanks for posting in our forum. You can use Modify Position to achieve that.
Let me know if this helps.
Best Regards,
Panagiotis
Hello,Panagiotis.
Modify Position define
public TradeResult ModifyPosition(Position position, double? stopLoss, double? takeProfit)
From the definition, this can only modify the stop loss and stop profit of the order.
What I want is to modify the buying/selling volume of the order.
Now I have new ideas, so I don't need to get entangled.
Thank you for your answer. I'm very happy.
@z819557056z
PanagiotisCharalampous
10 Apr 2018, 12:58
Dear Trader,
In cTrader 3.0 you will be able to modify the volume as well. You can download the beta version here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
z819557056z
10 Apr 2018, 13:08
RE:
Panagiotis Charalampous said:
Dear Trader,
In cTrader 3.0 you will be able to modify the volume as well. You can download the beta version here.
Best Regards,
Panagiotis
Thank you.
I'm going to download a new version.
@z819557056z
z819557056z
06 Apr 2018, 17:59 ( Updated at: 21 Dec 2023, 09:20 )
RE:
z819557056z said:
@z819557056z