Type/to search
0
Follow
0
Followers
¿Cuál es el motivo del mensaje "dirección o tipo de operación no válido" al realizar una orden de futuros de OKEx durante una prueba retrospectiva simulada?
Help
Created 2018-03-09 11:31:31  Updated 2018-03-09 11:33:04
 5
 1903
exchange.SetContractType("quarter") exchange.SetMarginLevel(20) exchange.SetDirection("sell") 以上参数都设置了,还是提示invalid direction or trade type,不太懂什么情况,请求解答,非常感谢
Related Recommendations
Comment
All comments (5)

    回测 不支持 OKEX 期货 市价单, 实盘是可以 下市价单的。

    8 years ago

    非常感谢回答
    exchange.Buy(价格,数量) 下单,不好意思忘了写这个了

    8 years ago
    exchange.SetContractType("quarter") // 设置合约为 季度 exchange.SetMarginLevel(20) // 设置杠杆 exchange.SetDirection("sell") // 设置合约 为 开空仓

    然后您的 具体 下单 代码是怎么写的?
    写的是 exchange.Buy ? 还是 exchange.Sell ?

    8 years ago

    你好,期货的市价单能实现吗?

    8 years ago

    您好,您那边有OKEX EOS合约期货的策略吗?

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