- Forums
- Help
- Can't get data on the K line of the OKEX futures contract?
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
- Does OKex use exchange.GetPosition (()) to set up the current transaction pair to access the holding information?
- How Binance is now valued
- Analysis of the reasons for the discrepancy between the MACD indicator TV and FMZ ((+ handwritten EMA indicator))
- GetRecords与TA.EMA的关系
- Is it possible for a language to cycle to determine whether a certain condition has been met?
- We've had some strange errors that have caused the policy to stop working, how can we avoid that?
- Noble offers low-cost copywriting services
- I'm going to study for my master's degree.
- In addition, the company has also been involved in the development of a number of projects in the field of information technology.
- Please tell me how to put JS interface setting parameters in the source code
- Ask for help: How to prevent the same K-line from sending and receiving orders
- Requesting assistance: Questions regarding the procurement and sale of contracts and handling of outstanding orders
- Please help me, I can't sell it alive, display: Sell ((0.11487, 45): Invalid direction
- 使用exchange.GetRecords获取不到非主流币的K线数据?
- I'd like to ask you, please, what is the most secure and unbreakable strategy that you can write?
- Is there a powerful programmer?
- If anyone knows the author of the short-term shock strategy, please contact us.
- Why is it that when record is converted to the DataFrame format of pandas, data.Time[1] can be displayed, while data.Time[-1] will return an error?
- How to learn how to write on mobile phones?
- Set the parameter of the wind mode
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?