The resource loading... loading...

exchange.GetRecords to get data issues

Author: lzhqlj, Created: 2021-12-05 13:46:31, Updated:

The Code var records = exchanges[0].GetRecords ((PERIOD_H1)); The first k-string data is log:, _D (records[0].Time), Open:, records[0].Open, High:, records[0]. The second root of the k-string data is, Time:, _D(records[1].Time), and Close:, records[1].Close Log (( current K line ((latest), Time:, _D ((records[records.length-1].Time), Open:, records[records.length-1].Open, High:, records[records.length-1].High Log (click on a line in K, Time:, _D (records[records.length-2].Time), and click Close (click on a line in K, Time:, _D)) fimgThe results are as follows: Please note that the time is not up to date and the data is not compatible with the K-line data on the TV.

Thank you.


More

lzhqljThe time difference is 8 hours. I figured it out. What is the reason for the discrepancy?

lzhqljI've seen it, I've learned it.

Inventors quantify - small dreamsYou compare the time, not the readable time, you compare the timestamp, or you print the time stamp on FMZ, and convert it to UTC time, and then to a time-bar on the TV.

lzhqlj/upload/asset/23c6993874f7869d16efe.png /upload/asset/23c71b6665bd5d29d50e3.jpg This is a list of all the different ways Uploads are credited in the database. The closing price of the last K-line on TV is 4198.33; the data read is different.

Inventors quantify - small dreamsHello, please give me the full problem scenario. The information provided so far does not show any problem.