
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
11.2Charging for erroneous transactions.
Transactions shall be recognised as erroneous if during the course of the transaction an error code as set out in Table 2 has been assigned to it. For the purpose of determining erroneous transactions, a transaction is understood to mean submission of an Order, withdrawal of an Order, withdrawal of an Order with simultaneous submission of an Order with different Transaction conditions, withdrawal of a pair of Orders with simultaneous submission of a pair of Orders with different Transaction conditions.
The calculation of the Fee for Erroneous Transactions shall be made for each Login for the period from suspension of trading for the evening clearing session of the current Trading Day (including the first second of suspension) to suspension of trading for the evening clearing session of the next Trading Day (not including the first second of suspension) (hereinafter - the Calculation Period).
The calculation of the amount of the Fee for erroneous transactions shall be made according to the formula:
where:
TranFee2 - the amount of the Fee for erroneous transactions made during the Settlement Period (in roubles including VAT);
Cap - a limit on the maximum amount of the Fee for erroneous transactions set by the Technical Centre and published on the website of the Moscow Exchange;
xi- value calculated per second, rounded down to integers and determined by the formula:
where:
Qi- the sum of all points for the i-th second (points are determined in accordance with Table 2);
Li- the limit of the given login, which is calculated according to the formula and rounded to integers:
Where:
Capacityi- capacity of the login, determined in accordance with the procedure stipulated in point 3.2 of this Annex, valid for the i-th second.
Table 2:
Transaction type*
Result of execution (error code)*
Score Q
AddOrder
A cross transaction has occurred (31)
Q1
Insufficient customer funds (332)
Q2
Insufficient funds from brokerage firm (333)
Q3
FOK bid not consolidated (4103)
Q4
DelOrder
Order not found (14)
Q5
MoveOrder
Cross-dealing occurred (31)
Q6
Noorder wasfound (50)
Q7
Insufficientcustomer funds(332)
Q8
Insufficient fundsof the brokeragefirm (333)
Q9
DelUserOrders
The transaction was completed successfully,
and no order is deleted
Q10
* in accordance with the description of the FORTS Plaza-2 Gateway.
Q1-Q10 point values are set by a decision of the Technical Centre and are published on Moscow Exchange's website.
A fee for erroneous Transactions will be charged if the condition is met:
where:
TranFee2 - the amount of the Fee for erroneous Transactions made during the Settlement Period (in roubles including VAT);
Capmin- a restriction on the minimum amount of the Fee for erroneous Transactions set by the Technical Centre and published on the website of the Moscow Exchange,
The Fee for erroneous Transactions is charged from the clearing register section to which the login for which the Fee for erroneous Transactions is determined is linked.
Do you want us to get drunk?)) Is it so hard to write a figure?
What is the return code for this error?
Returning to the Invalid request error code
I have changed the function to delete the order a bit:
CheckError() function.
After placing the order:
MT 5 server did not send any response, CheckOrders() function was triggered and an order ticket was received:
After that, the command to delete the order (EA) did NOT go through:
And this was also confirmed by the terminal:
Question:
What is the status of the order in the terminal memory ?
Why Invalid request ?
I received a ticket from the terminal environment, so the terminal "knows" that the order is set!
After all, later the same function deleted this order with the same ticket:
Returning to the Invalid request error code
I have changed the function to delete the order a bit:
CheckError() function.
After placing the order:
MT 5 server did not send any response, CheckOrders() function was triggered and an order ticket was received:
After that, the command to delete the order (EA) did NOT go through:
And this was also confirmed by the terminal:
Question:
What is the status of the order in the terminal memory ?
Why Invalid request ?
(I got the ticket from the terminal environment, so the terminal "knows that the order has been placed")!
There is also this:
Try it this way:
There are more of these:
Sergei!
For some reason it seems to me that if there is a ticket (after a warrant has been issued), there cannot be
its state:
ORDER_STATE_REQUEST_ADD
Sergei!
Somehow it seems to me that if there is a ticket (after a warrant has been issued), there can't be
Its status:
I think so too, but it's not my idea, this error is from the transaction log.
After adding this check, put all states, before deletion and modification, in the log. InvalidRequest no longer occurs.
This question is more to the server operations and developers howORDER_STATE_REQUEST_ADD appears.
I think so too, but it wasn't my idea, this error is from the operation log.
After adding this check, put all states, before deletion and modification, in the log. InvalidRequest no longer occurs.
This question is more to the server operations and developers howORDER_STATE_REQUEST_ADD appears.