Let's hack something...
๐ป ๐ โฟ ๐ โช
๐ ๏ธ C# client for Coinbase Pro websocket API
License: Apache License 2.0
Hey,
Small naming issue.
I used CoinbasePro as Coinbase has a completely different API and wanted to seperate the two.
I can send PR if needed if change is agreed?
Thanks
When I try to subscribe to the order book, the client returns an error.
private static async Task SendSubscriptionRequests(CoinbaseWebsocketClient client) { var subscription = new SubscribeRequest { ProductIds = [ //"BTC-EUR", "BTC-USD" ], Channels = new[] { //ChannelSubscriptionType.Heartbeat, ChannelSubscriptionType.Ticker, ChannelSubscriptionType.Matches, ChannelSubscriptionType.Level2 } }; client.Send(subscription); }
Error received, message: Failed to subscribe
In the case of other subscriptions (Ticker, Matches), everything works fine.
Do you have any .net examples of the usage of this websocket? I want to be able to display live prices in a table, so that it will update the price of the ticker in another object which is listed in the table and I am having a hard time figuring out how I would do this for .net. In your example: you use an exitEvent and it makes it so that the subscription is only active for 30 seconds, and i want the subscription to be active for the entire life of the website connection, basically I just dont know what I am doing with websockets yet and could really use some other resources for learning opportunities and the stuff in your examples seems to be for bitmex or something
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.