GithubHelp home page GithubHelp logo

allterraindeveloper / kucoin.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jkorf/kucoin.net

0.0 0.0 0.0 857 KB

.Net API wrapper for the Kucoin web API

License: MIT License

C# 100.00%

kucoin.net's Introduction

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

Bitmex

HitBTC

LiveCoin

OKEx

Chiliz

BtcTurk

Thodex

Exante

Donations

Donations are greatly appreciated and a motivation to keep improving.

Btc: 12KwZk3r2Y3JZ2uMULcjqqBvXmpDwjhhQS
Eth: 0x069176ca1a4b1d6e0b7901a6bc0dbf3bb0bf5cc2
Nano: xrb_1ocs3hbp561ef76eoctjwg85w5ugr8wgimkj8mfhoyqbx4s1pbc74zggw7gs

Discord

A Discord server is available here. For discussion and/or questions around the CryptoExchange.Net and implementation libraries, feel free to join.

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.3.9 - 05 mei 2021

    • Fixed order deserialization when quantity is null
  • Version 2.3.8 - 04 mei 2021

    • Added some margin socket subscriptions
  • Version 2.3.7 - 28 apr 2021

    • Added new GetAccountLedgers
    • Changed GetAccountLedger to [Obsolete]
    • Fixed AccountActivityContext parsing
    • Updated CryptoExchange.Net
  • Version 2.3.6 - 19 apr 2021

    • Updated CryptoExchange.Net
  • Version 2.3.5 - 30 mrt 2021

    • Updated CryptoExchange.Net
  • Version 2.3.4 - 16 mrt 2021

    • Fixed full order book timestamp deserialization
  • Version 2.3.3 - 16 mrt 2021

    • Fixed orderbook endpoint not found
  • Version 2.3.2 - 16 mrt 2021

    • Added fee endpoints
    • Added CancelOrderByClientOrderId endpoint
    • Added GetOrderByClientOrderId endpoint
    • Updated IKucoinClient interface
  • Version 2.3.1 - 05 mrt 2021

    • Fixed Filled order update parsing
  • Version 2.3.0 - 04 mrt 2021

    • Added socket kline subscription
    • Added socket order book subscription
    • Added multiple market support for snapshot subscription
    • Updated match subscriptions
  • Version 2.2.1 - 01 mrt 2021

    • Added Nuget SymbolPackage
  • Version 2.2.0 - 01 mrt 2021

    • Added config for deterministic build
    • Updated CryptoExchange.Net
  • Version 2.1.2 - 22 jan 2021

    • Updated for ICommonKline
  • Version 2.1.1 - 14 jan 2021

    • Updated CryptoExchange.Net
  • Version 2.1.0 - 21 dec 2020

    • Update CryptoExchange.Net
    • Updated to latest IExchangeClient
  • Version 2.0.17 - 11 dec 2020

    • Fix for GetKlines sending null timestamp
  • Version 2.0.16 - 11 dec 2020

    • Updated CryptoExchange.Net
    • Implemented IExchangeClient
  • Version 2.0.15 - 19 nov 2020

    • Fixed order model to allow null values
    • Updated CryptoExchange.Net
  • Version 2.0.14 - 08 Oct 2020

    • Fixed incorrect paramter on GetSymbols
    • Updated CryptoExchange.Net
  • Version 2.0.13 - 28 Aug 2020

    • Updated CryptoExchange.Net
  • Version 2.0.12 - 12 Aug 2020

    • Fixed cancelAfter parameter in PlaceOrder
    • Updated CryptoExchange.Net
  • Version 2.0.11 - 05 Aug 2020

    • Fixed withdraw endpoint
    • Added InnerTransfer support
  • Version 2.0.10 - 03 Aug 2020

    • Fixed timestamp parameters
  • Version 2.0.9 - 22 Jul 2020

    • Added missing nullable
  • Version 2.0.8 - 22 Jul 2020

    • More nullable fields for new markets
  • Version 2.0.7 - 20 Jul 2020

    • Made decimals in Tick model nullable to support new markets
  • Version 2.0.6 - 07 Jul 2020

    • Fixed parsing error in MatchEngine updates
  • Version 2.0.5 - 21 Jun 2020

    • Updated CryptoExchange
  • Version 2.0.4 - 16 Jun 2020

    • Updated CryptoExchange.Net
  • Version 2.0.3 - 07 Jun 2020

    • Updated CryptoExchange.Net to fix order book desync
  • 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

kucoin.net's People

Contributors

burakoner avatar d-ugarov avatar jkorf avatar la4atld avatar ocengiz0 avatar zebio21 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.