The resource loading... loading...

Can't get data on the K line of the OKEX futures contract?

Author: yesnbst, Created: 2021-09-20 16:19:46, Updated:

The question is, exchange.GetRecords (((), is it possible to access the K-line data of OKEX futures contracts?


More

xionglonghuiI'm OKex futures, and I use the V5 API, which doesn't differentiate between spot futures. Instead, before acquiring, I set the futures variety, for example, I'm a perpetual contract, set to: swap, the code is as follows: exchange.SetContractType (("swap") // Settings of the contract var records = _C ((exchange.GetRecords); // This is how the K-line data of the futures contract is obtained

Summer won't beat you.When it comes to what should be the exchange's API setup, the futures spot doesn't pay attention to the distinction.

yesnbstThank you.

yesnbstIn this case, you can just call the OK interface to get the data, right?