Exemplo n.º 1
0
def UpdateStocks(getSyms=False, getQuotes=False):
        global SYMBOLS
        
        if getSyms is True:
                LoadData.downloadSymbols()        
        if getQuotes is True:
                LoadData._downloadStocks('nasdaq')
                LoadData._downloadStocks('nyse')

        SYMBOLS = LoadData._getSymbols()