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)

Version History

Version Downloads Last updated
3.0.92 34 7/12/2019
3.0.91 253 5/29/2019
3.0.89 204 4/23/2019
3.0.88 148 4/23/2019
3.0.87 155 4/23/2019
3.0.86 261 4/23/2019
3.0.84 134 4/23/2019
3.0.82 97 4/19/2019
2.0.78 136 4/7/2019
2.0.76 107 3/29/2019
2.0.73 85 3/20/2019
2.0.72 104 3/15/2019
2.0.70 125 2/4/2019
1.0.69 100 2/3/2019
1.0.68 147 1/28/2019
1.0.67 90 1/28/2019
1.0.66 100 1/28/2019
1.0.65 103 1/28/2019
1.0.64 104 1/27/2019
1.0.63 91 1/27/2019
1.0.62 98 1/27/2019
1.0.61 115 1/27/2019
1.0.60 96 1/27/2019
1.0.59 93 1/27/2019
1.0.58 110 1/26/2019
1.0.57 97 1/26/2019
1.0.56 104 1/25/2019
1.0.55 103 1/25/2019
1.0.54 100 1/25/2019
1.0.52 168 1/6/2019
1.0.48 162 12/10/2018
1.0.47 184 12/7/2018
1.0.46 152 12/7/2018
1.0.45 110 12/7/2018
1.0.44 136 11/29/2018
1.0.43 130 11/13/2018
1.0.42 134 11/13/2018
1.0.41 135 11/13/2018
1.0.40 179 10/26/2018
1.0.39 160 10/22/2018
1.0.37 155 10/16/2018
1.0.36 257 8/13/2018
1.0.33 239 7/9/2018
1.0.32 208 7/9/2018
1.0.31 238 7/2/2018
1.0.30 205 6/29/2018
1.0.29 197 6/29/2018
1.0.28 233 6/29/2018
1.0.27 443 5/17/2018
1.0.26 222 5/14/2018
1.0.25 310 5/3/2018
1.0.24 240 5/1/2018
1.0.23 236 5/1/2018
0.1.2 354 3/21/2018
0.1.1 455 1/22/2018
0.1.0 243 1/21/2018
0.0.9 272 1/18/2018
0.0.8 263 1/18/2018
0.0.7 241 1/18/2018
0.0.6 375 1/10/2018
0.0.5 307 1/9/2018
0.0.4 286 1/9/2018
0.0.3 235 1/9/2018
0.0.2 234 1/9/2018
0.0.1 330 1/8/2018
Show less