New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Every two minute i got this error - Connection error: 1006 - connection was closed uncleanly (None) #88
Comments
By looks, these seem to be time consuming operations. Try doing only in-memory operations in |
Thank you for your reply @vijaykz can you send some exapmle code for memory operations bcoz am basic python user only. kindly help me |
Refer to this example. This shows how to fetch & store ticks. Instead of database, you can simply maintain candles in list of list, for example. |
Hi Vijaykz , In your example, you said you are sending ticks in celery taske queue where ticks are inserted into DB. But what if I want to do operation on latest ticks not on previous ticks. I want to compute on instant basis while getting ticks. |
I do not have a need to save in DB. I create candlesticks in a list of lists like this:
In order to perform operations on the latest bar, you can fetch it just by using |
I read previous discussions about this error but am not resolve this issue
am also not using any computation inside on_ticks(). kindly help me
The text was updated successfully, but these errors were encountered: