Automatic checking of products in the Market (questions and suggestions) - page 4

 
Ruslan Pishun:



How to solve the problem ?

You do not do the minimum lot check. It will be your fault. Explore the article:What checks does a trading robot have to pass before it is published in the Marketplace?

 
Vladimir Karputov:

You do not do the minimum lot check. It will be your fault. Explore the article:What checks a trading robot must pass before it is published in the Marketplace

Checking for the minimum lot works correctly, here the thing is that the order with a lot of 2000.00 will not open if the balance is 10 000$ and the leverage is 1:100.

To open a lot of 2000, you need a balance ten times higher and also the leverage should be higher.


 
Ruslan Pishun:

If you are checking for the minimum lot, the problem is that you cannot open an order with 2,000.00 lot if you have a balance of $10,000 and 1:100 leverage.

To open a 2,000 lot, you need a ten times higher balance and the leverage should also be higher.


So I'm saying that you yourself are doing the checks wrong and allowing a trade order to be sent with these input parameters. Do the checks. Read the article.

 
Vladimir Karputov:

So I'm saying that you yourself are doing the checks wrong and allowing a trade order to be sent with these input parameters. Do the checks. Read the article.

The problem is that the EA cannot open an order because it does not have enough balance for lot 2000.

If there is not a single order then the product is not accepted in Market.


Message:


 
Ruslan Pishun:

The problem is that the EA cannot open an order because there is not enough balance for lot 2000.

If there is not a single order then the product is not accepted in Market.


Messages:


Do you understand the difference between "not checking and allowing a trade order to be sent" and "can't open anything"?

 
Vladimir Karputov:

Do you understand the difference between "failing inspection and allowing a trade order to be sent" and "can't open anything"?

Yes.

 
Ruslan Pishun:

Yes.

Do you output any message ("so-and-so - but no position can be opened") BETWEEN sending a trade order?

 
Vladimir Karputov:

Do you output any message ("so-and-so - but no position can be opened") BETWEEN sending a trade order?

I don't understand what you mean ?


 

Well now I've hit that validator too.

I update UTILITY, in which I only changed the size of the array.

The validator writes that there are no transactions and notes that it is Expert. How do I understand it? Accordingly it does not allow to update it.


 
Ruslan Pishun:

The check for the minimum lot works correctly, the thing is that an order with a lot of 2000.00 will not open if the balance is 10 000$ and the leverage is 1:100.

To open a 2,000 lot, the balance needs to be ten times higher and the leverage needs to be higher as well.

This has now been fixed.

Reason: