Do you really expect an answer?
We can't see your broken code.
There are no mind readers here and our crystal balls are cracked.
you people r so funny😁😁😁
the code is working fine as it doesn't close orders running on my computer when i recompile it. it does however on the vps. can't see anywhere in the code a reason to close orders when sync is performed. any guess would be really appreciated.
coding is critical thinking.there is no guess.it's a binary, either 0 or 1.
its a 736 liner code. very stable. working fine on all aspects except the sync problem. i tried like stopping vps server first and then sync. did not work. guessing on such lines is what i meant by guessing the source of the problem. on that basis i can check an try if the guess works. any guess between and beyond 000s and 111s would be appreciated.