Skip to content

meysamrt/CoinEx.Net

 
 

Repository files navigation

Icon CoinEx.Net

Build status

A .Net wrapper for the CoinEX API as described on CoinEx, 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

Huobi

Kucoin

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

Installation

Nuget version Nuget downloads Available on Nuget.

pm> Install-Package CoinEx.Net

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

Getting started

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

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

Examples

Examples can be found in the Examples folder.

Release notes

  • Version 3.2.4 - 19 apr 2021

    • Fixed Withdraw parameters
  • Version 3.2.3 - 19 apr 2021

    • Fixed SubscribeToOrderUpdates serialization
    • Updated CryptoExchange.Net
  • Version 3.2.2 - 30 mrt 2021

    • Updated CryptoExchange.Net
  • Version 3.2.1 - 01 mrt 2021

    • Added Nuget SymbolPackage
  • Version 3.2.0 - 01 mrt 2021

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

    • Updated for ICommonKline
  • Version 3.1.1 - 14 jan 2021

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

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

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

    • Updated CryptoExchange.Net
  • Version 3.0.12 - 22 okt 2020

    • Fixed parsing of orders
  • Version 3.0.11 - 28 Aug 2020

    • Updated CrytpoExchange.Net
  • Version 3.0.10 - 12 Aug 2020

    • Updated CryptoExchange.Net
  • Version 3.0.9 - 21 Jun 2020

    • Updated CryptoExchange
  • Version 3.0.8 - 16 Jun 2020

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

    • Updated CryptoExchange
  • Version 3.0.6 - 03 Mar 2020

    • Updated CryptoExchange
  • Version 3.0.5 - 03 Mar 2020

    • Updated CryptoExchange
  • Version 3.0.4 - 27 Jan 2020

    • Updated CryptoExchange.Net
  • Version 3.0.3 - 12 Nov 2019

    • Added DepositHistory and GetMarketInfo endpoints
  • Version 3.0.2 - 23 Oct 2019

    • Fixed validation length symbols again
  • Version 3.0.1 - 23 Oct 2019

    • Fixed validation length symbols
  • Version 3.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
    • Renamed MarketDepth -> OrderBook
    • Renamed Transaction -> Trade
  • Version 2.0.10 - 11 Sep 2019

    • Updated CryptoExchange.Net
  • Version 2.0.9 - 07 Aug 2019

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

    • Added xml for code docs
  • Version 2.0.7 - 09 jul 2019

    • Updated CoinExSymbolOrderBook
  • Version 2.0.6 - 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
  • Version 2.0.5 - 01 may 2019

    • Updated to latest CryptoExchange.Net
      • Adds response header to REST call result
      • Added rate limiter per API key
      • Unified socket client workings
  • Version 2.0.4 - 07 mar 2019

    • Updated to latest CryptoExchange.Net
  • Version 2.0.3 - 01 feb 2019

    • Updated to latest CryptoExchange.Net
  • Version 2.0.2 - 06 dec 2018

    • Fix for user-agent error on .Net framework
  • Version 2.0.1 - 06 dec 2018

    • Fixed freezes if called from the UI thread
  • Version 2.0.0 - 05 dec 2018

    • Updated to CryptoExchange.Net version 2
      • Libraries now use the same standard functionalities
      • Objects returned by socket subscriptions standardized across libraries
  • Version 1.0.0 - 21 sep 2018

    • Updated CryptoExchange.Net
  • Version 0.0.6 - 20 aug 2018

    • Fix for default api credentials getting disposed
  • Version 0.0.5 - 20 aug 2018

    • Updated CryptoExchange.Net for bug fix
  • Version 0.0.4 - 17 aug 2018

    • Added handling for incosistent data in socket update
    • Added additional logging
    • Small reconnection fixes
  • Version 0.0.3 - 16 aug 2018

    • Added client interfaces
    • Fixed minor Resharper warnings
  • Version 0.0.2 - 13 aug 2018

    • Upped CryptoExchange.Net to fix bug
  • Version 0.0.1 - 13 aug 2018

    • Initial release

About

API wrapper for CoinEx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%