I mean, if I have a technical indicator that needs to get the last 600 bars of data, but records only gets 201 bars the first time it runs, and I want to get 600 bars until the next k-line accumulates, like on my graph I started retesting on August 2nd, took 15 minutes to get the bar, and had to wait until August 6th to get the 600 bars, then my problem is can I get the last 600 bars of data at the initial time?
tony233Oh, well. I looked at the following documentation, and it's equivalent to saying exchange.SetMaxBarLen ((500) how much data can be returned depends on the maximum data the exchange interface can provide, right?
Inventors quantify - small dreams- The retesting system does not have a full-stock swap. - The exchange.SetMaxBarLen ((500) function is available in the API documentation, see below.
tony233And I'm going to post it again, and if you're interested, I'm going to use your function to get 200 k strings at the beginning.