CoinEx.Net 6.1.0-beta1

This is a prerelease version of CoinEx.Net.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CoinEx.Net --version 6.1.0-beta1                
NuGet\Install-Package CoinEx.Net -Version 6.1.0-beta1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CoinEx.Net" Version="6.1.0-beta1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CoinEx.Net --version 6.1.0-beta1                
#r "nuget: CoinEx.Net, 6.1.0-beta1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CoinEx.Net as a Cake Addin
#addin nuget:?package=CoinEx.Net&version=6.1.0-beta1&prerelease

// Install CoinEx.Net as a Cake Tool
#tool nuget:?package=CoinEx.Net&version=6.1.0-beta1&prerelease                

CoinEx.Net

.NET Nuget version Nuget downloads

CoinEx.Net is a wrapper around the CoinEx API as described on CoinEx, including all features the API provides using clear and readable objects, both for the REST as the websocket API's.

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

Documentation

Installation

dotnet add package CoinEx.Net

Support the project

I develop and maintain this package on my own for free in my spare time, any support is greatly appreciated.

Sign up using the following referral link to pay a small percentage of the trading fees you pay to support the project instead of paying them straight to CoinEx. This doesn't cost you a thing! Link

Make a one time donation in a crypto currency of your choice. If you prefer to donate a currency not listed here please contact me.

Btc: bc1qz0jv0my7fc60rxeupr23e75x95qmlq6489n8gh
Eth: 0x8E21C4d955975cB645589745ac0c46ECA8FAE504

Alternatively, sponsor me on Github using Github Sponsors.

Discord

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

