Type/to search
0
Follow
0
Followers
L'API Huobi ne peut pas créer de commandes via le code, mais elle peut être achetée et vendue via l'API dans le test de la plateforme
Help
Created 2020-11-27 19:47:59  
 1
 1219
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)