def update_symbols(symbols): ''' Update the data of sysmbol in the root dir ''' c_dataobj = da.DataAccess('Yahoo', verbose=True) s_path = c_dataobj.rootdir ls_missed_sysms = dp.get_yahoo_data(s_path, symbols) if (len(ls_missed_sysms) > 0): dp.get_yahoo_data(s_path, ls_missed_sysms)
import QSTK.qstktools.YahooDataPull as yahoopull yahoopull.update_my_data()