OKExch's quarterly BTC contract is used for retesting. Finds that the High/Low on the last K line is the same. Please ask if this is to avoid future data being introduced for retesting.
bar = exchange.GetRecords[-1] Log(bar[‘High’]) Log(bar[‘Low’])
Thank you!
chinesefoxObviously, my logic is to open a position when the current bar breaks the high of the previous bar.
If Bar[-1][
Inventors quantify - small dreamsRe-test, real-time strategy When running, the last bar of the K-line data obtained by GetRecords is real-time, changing at all times, unless the price of this last K-line is unchanged, the highest and lowest opening and closing are one price.