Type/to search
1
Follow
1
Followers
Problème d'exactitude de la commande
Help
Created 2022-06-04 11:06:26  
 2
 1124

Si je veux faire une transaction en U, par exemple, et ouvrir une unité de 100 U, dans la fonction d'échange.buy (prix, montant), combien d'Amount dois-je transmettre ?

Related Recommendations
Comment
All comments (2)

    精度可以去交易所盘面看,或者你采样交易所的订单薄数据,根据他的精度来设置。

    4 years ago

    amount = 100/当前价格,再取精度

    4 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)