News Order

Troubleshooting Invalid Lots Amount in ordersend Function for Forex Trading

4 min read

trading

The ‘lots’ parameter of the ordersend function in forex trading requires a numeric input, and invalid or zero inputs will be rejected. Any non-numeric input, negative value, or values exceeding account trading limits will also be considered invalid. null or unspecified values will result in an error, and if the value is too small or too large, the order will not be sent.