Loading ...

okex永续合约无法开小数单位的数量

Author: Howard0756, Created: 2021-07-23 10:29:11, Updated:

合约下单为0.123数量后会报错,提示好像是要整数的单位?

我用的是模拟api v5类型

好像一定要整数的数量下单?

2021-07-23 09:45:40 Futures_OKCoin 错误

Sell(-1, 0.126): map[code:1 data:[map[clOrdId:9e7f8f03cd7548BCbbc2BD64F76B3F93 ordId: sCode:51121 sMsg:Order count should be the integer multiples of the lot size tag:]] msg:]

Buy(-1, 0.126): map[code:1 data:[map[clOrdId:9e7f8f03cd7548BCbbc0EF26A5F0BD45 ordId: sCode:51121 sMsg:Order count should be the integer multiples of the lot size tag:]] msg:]


More

小草 期货是张数,都是整数

Howard0756 谢谢您