MT5 · Trade return codes
MT5 10014 · Invalid volume in the request | YI GOLD
TRADE_RETCODE_INVALID_VOLUME
Official meaning
Invalid volume in the request
Possible causes · YI GOLD suggestions
Volume falls outside symbol minimum, maximum, step or directional aggregate limits.
Troubleshooting · YI GOLD suggestions
Read volume_min, volume_max, volume_step and volume_limit for the actual symbol. Round down to the step; do not send an order below minimum volume.