策略類中在def __init__ 以前定義的list變量和在__init__中定義的list變量的區別

策略類中在def init 以前定義的list變量和在init中定義的list變量的區別是什麼?app 在def init 以前定義的list變量:code class stocktestStrategy(CtaTemplate): """基於布林通道的交易策略""" className = 'stocktestStrategy' author = u'dofish' actionMark=[]對
相關文章
相關標籤/搜索