Type/to search
0
Follow
0
Followers
火币API无法通过代码创建订单,但是平台上测试可以通过API买卖
Help
Created 2020-11-27 19:47:59  
 1
 1218
self.exchange.Sell(self.truncate(price), self.truncate(amount)) order_id = self.exchange.Buy(self.truncate(price), self.truncate(amount))
Related Recommendations
Comment
All comments (1)

    Sorry,类内函数truncate忘记添加self,导致类和float相乘,打印Exception发现了问题,打扰了。

    6 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)