Comments (3)
Hi @TheLetterJ , I think we need to refactor wsServe to pass stopC to handler in https://github.com/adshao/go-binance/blob/master/websocket.go#L54, could you please submit a pr for that? or I'll implement it later. Thanks.
from go-binance.
So I was able to accomplish this by declaring doneC before everything:
doneC := make(chan struct{})
Then I used
doneC <- struct{}{}
inside the handler. It seemed to work fine, but I'm not sure if this is ideal. I do not know how to make a pull request sorry, I'm not well versed with git.
from go-binance.
completed issue, close it
from go-binance.
Related Issues (20)
- How to get x-mbx-used-weight-1m? HOT 2
- binance.WebsocketTimeout = time.Second * 5 Not working ! HOT 3
- Support for ed25519 secret/signing HOT 3
- [error] msg=Invalid API-key, IP, or permissions for action. HOT 1
- [info] how to increase precision HOT 8
- [Question] Trade service for delivery (futures coin) to fetch recent trades HOT 1
- [issue] WsBLVTKlineServe is not returning anything
- [Question] examples needed! HOT 1
- Support modify order REST API HOT 1
- how to close a market position HOT 3
- we wanted the best but it turned out as always HOT 2
- We need WebSocketAPI ! HOT 5
- New release 2.5.2 HOT 1
- where is the limit order modification function HOT 3
- I want to subscribe to multiple Kline data at the same time HOT 1
- more functions are not provided HOT 3
- how to separate the pairs from the stream? HOT 4
- Add New Order list - OCO REST API operation HOT 1
- Implement FIX API HOT 3
- Request upgrade NewGetPositionRiskService V2 => V3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-binance.