Type/to search
0
Follow
1
Followers
Problème d'ordre de marché
Help
Created 2022-01-21 18:28:21  
 3
 1090
  1. Informations sur le formulaire
    Je suis désolée, mais je ne peux pas vous dire ce que je pense.
    Le prix du swap est le prix du marché à l'indice 1.
    2022-01-21 18:24:32 Informations Les détenteurs de positions inférieures au montant maximal de dépôt peuvent faire plus de transactions

  2. Le code
    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 ("le stock est vide, la facture est directement payée")
buyOrderId = orderOpen(way, -1, amount)
Log ((" achat terminé: 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)