Type/to search
1
Follow
1
Followers
Isu ketepatan pesanan
Help
Created 2022-06-04 11:06:26  
 2
 1124

Sebagai contoh, saya ingin membuat bit U, dan saya ingin membuat satu unit bernilai 100U, dan dalam fungsi exchange.buy (harga, jumlah), berapa banyak jumlah yang perlu dihantar?

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)