YI GOLD
MT5 · Trade return codes

MT5 10046 · The request is rejected, because the " Opposite positions on a single symbol are disabled " rule is set for the trading account. For example, if the account has a Buy position, then a user cannot open a Sell position or place a pending sell order. The rule is only applied to accounts with hedging accounting system ( ACCOUNT_MARGIN_MODE =ACCOUNT_MARGIN_MODE_RETAIL_HEDGING). | YI GOLD

TRADE_RETCODE_HEDGE_PROHIBITED

Official meaning

The request is rejected, because the " Opposite positions on a single symbol are disabled " rule is set for the trading account. For example, if the account has a Buy position, then a user cannot open a Sell position or place a pending sell order. The rule is only applied to accounts with hedging accounting system ( ACCOUNT_MARGIN_MODE =ACCOUNT_MARGIN_MODE_RETAIL_HEDGING).

Possible causes · YI GOLD suggestions

Insufficient free margin, excessive volume or margin consumed by existing exposure.

Troubleshooting · YI GOLD suggestions

Check actual account denomination, free margin, volume and leverage. Calculate margin in the terminal and assess reduced exposure or genuine funding. Do not repeatedly submit the same request.