Hello, My code usually works fine. But sometimes, kite.positions() throws an error message that causes the entire algo to stop. I will paste the error code below for reference. My question is : Could I just do this? while True: try: pos = kite.positions break except: pass Would that this method deal with the error properly?
OR is there some other method? Please note, I call this method multiple times in my code, so would I have to do this everythere kite.positions() is present?