Reset global variables after each stock data call