Topics
Replies
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
z819557056z
06 Apr 2018, 17:59
( Updated at: 21 Dec 2023, 09:20 )
RE:
z819557056z said:
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.
Example:
var result = ExecuteMarketOrder((TradeType.Buy, Symbol, 10000, "order 1", 10, 10);
var result1 = ExecuteMarketOrder((TradeType.Buy, Symbol, 20000, "order 1", 10, 10);
PS:
中文:
我想给一个订单补仓增加数量,但是使用ExecuteMarketOrder对同一个Label进行修改,会产生2个订单.
例:
就像截图这样操作,编程时的语句怎么写.
@z819557056z
z819557056z
10 Apr 2018, 13:08
RE:
Panagiotis Charalampous said:
Thank you.
I'm going to download a new version.
@z819557056z