Release notes

  • Version 6.1.0-beta1 - 06 Feb 2024

  • Version 6.0.6 - 03 Dec 2023

    • Updated CryptoExchange.Net
  • Version 6.0.5 - 14 Nov 2023

    • Fix for broker reference
  • Version 6.0.4 - 29 Oct 2023

    • Added broker reference option
  • Version 6.0.3 - 24 Oct 2023

    • Updated CryptoExchange.Net
  • Version 6.0.2 - 09 Oct 2023

    • Updated CryptoExchange.Net version
    • Added ISpotClient to DI injection
  • Version 6.0.1 - 25 Aug 2023

    • Updated CryptoExchange.Net
  • Version 6.0.0 - 25 Jun 2023

    • Updated CryptoExchange.Net to version 6.0.0
    • Renamed CoinExClient to CoinExRestClient
    • Renamed SpotStreams to SpotApi on the CoinExSocketClient
    • Updated endpoints to consistently use a base url without any path as basis to make switching environments/base urls clearer
    • Added ICoinExOrderBookFactory and implementation for creating order books
    • Updated dependency injection register method (AddCoinEx)
  • Version 5.1.2 - 18 Mar 2023

    • Updated CryptoExchange.Net
  • Version 5.1.1 - 14 Feb 2023

    • Updated CryptoExchange.Net
    • Fixed issue with request signing with parameters containing special characters
  • Version 5.1.0 - 17 Nov 2022

    • Updated CryptoExchange.Net
  • Version 5.0.15 - 18 Jul 2022

    • Updated CryptoExchange.Net
  • Version 5.0.14 - 16 Jul 2022

    • Updated CryptoExchange.Net
  • Version 5.0.13 - 10 Jul 2022

    • Updated CryptoExchange.Net
  • Version 5.0.12 - 12 Jun 2022

    • Updated CryptoExchange.Net
  • Version 5.0.11 - 24 May 2022

    • Updated CryptoExchange.Net
  • Version 5.0.10 - 22 May 2022

    • Updated CryptoExchange.Net
  • Version 5.0.9 - 08 May 2022

    • Updated CryptoExchange.Net
  • Version 5.0.8 - 01 May 2022

    • Updated CryptoExchange.Net which fixed an timing related issue in the websocket reconnection logic
    • Added seconds representation to KlineInterval enum
  • Version 5.0.7 - 14 Apr 2022

    • Updated CryptoExchange.Net
  • Version 5.0.6 - 14 Mar 2022

    • Fixed stopPrice serialization in PlaceOrderAsync
  • Version 5.0.5 - 10 Mar 2022

    • Updated CryptoExchange.Net
  • Version 5.0.4 - 08 Mar 2022

    • Updated CryptoExchange.Net
  • Version 5.0.3 - 01 Mar 2022

    • Updated CryptoExchange.Net improving the websocket reconnection robustness
  • Version 5.0.2 - 27 Feb 2022

    • Updated CryptoExchange.Net
  • Version 5.0.1 - 24 Feb 2022

    • Updated CryptoExchange.Net
  • Version 5.0.0 - 18 Feb 2022

    • Added Github.io page for documentation: https://jkorf.github.io/CoinEx.Net/

    • unit tests for parsing the returned JSON for each endpoint and subscription

    • Added AddCoinEx extension method on IServiceCollection for easy dependency injection

    • Added URL reference to API endpoint documentation for each endpoint

    • Added default rate limiter

    • Refactored different PlaceOrderAsync methods to a single PlaceOrderAsync method to be consistent across exchange implementations

    • Refactored client structure to be consistent across exchange implementations

    • Renamed various properties to be consistent across exchange implementations

    • Cleaned up project structure

    • Fixed various models

    • Updated CryptoExchange.Net, see https://github.com/JKorf/CryptoExchange.Net#release-notes

    • See https://jkorf.github.io/CoinEx.Net/MigrationGuide.html for additional notes for updating from V4 to V5

  • Version 4.2.4 - 03 Nov 2021

    • Updated CoinExAssetConfig model
    • Fixed typo in OrderOptionConverter
  • Version 4.2.3 - 08 Oct 2021

    • Updated CryptoExchange.Net to fix some socket issues
  • Version 4.2.2 - 06 Oct 2021

    • Updated CryptoExchange.Net, fixing socket issue when calling from .Net Framework
  • Version 4.2.1 - 05 Oct 2021

    • Added GetOpenStopOrdersAsync endpoint
    • Added CancelAllStopOrdersAsync endpoint
  • Version 4.2.0 - 29 Sep 2021

    • Fixed DELETE endpoints
    • Changed GetBalances parameter from params to IEnumerable
    • Updated CryptoExchange.Net
  • Version 4.1.2 - 22 Sep 2021

    • Fixed nonce provider when running multiple program instances
  • Version 4.1.1 - 21 Sep 2021

    • Fix for nonce provider not working correctly in combination with other exchanges
  • Version 4.1.0 - 20 Sep 2021

    • Added custom nonce provider support
    • Added PlaceStopMarketOrderAsync endpoint
    • Added missing SetApiCredentials method
    • Updated CryptoExchange.Net
  • Version 4.0.6 - 15 Sep 2021

    • Updated CryptoExchange.Net
  • Version 4.0.5 - 02 Sep 2021

    • Fix for disposing order book closing socket even if there are other connections
  • Version 4.0.4 - 26 Aug 2021

    • Updated CryptoExchange.Net
  • Version 4.0.3 - 26 Aug 2021

    • Added PlaceStopLimitOrderAsync endpoint
  • Version 4.0.2 - 24 Aug 2021

    • Updated CryptoExchange.Net, improving websocket and SymbolOrderBook performance
  • Version 4.0.1 - 13 Aug 2021

    • Fix for OperationCancelledException being thrown when closing a socket from a .net framework project
  • Version 4.0.0 - 12 Aug 2021

  • Version 4.0.0-beta3 - 09 Aug 2021

    • Renamed GetSymbolTradesAsync to GetTradesHistoryAsync
    • Renamed GetExecutedOrderDetailsAsync to GetOrderTradesAsync
    • Renamed GetOrderStatusAsync to GetOrderAsync
    • Renamed GetTradesAsync to GetUserTradesAsync
  • Version 4.0.0-beta2 - 26 Jul 2021

    • Updated CryptoExchange.Net
  • Version 4.0.0-beta1 - 09 Jul 2021

    • Added Async postfix for async methods
    • Updated CryptoExchange.Net
  • Version 3.3.0-beta10 - 15 Jun 2021

    • WithrawAsync fixed
  • Version 3.3.0-beta9 - 14 Jun 2021

    • Fixed typo in WithdrawAsync
  • Version 3.3.0-beta8 - 07 Jun 2021

    • Fixed GetWithdrawalHistory
    • Updated CryptoExchange.Net
  • Version 3.3.0-beta7 - 03 Jun 2021

    • Fixed order subscription (again)
  • Version 3.3.0-beta6 - 03 Jun 2021

    • Added ClientId to order update model
    • Fixed order subscription parameters
  • Version 3.3.0-beta5 - 02 Jun 2021

    • Added optional PlaceLimitOrderAsync parameters
    • Fix for WithdrawAsync
  • Version 3.3.0-beta4 - 02 Jun 2021

    • Added GetCurrencyRateAsync endpoint
    • Added GetAssetConfigAsync endpoint
    • Added GetDepositAddressAsync
  • Version 3.3.0-beta3 - 26 May 2021

    • Removed non-async calls
    • Updated to CryptoExchange.Net changes
  • Version 3.3.0-beta2 - 06 mei 2021

    • Updated CryptoExchange.Net
  • Version 3.3.0-beta1 - 30 apr 2021

    • Updated to CryptoExchange.Net 4.0.0-beta1, new websocket implementation
  • Version 3.2.6 - 04 mei 2021

    • Fix for trades subscription deserialization when extra array item is received
    • Fix parameter type in Withdraw method
  • Version 3.2.5 - 28 apr 2021

    • Fix trade deserialization without order id
    • Allow symbols starting with numeric character
    • Update CryptoExchange.Net
    • Fixed check in socket balance update
  • 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
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CoinEx.Net:

