Closed fasiondog closed 8 months ago
(注:仅支持 matplotlib 绘图)
my_tm = crtTM(init_cash = 300000) my_sg = SG_Flex(EMA(CLOSE(), n=5), slow_n=10) my_mm = MM_FixedPercent(1.0) sys = SYS_Simple(tm = my_tm, sg = my_sg, mm = my_mm) sys.run(sm['sz000001'], Query(-1550)) sys.performance()
(注:仅支持 matplotlib 绘图)