Type/to search
1
Follow
1
Followers
Vấn đề về độ chính xác của đơn hàng
Help
Created 2022-06-04 11:06:26  
 2
 1124

Ví dụ, nếu tôi muốn làm một giao dịch U với giá trị là 100 U, thì trong hàm exchange.Buy (Price, Amount), Amount sẽ chuyển được bao nhiêu?

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)