Vlad Blaj

Results 7 comments of Vlad Blaj

yea onUpdate works well for interval but not sure where to handle onUpdate in websockets cause it is not called. Do you simply add you logic in subscribeMarketSummaryFeed?

for example I would like to send to telegram using a websocket strategy when onUpdate is called. Cause onUpdate by websocket strategy I handled sending messages in subscribeMarketSummary but i...

Ok thanks, I tried again, the websocket handler gets called for sure in binance.go. But after that I can not see how that is linked to the model onUpdate. It...

Also as far as I see there is this comment: ![image](https://user-images.githubusercontent.com/5721913/151003720-b3eb8723-5e37-4e0c-a203-004d1c46e940.png)

Indeed If I do it this way: ![image](https://user-images.githubusercontent.com/5721913/151008988-e84eb02a-b953-48cb-b81a-9137b48fd5f3.png) AND also call onUpdate in websocket it will work though it is not printed every second and again it does not seem...

I solved the issue using channels. It is not printed every second because it is printed hundred of times per second because of the non blocking for. Could you please...

Hello and many thanks for this project. I would also be interested in the database schema. Thank in advance!