Comments (8)
The implementation of Binance.Api.WebSocket.IWebSocketClient
(Binance.Api.WebSocket.WebSocketClient
) uses System.Net.WebSocket.ClientWebSocket.
Basically, it is not supported on your platform.
Options:
-
In VS 2017, in the Binance library NuGet packages, install the latest
System.Net.WebSockets.Client
package (v4.3.2) to see if any updates add support for Win7 (I have no reason to believe it will support Win7, but I would like to try and find out). -
Use an alternative WebSocket implementation library such as WebSocket4Net or WebSocket-Sharp and create a new
Binance.Api.WebSocket.IWebSocketClient
implementation adapting to the other WebSocket library. Then configure DI to use that implementation instead:services.AddTransient<IWebSocketClient, YourWebSocketClient>();
after callingAddBinance()
. This should be able to be done at the application level and not require you to modify the Binance library.
from binance.
What platform are you using (operating system and .NET version)?
from binance.
thanks for your prompt reply. I am running a Windows 7 64-bit with VS 2017.
from binance.
awesome! Thank you so much, I'll do same tests myself.
from binance.
@sonvister This issue bothers me as well. I can confirm your first suggestion will not kill the problem.
I tried to follow your suggestion (2) to implement a WebSocket4Net or WebSocket-Sharp version, actually I did for both. However none of them works for me.
May I ask you to take a look and if you can spot any obvious mistake? I am running out of idea now.
You can find them here
from binance.
@mirror222 and @wjchicago, I created implementations (in separate libraries) for both WebSocket4Net and WebSocket-Sharp. The usage is shown (in comments) in BinanceConsoleApp
.
from binance.
Thank you for keeping me informed and your professional help.
from binance.
@sonvister Thank you for your effort to make the project better and better!
from binance.
Related Issues (20)
- Orderupdate vs Tradeupdate HOT 4
- Get24HourStatisticsAsync exception HOT 3
- Please add additional ExchangeInfo filters for market orders to work HOT 1
- [newbie_Question] what to put for cancellation token? HOT 3
- New Binance MinimumNotional and GetLowerValue return incorrect values
- Error code 1131
- Binance changes will affect this api... HOT 2
- order.Fills comes null :( HOT 1
- Margin orders HOT 1
- unable to parse result when using GetOrderBookTopsAsync HOT 1
- Binance Future Support HOT 1
- GetKlinesAsync returns nothing
- PlaceAsync (limitorder) places multiple orders on one call
- problem in connecting to binance HOT 1
- OCO ORDER HELP!!!!
- How to initialize BinanceHttpClient?
- Is it possible to create new Symbols? HOT 1
- Api.GetOpenOrdersAsync Problem HOT 1
- How to provide BinanceApiOptions when initializing BinanceApi
- how set sl and tp after open position
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 binance.