Bitfinex.Client.Websocket 0.0.1

Client for Bitfinex websocket API version 2.0

There is a newer version of this package available.
See the version list below for details.
Install-Package Bitfinex.Client.Websocket -Version 0.0.1
dotnet add package Bitfinex.Client.Websocket --version 0.0.1
<PackageReference Include="Bitfinex.Client.Websocket" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bitfinex.Client.Websocket --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Bitfinex websocket API version 2.0 client

This is a C# implementation of the Bitfinex websocket API version 2.0 (BETA) found here:

https://bitfinex.readme.io/v2/docs

License:

Apache License 2.0

Features

Usage

var exitEvent = new ManualResetEvent(false);
var url = BitfinexValues.ApiWebsocketUrl;

using (var communicator = new BitfinexWebsocketCommunicator(url))
{
    using (var client = new BitfinexWebsocketClient(communicator))
    {
        client.PongStream.Subscribe(pong =>
        {
            Console.WriteLine($"Pong received! Id: {pong.Cid}") // Pong received! Id: 123456
            exitEvent.Set();
        });

        await communicator.Start();
        await client.Send(new PingRequest() {Cid = 123456});

        exitEvent.WaitOne(TimeSpan.FromSeconds(30));
    }
}

Donations gratefully accepted.

  • Bitcoin: 1HfxKZhvm68qK3gE8bJAdDBWkcZ2AFs9pw
  • Litecoin: LftdENE8DTbLpV6RZLKLdzYzVU82E6dz4W
  • Ethereum: 0xb9637c56b307f24372cdcebd208c0679d4e48a47

Bitfinex websocket API version 2.0 client

This is a C# implementation of the Bitfinex websocket API version 2.0 (BETA) found here:

https://bitfinex.readme.io/v2/docs

License:

Apache License 2.0

Features

Usage

var exitEvent = new ManualResetEvent(false);
var url = BitfinexValues.ApiWebsocketUrl;

using (var communicator = new BitfinexWebsocketCommunicator(url))
{
    using (var client = new BitfinexWebsocketClient(communicator))
    {
        client.PongStream.Subscribe(pong =>
        {
            Console.WriteLine($"Pong received! Id: {pong.Cid}") // Pong received! Id: 123456
            exitEvent.Set();
        });

        await communicator.Start();
        await client.Send(new PingRequest() {Cid = 123456});

        exitEvent.WaitOne(TimeSpan.FromSeconds(30));
    }
}

Donations gratefully accepted.

  • Bitcoin: 1HfxKZhvm68qK3gE8bJAdDBWkcZ2AFs9pw
  • Litecoin: LftdENE8DTbLpV6RZLKLdzYzVU82E6dz4W
  • Ethereum: 0xb9637c56b307f24372cdcebd208c0679d4e48a47

Release Notes

Initial release, WIP (work in progress)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.98 37 10/8/2019
3.0.97 392 8/5/2019
3.0.95 69 8/4/2019
3.0.94 66 8/2/2019
3.0.92 108 7/12/2019
3.0.91 326 5/29/2019
3.0.89 225 4/23/2019
3.0.88 158 4/23/2019
3.0.87 168 4/23/2019
3.0.86 272 4/23/2019
3.0.84 147 4/23/2019
3.0.82 110 4/19/2019
2.0.78 153 4/7/2019
2.0.76 119 3/29/2019
2.0.73 107 3/20/2019
2.0.72 121 3/15/2019
2.0.70 148 2/4/2019
1.0.69 117 2/3/2019
1.0.68 161 1/28/2019
1.0.67 104 1/28/2019
1.0.66 112 1/28/2019
1.0.65 120 1/28/2019
1.0.64 116 1/27/2019
1.0.63 104 1/27/2019
1.0.62 111 1/27/2019
1.0.61 132 1/27/2019
1.0.60 112 1/27/2019
1.0.59 105 1/27/2019
1.0.58 127 1/26/2019
1.0.57 113 1/26/2019
1.0.56 116 1/25/2019
1.0.55 113 1/25/2019
1.0.54 111 1/25/2019
1.0.52 199 1/6/2019
1.0.48 177 12/10/2018
1.0.47 212 12/7/2018
1.0.46 164 12/7/2018
1.0.45 124 12/7/2018
1.0.44 149 11/29/2018
1.0.43 148 11/13/2018
1.0.42 167 11/13/2018
1.0.41 166 11/13/2018
1.0.40 202 10/26/2018
1.0.39 197 10/22/2018
1.0.37 181 10/16/2018
1.0.36 284 8/13/2018
1.0.33 264 7/9/2018
1.0.32 236 7/9/2018
1.0.31 264 7/2/2018
1.0.30 234 6/29/2018
1.0.29 222 6/29/2018
1.0.28 259 6/29/2018
1.0.27 470 5/17/2018
1.0.26 248 5/14/2018
1.0.25 336 5/3/2018
1.0.24 266 5/1/2018
1.0.23 266 5/1/2018
0.1.2 376 3/21/2018
0.1.1 478 1/22/2018
0.1.0 266 1/21/2018
0.0.9 297 1/18/2018
0.0.8 288 1/18/2018
0.0.7 266 1/18/2018
0.0.6 419 1/10/2018
0.0.5 360 1/9/2018
0.0.4 337 1/9/2018
0.0.3 261 1/9/2018
0.0.2 256 1/9/2018
0.0.1 358 1/8/2018
Show less