Who knows how to fix it? Here is a screenshot of the error and part of the code
The check is simply not done. The function is called and that’s it. Everything is described in the documentation and there is an example of using it.
Returns the amount of free funds
that will remain after opening the specified order at the current price on the current
string symbol, / / symbol
int cmd, // trading operation
double volume / / number of lots