Skip to content

.Net API wrapper for the Kucoin web API

License

Notifications You must be signed in to change notification settings

RonerCodes/Kucoin.Net

 
 

Repository files navigation

Icon Kucoin.Net

Build status

A .Net wrapper for the Kucoin API as described on Kucoin, including all features the API provides using clear and readable objects.

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:


Bittrex

Bitfinex

Binance

CoinEx

Huobi

Kraken

Implementations from third parties:


Switcheo

Liquid

OKEx

Donations

Donations are greatly appreciated and a motivation to keep improving.

Btc: 12KwZk3r2Y3JZ2uMULcjqqBvXmpDwjhhQS
Eth: 0x069176ca1a4b1d6e0b7901a6bc0dbf3bb0bf5cc2
Nano: xrb_1ocs3hbp561ef76eoctjwg85w5ugr8wgimkj8mfhoyqbx4s1pbc74zggw7gs

Installation

Nuget version Nuget downloads Available on Nuget.

pm> Install-Package Kucoin.Net

To get started with Kucoin.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'Kucoin.Net' and hit enter. The Kucoin.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 Kucoin.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 Kucoin.Net will be installed in. After selecting the correct project type Install-Package Kucoin.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 Kucoin.Net.

Getting started

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

Kucoin.Net provides two clients to interact with the Kucoin API. The KucoinClient provides all rest API calls. The KucoinSocketClient provides functions to interact with the websocket provided by the Kucoin API. Both clients are disposable and as such can be used in a using statement.

Release notes

  • Version 2.0.2 - 03 Mar 2020

    • Updated CryptoExchange
  • Version 2.0.1 - 23 Oct 2019

    • Fixed validation length symbols
  • Version 2.0.0 - 23 Oct 2019

    • See CryptoExchange.Net 3.0 release notes
    • Added input validation
    • Added CancellationToken support to all requests
    • Now using IEnumerable<> for collections
    • Renamed Market -> Symbol
  • Version 1.0.4 - 30 Sep 2019

    • Fixed Bid/Ask reversed in tick
    • Fixed error on empty self trade prevention field
  • Version 1.0.3 - 23 Sep 2019

    • Fixed parameters not passed to certain requests
  • Version 1.0.2 - 07 Aug 2019

    • Updated CryptoExchange.Net
  • Version 1.0.1 - 05 Aug 2019

    • added code docs xml
  • Version 1.0.0 - 09 jul 2019

    • Updated KucoinSymbolOrderBook
  • Version 0.0.2 - 14 may 2019

    • Added an order book implementation for easily keeping an updated order book
    • Added additional constructor to ApiCredentials to be able to read from file
    • Added ConfigureAwait calls to prevent deadlocks
  • Version 0.0.1 - 09 may 2019

    • Initial release

About

.Net API wrapper for the Kucoin web API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%