Type/to search
0
Follow
1
Followers
Vấn đề lệnh thị trường
Help
Created 2022-01-21 18:28:21  
 3
 1090
  1. Thông tin mở đơn
    022-01-21 18:24:32 Thông tin mở đơn, sellOrderId 404702825422401536
    2022-01-21 18:24:32 Futures_OKCoin bán tháo - swap giá thị trường đơn 1
    2022-01-21 18:24:32 Thông tin Cung giữ nhỏ hơn số lượng mở rộng tối đa, có thể đơn giản hơn


  2. function orderOpen(way, price, amount) {

if (way == "LONG") { return trade("buy", price, amount) } else if (way == "SHORT") { return trade("sell", price, amount) }

}

else if (position.length == 0) {
Log ("Cửa hàng rỗng, trực tiếp thanh toán")
buyOrderId = orderOpen(way, -1, amount)
Log (("BuyOrderIduyOrderId=", buyOrderId)
}

为什么多单就是市价单,空单就是委托单呢?谢谢
Related Recommendations
Comment
All comments (3)

    我是发送后 发现单子在 当前委托里 没有成交 给我干蒙了。。。。。。。。。。

    5 years ago

    应该都是市价单,你看看委托单的价格

    5 years ago

    然后 我重启实盘 啥代码也没改,就变回市价单了。。。。。。。。。

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