You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Awesome!
Installation time - 15:07:31.849
Time of removal - 15:07:31.865
And it's already 25th week ofInvalid request, and it's in all seriousness. Now I understand why servicedesk is silent.
In which cases the advisor may receive a code:
TRADE_RETCODE_REJECT
Sergei!
You turned out to be right. MQ bug
Theterminal does not update the order status:
I received an order but its state is stillORDER_STATE_STARTED
Sergei!
You turned out to be right. MQ bug
Theterminal does not update the order status:
I have received the order but its state is stillORDER_STATE_STARTED
Michael, does the order still exist after these messages? By any chance a deal could not have been executed on it a few ms before?
Michael, does the order still exist after these messages? Was it, by any chance, a few ms before that the trade could not have been executed?
Yes, the order still exists after the error.
It does not matter, because before deleting (modifying) the order is checked if it exists:
Why I ask, I have this situation:
Logbook (experts):
I can see that the order has been accepted (which means it can be handled), but the request is not correct.
In the logbook the log is like this:
I.e. at the moment the order was deleted, a deal was executed on it. And then, the robot is trying to delete the order which does not exist any more.
Now I'm trying to decide what to do.
Yes, the order does exist after the error.
But it doesn't matter, because before deleting (modifying) the order is checked that it exists:
Why I ask, I have this situation:
Logbook (experts):
I can see that the order has been accepted (which means it can be handled), but the request is not correct.
In the logbook the log is like this:
I.e. at the moment the order was deleted, a deal was executed on it. And then, the robot is trying to delete the order that does not exist anymore.
Now I am trying to decide what to do.
I have also had this problem, but I have solved it.
What command do you use to set the OrderSend() or OrderSendAsync()?
I've had this problem too, but I've solved it.
Which command do you use to set OrderSend() or OrderSendAsync()?
OrderSend()
The thing is that when an order is being executed, you don't control its execution and therefore you don't block OnTick() or OnBookEvent().
You need to handle the trade event in OnTradeTransaction() to quickly control the order being executed.
I will post the code on how to do it soon...