
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
In particular, it is not quite clear what "10008: Order placed" means, because when an order is queued on the server, a ticket is assigned to it and the code "10009: TRADE_RETCODE_DONE: Order executed" is returned.
10009
TRADE_RETCODE_DONE
Request executed
As far as I understand, the request can refer to different things (market operations, modifications, etc.).
10008
TRADE_RETCODE_PLACED
Order has been placed.
As far as I understand it, we are talking about placing an order here. And logically, it is about placing a new order.
PS
I think the developers need to clarify this as well.
10009
TRADE_RETCODE_DONE
Order executed
This return code refers to orders placed for immediate execution in the market.
10008
TRADE_RETCODE_PLACED
Order placed
10009
TRADE_RETCODE_DONE
Order executed
This return code refers to orders placed for immediate execution in the market.
10008
TRADE_RETCODE_PLACED
Order placed
As far as I understand, the first one applies not only to orders executed in the market, but also to any modification of orders and positions.
At least, it seems logical to me.
PS
From this point of view I would be interested in the reason of this response.
It also answers the question if it is an error or a successful trade completion?
10023
TRADE_RETCODE_ORDER_CHANGED
Order status has changed
10023
TRADE_RETCODE_ORDER_CHANGED
Order status changed
This refers to a pending order, when the conditions for its execution come, it is executed and its state changes, it generates a new position
or changes the state of an old position and leaves it in the history.
10021
TRADE_RETCODE_PRICE_OFF
No quotes to process the request
What is not clear with this code? Well, there is no quotes, it happens and the market is not closed and trading is allowed
You have a connection to the server but no quotes.
I encountered it with low-liquid futures where a quote comes every few minutes or even more than half an hour.
The developers seem to have bent the compiler.
here is the test log after compilation in the new 324 build
Experts that were compiled in build 321 in 324 tester are tested successfully, after recompiling in the new build we get an error.
Is this a common problem or am I the only one who encountered it ?
The developers seem to have bent the compiler.
here is the test log after compilation in the new 324 build
Experts that were compiled in build 321 in 324 tester are tested successfully, after recompiling in the new build we get an error.
Is this a common problem or am I the only one who encountered this ?
As far as I understand the first applies not only to orders executed in the market, but also to any modifications of orders and positions.
At least in my opinion it makes sense.
PS
From this point of view I would be interested in the reason of this answer.
This also answers the question: is this an error or has the trade operation been completed successfully?
10023
TRADE_RETCODE_ORDER_CHANGED
Order state has changed
TRADE_RETCODE_ORDER_CHANGED - for example, in your Expert Advisor, you change the openingprice of a pending order but the order has already managed to trigger when it reaches the server; therefore, you cannot change the opening price.
The developers seem to have bent the compiler.
here is the test log after compilation in the new 324 build
Experts that were compiled in build 321 in 324 tester are tested successfully, after recompiling in the new build we get an error.
Is it a common problem or only I have faced this ?
Describe your situation in detail to Service Desk, specifying the build number, OS, bit rate and attach the code.