Skip to content

EricGarnier/LiveCoin.Net

Repository files navigation

Icon LiveCoin.Net

Build status

A .Net wrapper for the LiveCoin API as described on LiveCoin, including all features the API provides.

If you think something is broken, something is missing or have any questions, please open an Issue

CryptoExchange.Net

Implementation is build upon the CryptoExchange.Net library, make sure to also check out the documentation on that: docs

Other CryptoExchange.Net implementations:


Binance

Bittrex

Bitfinex

CoinEx

Huobi

Kucoin

Kraken

Switcheo

Liquid

OKEx

Bitmex

Exante

Installation

Nuget Nuget Available on Nuget.

pm> Install-Package LiveCoin.Net

To get started with LiveCoin.Net first you will need to get the library itself. The easiest way to do this is to install the package into your project using NuGet. Using Visual Studio this can be done in two ways.

Using the package manager

In Visual Studio right click on your solution and select 'Manage NuGet Packages for solution...'. A screen will appear which initially shows the currently installed packages. In the top bit select 'Browse'. This will let you download net package from the NuGet server. In the search box type 'LiveCoin.Net' and hit enter. The LiveCoin.Net package should come up in the results. After selecting the package you can then on the right hand side select in which projects in your solution the package should install. After you've selected all project you wish to install and use LiveCoin.Net in hit 'Install' and the package will be downloaded and added to you projects.

Using the package manager console

In Visual Studio in the top menu select 'Tools' -> 'NuGet Package Manager' -> 'Package Manager Console'. This should open up a command line interface. On top of the interface there is a dropdown menu where you can select the Default Project. This is the project that LiveCoin.Net will be installed in. After selecting the correct project type Install-Package LiveCoin.Net in the command line interface. This should install the latest version of the package in your project.

After doing either of above steps you should now be ready to actually start using LiveCoin.Net.

Getting started

After installing it's time to actually use it. To get started we have to add the LiveCoin.Net namespace: using LiveCoin.Net;.

LiveCoin.Net provides two clients to interact with the LiveCoin API. The LiveCoinClient provides all rest API calls. The LiveCoinSocketClient provides functions to interact with the websocket provided by the LiveCoin API. Both clients are disposable and as such can be used in a usingstatement.

Examples

Examples can be found in the Examples folder.

Release notes

  • Version 1.0.9 - 22 dec 2020
    • Add unhandled message processing
  • Version 1.0.8 - 21 dec 2020
    • Correction for re-subscribe after connection drop and change in order book procesing to accomodate LiveCoin use of timestamp.
  • Version 1.0.5 - 12 dec 2020
    • Merge some enum from socket to REST equivalent. Change subscription to flow the response into the notification stream. Upgrade version of dependent package.
  • Version 1.0.4 - 10 dec 2020
    • Add ClientOrders and ClientOrder. Optimize signature process. Change Ping result.
  • Version 1.0.3 - 08 dec 2020
    • Bug fix for private subscriptions.
  • Version 1.0.2 - 08 dec 2020
    • Bug fix for private subscriptions.
  • Version 1.0.1 - 07 dec 2020
    • Add CancelOrders on socket.
  • Version 1.0.0 - 06 dec 2020
    • Add symbol order book, private subscriptions and correct some async signatures. Add also PutLimitOrder and CancelOrder on socket.
  • Version 0.0.5 - 06 dec 2020
    • Add websocket with public subscriptions.
  • Version 0.0.4 - 28 nov 2020
    • Only the REST API for Public data, Customer private data and open/cancel orders. Missing Rest deposit and withdrawal, vouchers. Also missing websockets.