Пример #1
0
def main_run():
    cpu_num = 2
    codes = stock.get_codes(stock.myenum.randn, cpu_num)
    #agl.startDebug()
    if agl.IsDebug():
        codes = [jx.HCGD]
    exec(agl.Marco.IMPLEMENT_MULTI_PROCESS)
Пример #2
0
def test_strategy():
    assert (False & '已不支持')
    codes = stock.DataSources.getCodes()
    cpu_num = 5
    agl.startDebug()
    if agl.IsDebug():
        codes = [codes[0]]
        codes = [jx.XYCZ]
        codes = [jx.THS]
        #codes = [jx.LTGF.b]
    exec(agl.Marco.IMPLEMENT_MULTI_PROCESS)