what I did:
f(): some function to place order
fun on_tick(tick):
f()
print(tick)
this caused the error, but if i comment f(), and only print the tick in on_tick then no 1006 error came
I didn't get error 1006 when I just print the tick on on_tick function, but I get the error I if start placing orders on on_tick function after some 10 minutes.
Also, can you let me know the limitations of API, i.e. on the number of orders that can be placed per tick, and other limitations? Is there any documentation present regarding the limits.