avatar of Howard0756 Howard0756
关注 私信
2
关注
0
关注者

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

创建于: 2021-07-23 10:29:11, 更新于:
comments   2
hits   872

合约下单为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:]

相关推荐
全部留言
avatar of 小草
小草
期货是张数,都是整数
2021-07-23 15:54:03
avatar of Howard0756
Howard0756
谢谢您
2021-07-24 00:12:10