im4bacon
im4bacon
What I saw was that if I created a ProgressRecorder and didn't set_progress until later, I could see that state was occasionally coming back as null and then within a...
This doesn't happen often, and I just can't figure out how to reproduce it. But I added some console logs to hopefully give a little more info for you. https://github.com/czue/celery-progress/blob/4b1e023cbd72083e1eb542560c49d5653ceb5ee2/celery_progress/static/celery_progress/celery_progress.js#L114...
I just stumbled on this too when I tried --lastaction BUY. I see that calculate_margin() divides by zero because buy_size = 0. `margin = round((profit / buy_size) * 100, precision)`...