Ideally it would be great if we can stop the websocket and restart it on the next market open time. We don't want to kill off the main app and restart it here.
/>d5 = exel_data[d1[1]][4] #is trade is placed by program<br />exel_data[d1[1]] = [d1[0],d2,d3,True if d4==1 else False,d5]<br />except Exception as e:<br />print("[+] A