Package Downloads
CryptoClients.Net

CryptoClients.Net is a collection of multiple cryptocurrency exchange API clients for accessing both the REST API's and WebSocket API's. Supports order and account management and requesting and streaming both public and private data.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on CoinEx.Net:

Repository Stars
JKorf/CryptoExchange.Net
A C# .netstandard base library used for implementing cryptocurrency exchange API's.
Version Downloads Last updated
7.13.0 166 12/23/2024
7.12.2 126 12/15/2024
7.12.1 223 12/8/2024
7.12.0 206 12/2/2024
7.11.0 166 11/28/2024
7.10.0 125 11/19/2024
7.9.0 526 11/6/2024
7.8.0 220 10/28/2024
7.7.2 336 10/14/2024
7.7.1 125 10/14/2024
7.7.0 545 9/27/2024
7.6.1 191 9/11/2024
7.6.0 426 8/19/2024
7.5.0 323 8/7/2024
7.4.0 188 7/29/2024
7.2.1 576 7/2/2024
7.2.0 204 6/23/2024
7.1.0 282 6/11/2024
7.0.5 443 5/7/2024
7.0.4 118 5/1/2024
7.0.3 186 4/28/2024
7.0.2 142 4/23/2024
7.0.1 136 4/18/2024
7.0.0 230 4/6/2024
6.2.2 169 4/3/2024
6.2.1 857 3/24/2024
6.2.0 224 3/16/2024
6.1.1 308 2/26/2024
6.1.0 1,074 2/25/2024
6.1.0-beta1 266 2/6/2024
6.0.6 649 12/3/2023
6.0.5 376 11/14/2023
6.0.4 363 10/29/2023
6.0.3 551 10/24/2023
6.0.2 384 10/9/2023
6.0.1 693 8/25/2023
6.0.0 1,081 6/25/2023
5.1.2 1,170 3/18/2023
5.1.1 879 2/14/2023
5.1.0 792 11/17/2022
5.0.15 1,392 7/18/2022
5.0.14 671 7/16/2022
5.0.13 694 7/10/2022
5.0.12 756 6/12/2022
5.0.11 735 5/24/2022
5.0.10 710 5/22/2022
5.0.9 757 5/8/2022
5.0.8 703 5/1/2022
5.0.7 794 4/14/2022
5.0.6 827 3/14/2022
5.0.5 648 3/10/2022
5.0.4 648 3/8/2022
5.0.3 2,141 3/1/2022
5.0.2 680 2/27/2022
5.0.1 668 2/24/2022
5.0.0 675 2/18/2022
5.0.0-beta4 358 2/5/2022
5.0.0-beta3 332 1/31/2022
5.0.0-beta2 345 1/24/2022
5.0.0-beta1 389 1/15/2022
5.0.0-alpha7 347 1/14/2022
5.0.0-alpha6 363 1/7/2022
5.0.0-alpha5 364 1/3/2022
5.0.0-alpha4 355 1/1/2022
5.0.0-alpha3 319 12/27/2021
5.0.0-alpha2 389 12/21/2021
5.0.0-alpha1 398 12/7/2021
4.2.5 1,070 11/13/2021
4.2.4 774 11/3/2021
4.2.3 725 10/8/2021
4.2.2 570 10/6/2021
4.2.1 553 10/5/2021
4.2.0 603 9/29/2021
4.1.2 610 9/22/2021
4.1.1 613 9/21/2021
4.1.0 606 9/20/2021
4.0.6 610 9/15/2021
4.0.5 603 9/2/2021
4.0.4 574 8/26/2021
4.0.3 565 8/26/2021
4.0.2 614 8/24/2021
4.0.1 720 8/13/2021
4.0.0 558 8/12/2021
4.0.0-beta3 430 8/9/2021
4.0.0-beta2 428 7/26/2021
4.0.0-beta1 442 7/9/2021
3.3.0-beta9 406 6/14/2021
3.3.0-beta8 445 6/7/2021
3.3.0-beta7 439 6/3/2021
3.3.0-beta6 435 6/3/2021
3.3.0-beta5 423 6/2/2021
3.3.0-beta4 446 6/2/2021
3.3.0-beta3 422 5/26/2021
3.3.0-beta2 437 5/6/2021
3.3.0-beta10 425 6/15/2021
3.3.0-beta1 433 4/30/2021
3.2.6 983 5/4/2021
3.2.5 593 4/28/2021
3.2.4 676 4/19/2021
3.2.3 598 4/19/2021
3.2.2 797 3/30/2021
3.2.1 748 3/1/2021
3.2.0 582 3/1/2021
3.1.2 671 1/22/2021
3.1.1 583 1/14/2021
3.1.0 675 12/21/2020
3.0.14 731 12/11/2020
3.0.13 692 11/19/2020
3.0.12 714 10/22/2020
3.0.11 742 8/28/2020
3.0.10 709 8/12/2020
3.0.9 816 6/21/2020
3.0.8 712 6/16/2020
3.0.7 754 6/7/2020
3.0.6 5,321 3/3/2020
3.0.4 827 1/27/2020
3.0.3 862 11/12/2019
3.0.2 809 10/23/2019
3.0.1 782 10/23/2019
3.0.0 736 10/23/2019
2.0.10 820 9/11/2019
2.0.9 830 8/7/2019
2.0.8 774 8/5/2019
2.0.7 819 7/9/2019
2.0.6 874 5/14/2019
2.0.5 842 5/1/2019
2.0.4 868 3/7/2019
2.0.3 935 2/1/2019
2.0.2 981 12/6/2018
2.0.1 1,037 12/6/2018
2.0.0 886 12/5/2018
1.0.0 1,037 9/21/2018
0.0.6 1,107 8/21/2018
0.0.5 1,136 8/20/2018
0.0.4 1,070 8/17/2018
0.0.3 1,101 8/16/2018
0.0.2 1,106 8/13/2018
0.0.1 1,184 8/13/2018

6.1.0-beta1 - Updated CryptoExchange.Net and implemented reworked websocket message handling. For release notes for the CryptoExchange.Net base library see: https://github.com/JKorf/CryptoExchange.Net/tree/beta?tab=readme-ov-file#release-notes, Fixed issue in DI registration causing http client to not be correctly injected, Made various parameters in CoinExSocketClient optional, Removed excessive constructor overload for CoinExRestClient