Type/to search
0
Follow
1
Followers
市場注文の問題
Help
Created 2022-01-21 18:28:21  
 3
 1090
  1. 開始情報
    情報を公開して,sellOrderId 404702825422401536
    2022-01-21 18:24:32 Futures_OKCoin 公開販売 - スワップ 市場価格 1
    2022-01-21 18:24:32 情報 保有額が最大開設額より小さい場合,複数順位で開設できます

  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 ("空の倉庫で直接請求する")
buyOrderId = orderOpen(way, -1, amount)
ログ"購入完了: 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)