"TechnicalError" when trying to cancel a pending order
"TechnicalError" when trying to cancel a pending order
07 Oct 2024, 12:50
Hi, I'm enclosing a screenshot of the log taken from my cTrader which was running account 8999605. Could you please investigate and explain all those "TechnicalError" which led to those 18 pending orders to remain open despite the command to close them?
Replies
kyosuke
08 Oct 2024, 06:42
RE: "TechnicalError" when trying to cancel a pending order
PanagiotisCharalampous said:
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.
@kyosuke
... Deleted by UFO ...
PanagiotisCharalampous
08 Oct 2024, 10:46
RE: RE: "TechnicalError" when trying to cancel a pending order
kyosuke said:
PanagiotisCharalampous said:
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.
There not much information for us either. If you can share your source code and steps to reproduce this issue, we are happy to have a look
@PanagiotisCharalampous
kyosuke
09 Oct 2024, 07:20
RE: RE: RE: "TechnicalError" when trying to cancel a pending order
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.
There not much information for us either. If you can share your source code and steps to reproduce this issue, we are happy to have a look
Problem is not systematic, it can't be reproduced. The bot works well except once every X days this problem occurs and must be a server side problem. It is just happened again (twice):
The only thing I can notice is that, the hour is almost the same.
The portion of code which closes pending orders is quite simple:
foreach (var order in PendingOrders)
if (
order.Label == _BotLabel
&& order.SymbolName == SymbolName
&& order.Comment == Comment
) CancelPendingOrder(order);
@kyosuke
PanagiotisCharalampous
09 Oct 2024, 11:54
RE: RE: RE: RE: "TechnicalError" when trying to cancel a pending order
kyosuke said:
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.
There not much information for us either. If you can share your source code and steps to reproduce this issue, we are happy to have a look
Problem is not systematic, it can't be reproduced. The bot works well except once every X days this problem occurs and must be a server side problem. It is just happened again (twice):
The only thing I can notice is that, the hour is almost the same.
The portion of code which closes pending orders is quite simple:
foreach (var order in PendingOrders) if ( order.Label == _BotLabel && order.SymbolName == SymbolName && order.Comment == Comment ) CancelPendingOrder(order);
Hi there,
It's hard to help you in the forum. The broker needs to check why the orders are not cancelled.
Best regards,
Panagiotis
@PanagiotisCharalampous
kyosuke
10 Oct 2024, 14:35
RE: RE: RE: RE: RE: "TechnicalError" when trying to cancel a pending order
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.
There not much information for us either. If you can share your source code and steps to reproduce this issue, we are happy to have a look
Problem is not systematic, it can't be reproduced. The bot works well except once every X days this problem occurs and must be a server side problem. It is just happened again (twice):
The only thing I can notice is that, the hour is almost the same.
The portion of code which closes pending orders is quite simple:
foreach (var order in PendingOrders) if ( order.Label == _BotLabel && order.SymbolName == SymbolName && order.Comment == Comment ) CancelPendingOrder(order);
Hi there,
It's hard to help you in the forum. The broker needs to check why the orders are not cancelled.
Best regards,
Panagiotis
Hi Panagiotis, what if I now have also some “EntityNotFound” error? Maybe you can dig further in this kind of issue?
@kyosuke
PanagiotisCharalampous
11 Oct 2024, 05:11
RE: RE: RE: RE: RE: RE: "TechnicalError" when trying to cancel a pending order
kyosuke said:
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.
There not much information for us either. If you can share your source code and steps to reproduce this issue, we are happy to have a look
Problem is not systematic, it can't be reproduced. The bot works well except once every X days this problem occurs and must be a server side problem. It is just happened again (twice):
The only thing I can notice is that, the hour is almost the same.
The portion of code which closes pending orders is quite simple:
foreach (var order in PendingOrders) if ( order.Label == _BotLabel && order.SymbolName == SymbolName && order.Comment == Comment ) CancelPendingOrder(order);
Hi there,
It's hard to help you in the forum. The broker needs to check why the orders are not cancelled.
Best regards,
Panagiotis
Hi Panagiotis, what if I now have also some “EntityNotFound” error? Maybe you can dig further in this kind of issue?
This error means that you are trying to cancel an order thar does not exist anymore (probably cancelled already). Check your cBot's logic
@PanagiotisCharalampous
kyosuke
11 Oct 2024, 07:55
RE: RE: RE: RE: RE: RE: RE: "TechnicalError" when trying to cancel a pending order
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
kyosuke said:
PanagiotisCharalampous said:
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
Hi, I've already submitted the problem to the borker (IC Markets) which redirected me to you because they said “The error does not provide more details in order to investigate further from our side”.
There not much information for us either. If you can share your source code and steps to reproduce this issue, we are happy to have a look
Problem is not systematic, it can't be reproduced. The bot works well except once every X days this problem occurs and must be a server side problem. It is just happened again (twice):
The only thing I can notice is that, the hour is almost the same.
The portion of code which closes pending orders is quite simple:
foreach (var order in PendingOrders) if ( order.Label == _BotLabel && order.SymbolName == SymbolName && order.Comment == Comment ) CancelPendingOrder(order);
Hi there,
It's hard to help you in the forum. The broker needs to check why the orders are not cancelled.
Best regards,
Panagiotis
Hi Panagiotis, what if I now have also some “EntityNotFound” error? Maybe you can dig further in this kind of issue?
This error means that you are trying to cancel an order thar does not exist anymore (probably cancelled already). Check your cBot's logic
I can imagine that the error means that but those orders were existing, I had to close them manually afterward when I noticed the errors…
@kyosuke
PanagiotisCharalampous
08 Oct 2024, 05:05
Hi there,
Please contact your broker regarding execution issues.
Best regards,
Panagiotis
@PanagiotisCharalampous