The resource loading... loading...

How to get ticker data from the OKEX contract

Author: 59200800@qq.com, Created: 2018-07-23 14:41:39, Updated:

The transaction pairs I'm configuring in the robot This is EOS_USD But the ticker data that the program returns is the EOS_USDT of the spot market. Ask the great God who knows how to get the right transaction data for the contract.


More

Inventors quantify - small dreamsIf the exchange is configured to be a futures exchange, the exchange selects the OKEX futures and then first sets the contract, using exchange.SetContractType ("this_week") This is set to be the contract for the week, then calls the market interface to get the contract.