The resource loading... loading...

Please ask how to use the futures interface to achieve a full-fledged liquidity market

Author: zhongka, Created: 2017-08-04 11:16:39, Updated:

The question is, according to the interface instructions, the parameters are only price and quantity, how should it be written if it is to be instantly flat?


More

Inventors quantify - small dreamsOKEX is listed on the stock exchange: - 1, exchange.SetContractType (("Contract Code") // First, set the type of contract to be settled, which can be ignored if set, or without switching. - 2、exchange.SetDirection (("closebuy") // set the position direction, closebuy position multiple, closesell position empty - 3、exchange.Sell ((-1, 10) // Lower market price single position, set closebuy Multiple position with Sell, set closesell with Buy. The market price list is the price Transmit -1, the number of positions must be filled, this holding can be obtained with exchange.GetPosition ((().