Alessandro Sanino

Results 59 comments of Alessandro Sanino

I would disagree regarding this pr since there are different libraries for handling BSON format (eg mongo-go-driver and mgo) so it's better to have this implementation outside the package scope...

check examples folder. I would say no

Nope, that's the wrong way to resolve this ;) REST and Websocket make no difference in strategy object usage, you do not see it used because it is wrapped by...

The fact that is not printed every second may depend on your internet connection. Can you double check that ? Also try removing the go func()

The secret is the websocket part, the o update is run in the Apply method of Strategy implementation It is complex to explain, but if you have websockets the population...

Hello @hmedkouri the update function is decided by the developer strategy, not by the bot itself (the bot only updates the data when the new information comes, but it is...

you have to pass the OnUpdate function as you would do without websockets, nothing changes, you just add the ws connection before initializing the bot

Feel free to open a PR with your fix, Thank you for signaling this issue

The issue is about order status only But you can retrieve a full order from a market ``` go func GetOrder(id string) (*environment.Order, error) ``` This should be ok