Okay, the contract can't be ordered, the balance is not enough, but the account has enough balance, what's the problem?

Author: Ding is singing., Created: 2021-08-12 00:20:45, Updated:

Buy(3228.32, 1): map[code:1 data:[map[clOrdId:9e7f8f03cd7548BCbbcAF0CCBAC95304 ordId: sCode:51119 sMsg:Order placement failed due to insufficient balance. tag:]] msg:]


More

husthaixiaookex is the default trading pair for BTC_USD, the contract is set for the week, the contract is set for the currency, so you need to set the trading pair for your own needs in the code, such as exchange.IO (currency), ETC (USDT), and then set the contract type to permanent contract exchange.SetContractType (swap), so that the trade can be successful.

The grassOK, the contract is the bill, make sure you don't get the coin base and the U base wrong.