Please tell me why the simulation prompted invalid direction or trade type when the OKEX futures order was placed.

Author: bops, Created: 2018-03-09 11:31:31, Updated: 2018-03-09 11:33:04

exchange.SetContractType("quarter") 
exchange.SetMarginLevel(20)
exchange.SetDirection("sell")
以上参数都设置了,还是提示invalid direction or trade type,不太懂什么情况,请求解答,非常感谢

More

The Little DreamReValuation does not support OKEX futures market lists, real discs can be quoted.

bopsThank you very much for your reply. exchange.Buy ((price, quantity) order, sorry I forgot to write this

The Little DreamWhat's up? exchange.SetContractType (("quarter") // Set the contract as a quarter exchange.SetMarginLevel ((20) // Set the leverage exchange.SetDirection (("sell") // Set up a contract for an open warehouse What's up? And then how do you write the code for your specific sublist? It says exchange.Buy? or exchange.Sell?

sydney0212Hello, do you have a strategy for the OKEX EOS futures contract?

fredeyHello, is the market price of the futures only realistic?