YI GOLD
MT5 · Trade return codes

MT5 10045 · The request is rejected, because " Position closing is allowed only by FIFO rule " flag is set for the trading account ( ACCOUNT_FIFO_CLOSE =true) | YI GOLD

TRADE_RETCODE_FIFO_CLOSE

Official meaning

The request is rejected, because " Position closing is allowed only by FIFO rule " flag is set for the trading account ( ACCOUNT_FIFO_CLOSE =true)

Possible causes · YI GOLD suggestions

Determine the cause from the official meaning, the triggering function and terminal logs.

Troubleshooting · YI GOLD suggestions

Check permissions, sessions, symbol specifications, quotes and request parameters. Reproduce in a demo account. Do not retry rejected requests indefinitely.