Otherwise, no problem, the re-test is normal, it's over after only running it once on the disk, the code is as follows. Import time import json
params = { “arrBasePrice”: [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], }
def process ((index): global params # defines the global variable GetTicker # to get price information def main (: global params
for i in range(len(exchanges)) :
params[“acc”].append(_C(exchanges[i].GetAccount))
params[“arrTick”].append(_C(exchanges[i].GetTicker))
exchanges[i].SetPrecision(params[“arrPricePrecision”][i], params[“arrAmountPrecision”][i])
for key in params : if len(params[key]) < len(exchanges): Log(len(params[key]), len(exchanges)) raise “params error!”
while True:
for i in range(len(exchanges)):
process(exchanges[i], i)
The code framework is something like this. The actual drive runs only once, without duplicate acquisition, running once, is the specific number of times. ArrBasePrice is the number of times the character length follows it.
The grassIf you don't report an error, it will be repeated, and the other strategy requires a sleep period.