def run_program(self): self.update_and_open_db() if (self.portfolio_analysis_only): portfolio_obj = portfolio_analysis(self.portfolio_file,self) portfolio_obj._rebalance() else: if (not self.analysis_only): print "will check update symbol list" self.update_symbol_list() if (not self.update_only): print "will run analysis" self.run_analysis()
def run_program(self): if (self.fix_splits): self.run_fix_split_checks() else: self.update_and_open_db() if (self.portfolio_analysis_only): portfolio_obj = portfolio_analysis(self.portfolio_file,self) portfolio_obj._rebalance() elif (self.get_options): print "Get Options" self.find_tradeable_options() else: if (not self.analysis_only): print "will check update symbol list" self.update_symbol_list() if (not self.update_only): print "will run analysis" #self.run_analysis() self.run_mt_analysis(10)
def run_program(self): if (self.fix_splits): self.run_fix_split_checks() else: self.update_and_open_db() if (self.portfolio_analysis_only): portfolio_obj = portfolio_analysis(self.portfolio_file, self) portfolio_obj._rebalance() elif (self.get_options): print "Get Options" self.find_tradeable_options() else: if (not self.analysis_only): print "will check update symbol list" self.update_symbol_list() if (not self.update_only): print "will run analysis" #self.run_analysis() self.run_mt_analysis(10)