def callback_stop(): stockTracker.stop() b_run.config(state=NORMAL)
def onClose(): stockTracker.stop() top.destroy()