""" if __name__ == '__main__': dt = DataConstructor() dt.BuildData('002215') data = dt.GetData() CloseOrder = [] st = Strategy(data,CloseOrder) plotter = Plotter(data) st.run1() plotter.plot1(st.getoo()) #data = pd.read_csv('000001.csv') """ #init the margin column #data['margin']=np.zeros(len(data)) #create indicator ind = Indicator(data) ind.genIndicator() #create the strategy CloseOrder = [] st = Strategy(data,CloseOrder) #create the plot plotter = Plotter(data)