Partially Filled
Created at 12 May 2017, 10:09
FU
Partially Filled
12 May 2017, 10:09
I use "ExecuteMarketOrder(tradeType, Symbol, volume, Label, 0, 0, 0, comment); " to order in my robot. The order value sometimes will be less than I request.
I found it tend to be "Partially Filled" if the value is greater than 10k. Can anyone explain why it happened and how I can fix it?
Should I add some judging codes or use another method to execute orders?
Spotware
18 Jul 2017, 15:36
Dear fushine0718,
You are executing a market order with a market range of 0. This means that your market order will be executed as a limit order on the spot price. If there is not enough market depth to cover your order then your order will be partially filled. If you want your market order to be completely filled, you should remove the market range.
Best Regards,
cTrader Team
@Spotware