Set marginMode to 'isolated'
Set marginMode to 'isolated'

Coinex has cross and isolated for perpetual futures trading but they handle margin trading a bit differently than most exchanges, you need to deposit funds to the specific margin trading pair before you can borrow or trade on that pair so it looks like all margin trading positions are isolated

ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt,ccxt/ccxt