このコードは,このコードが,このコードが,このコードが,このコードが,このコードが,このコードが,このコードは,このコードは,このコードは,このコードは,このコードは,このコードは,このコードは,このコードは,このコードは,このコードは 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 # グローバル変数を定義する ticker = _#GetTicker (ゲートティッカー) からの価格情報 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)
このコードのフレームワークはこうです 固形ディスクは1回しか実行されず 繰り返し取得されず 実行される回数は
文字の長さの次数 arrBasePriceの後に