Ask why GetRecords will get to two of the same K-strings.

Author: [Translated from Chinese], Created: 2021-10-07 22:01:05, Updated: 2021-10-10 20:54:15

imgThe log is printed as the inverse of two records of the GetRecords result, i.e. r.slice ((-2)imgWhat causes it and how can it be avoided? The real k-line, of course, has no two k-lines that are the same.img

The solution:img


More

The grassSo what's the real disk, what's the actual period of the k-line that we're getting?

[Translated from Chinese]But if there is a problem, I have solved it. let r = _C ((this.exchange.GetRecords, PERIOD_M1 * period); //Log(" to get new K-line, current completed K-line:",$.GetLast(r,1", last K-line:",this.lastKTime); let reAskCount = 0; // the number of times the k-string is retrieved, the first time retrieved non-dormant, then dormant to avoid retrieving too many times resulting in disconnection while (($.GetLast ((r,1).Time<=this.lastKTime) { //Log (("the same K-line, retrieved"); This is a list of all the different ways This is a list of all the different ways This is a list of all the different ways Period_M1 is credited in the database. If ((reAskCount>1) Sleep ((1000); ReAskCount++ is the most commonly used reAskCount program. //Log (("K line retrieved:",$.GetLast ((r,1)); //Log (("K line retrieved:",$.GetLast ((r,1))); //Log (("K line retrieved:",$.GetLast ((r,1)); //Log ((r,1)); //Log ((r,1)); //Log ((r,1)))) //Log ((r,1)))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log ((r,1))) //Log (r,1))) //Log (r,1)) //Log (r,1)) //Log (r,1)) //Log (r) //R,1) //R) //Log (r I'm not sure.

The grassLog ((exchange.GetRecords (().length) 1 minute and 15 minutes are standard intervals that exchanges should support

[Translated from Chinese]The real thing

[Translated from Chinese]It's a problem every minute or every 15 minutes.