All procedures are as follows:
var start_time = new Date().getTime(); var num = 0;
function ontick() { num += 1; var now_time = new Date().getTime(); var a = exchange.Go(“GetDepth”); var b = exchange.Go(“GetAccount”); var c = exchange.Go(“GetRecords”, PERIOD_M1); var d = exchange.Go(“GetRecords”, PERIOD_M5); var Adepth = a.wait(700); var Aaccount = b.wait(700); var records_small = c.wait(700); var records_big = d.wait(700);
LogStatus('每个轮询间隔:', (now_time - start_time) / 1000 / num, '数据总共',num);
}
function main (() {
Log ((exchange.GetAccount)));
while (true) {
I'm not sure what you mean.
Sleep ((2000));
I'm not sure.
I'm not sure.
An analogue retest of data from any given day results in the following:
The number of data points per consultation interval: 12.311617961511049
The real disk retested the data on any given day, and the results were as follows:
Each consultation interval: 4.005092755540853 The total number of data is 15115
My question is:
1. Is the interval between the two retest rounds as large as the spacing? But both are much higher than my set value of 2000.
2. I changed the GetRecords in the simulated query to a query interval of up to 5 seconds.
syz986Can I leave a contact? I'd like to ask you, thank you.
The grassI've read about this in my first tutorial, so check out this article.