CoinEx.Net
6.1.0-beta1
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
<PackageReference Include="CoinEx.Net" Version="6.1.0-beta1" />
paket add CoinEx.Net --version 6.1.0-beta1
#r "nuget: CoinEx.Net, 6.1.0-beta1"
// 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
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
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.
Referral link
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
Donate
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
Sponsor
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
- 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
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
toIEnumerable
- 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
- Release version with new CryptoExchange.Net version 4.0.0
- Multiple changes regarding logging and socket connection, see CryptoExchange.Net release notes
- Release version with new CryptoExchange.Net version 4.0.0
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
- Updated to latest CryptoExchange.Net
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
- Updated to CryptoExchange.Net version 2
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 | Versions 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. |
-
.NETStandard 2.0
- Crc32.NET (>= 1.2.0)
- CryptoExchange.Net (>= 7.0.0-beta1)
-
.NETStandard 2.1
- Crc32.NET (>= 1.2.0)
- CryptoExchange.Net (>= 7.0.0-beta1)
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.9.0 | 192 | 11/6/2024 |
7.8.0 | 196 | 10/28/2024 |
7.7.2 | 296 | 10/14/2024 |
7.7.1 | 107 | 10/14/2024 |
7.7.0 | 491 | 9/27/2024 |
7.6.1 | 178 | 9/11/2024 |
7.6.0 | 403 | 8/19/2024 |
7.5.0 | 290 | 8/7/2024 |
7.4.0 | 164 | 7/29/2024 |
7.2.1 | 539 | 7/2/2024 |
7.2.0 | 193 | 6/23/2024 |
7.1.0 | 273 | 6/11/2024 |
7.0.5 | 426 | 5/7/2024 |
7.0.4 | 109 | 5/1/2024 |
7.0.3 | 176 | 4/28/2024 |
7.0.2 | 133 | 4/23/2024 |
7.0.1 | 127 | 4/18/2024 |
7.0.0 | 217 | 4/6/2024 |
6.2.2 | 160 | 4/3/2024 |
6.2.1 | 843 | 3/24/2024 |
6.2.0 | 215 | 3/16/2024 |
6.1.1 | 297 | 2/26/2024 |
6.1.0 | 1,060 | 2/25/2024 |
6.1.0-beta1 | 257 | 2/6/2024 |
6.0.6 | 634 | 12/3/2023 |
6.0.5 | 367 | 11/14/2023 |
6.0.4 | 350 | 10/29/2023 |
6.0.3 | 540 | 10/24/2023 |
6.0.2 | 375 | 10/9/2023 |
6.0.1 | 684 | 8/25/2023 |
6.0.0 | 1,070 | 6/25/2023 |
5.1.2 | 1,157 | 3/18/2023 |
5.1.1 | 870 | 2/14/2023 |
5.1.0 | 779 | 11/17/2022 |
5.0.15 | 1,342 | 7/18/2022 |
5.0.14 | 662 | 7/16/2022 |
5.0.13 | 685 | 7/10/2022 |
5.0.12 | 743 | 6/12/2022 |
5.0.11 | 726 | 5/24/2022 |
5.0.10 | 699 | 5/22/2022 |
5.0.9 | 746 | 5/8/2022 |
5.0.8 | 692 | 5/1/2022 |
5.0.7 | 783 | 4/14/2022 |
5.0.6 | 813 | 3/14/2022 |
5.0.5 | 637 | 3/10/2022 |
5.0.4 | 636 | 3/8/2022 |
5.0.3 | 2,127 | 3/1/2022 |
5.0.2 | 671 | 2/27/2022 |
5.0.1 | 657 | 2/24/2022 |
5.0.0 | 664 | 2/18/2022 |
5.0.0-beta4 | 351 | 2/5/2022 |
5.0.0-beta3 | 325 | 1/31/2022 |
5.0.0-beta2 | 336 | 1/24/2022 |
5.0.0-beta1 | 379 | 1/15/2022 |
5.0.0-alpha7 | 340 | 1/14/2022 |
5.0.0-alpha6 | 356 | 1/7/2022 |
5.0.0-alpha5 | 357 | 1/3/2022 |
5.0.0-alpha4 | 348 | 1/1/2022 |
5.0.0-alpha3 | 312 | 12/27/2021 |
5.0.0-alpha2 | 382 | 12/21/2021 |
5.0.0-alpha1 | 391 | 12/7/2021 |
4.2.5 | 1,059 | 11/13/2021 |
4.2.4 | 763 | 11/3/2021 |
4.2.3 | 712 | 10/8/2021 |
4.2.2 | 559 | 10/6/2021 |
4.2.1 | 541 | 10/5/2021 |
4.2.0 | 590 | 9/29/2021 |
4.1.2 | 599 | 9/22/2021 |
4.1.1 | 600 | 9/21/2021 |
4.1.0 | 595 | 9/20/2021 |
4.0.6 | 599 | 9/15/2021 |
4.0.5 | 592 | 9/2/2021 |
4.0.4 | 563 | 8/26/2021 |
4.0.3 | 552 | 8/26/2021 |
4.0.2 | 601 | 8/24/2021 |
4.0.1 | 704 | 8/13/2021 |
4.0.0 | 545 | 8/12/2021 |
4.0.0-beta3 | 423 | 8/9/2021 |
4.0.0-beta2 | 421 | 7/26/2021 |
4.0.0-beta1 | 435 | 7/9/2021 |
3.3.0-beta9 | 397 | 6/14/2021 |
3.3.0-beta8 | 438 | 6/7/2021 |
3.3.0-beta7 | 430 | 6/3/2021 |
3.3.0-beta6 | 428 | 6/3/2021 |
3.3.0-beta5 | 416 | 6/2/2021 |
3.3.0-beta4 | 437 | 6/2/2021 |
3.3.0-beta3 | 417 | 5/26/2021 |
3.3.0-beta2 | 432 | 5/6/2021 |
3.3.0-beta10 | 420 | 6/15/2021 |
3.3.0-beta1 | 426 | 4/30/2021 |
3.2.6 | 973 | 5/4/2021 |
3.2.5 | 581 | 4/28/2021 |
3.2.4 | 666 | 4/19/2021 |
3.2.3 | 587 | 4/19/2021 |
3.2.2 | 784 | 3/30/2021 |
3.2.1 | 737 | 3/1/2021 |
3.2.0 | 571 | 3/1/2021 |
3.1.2 | 662 | 1/22/2021 |
3.1.1 | 572 | 1/14/2021 |
3.1.0 | 664 | 12/21/2020 |
3.0.14 | 718 | 12/11/2020 |
3.0.13 | 678 | 11/19/2020 |
3.0.12 | 703 | 10/22/2020 |
3.0.11 | 729 | 8/28/2020 |
3.0.10 | 695 | 8/12/2020 |
3.0.9 | 803 | 6/21/2020 |
3.0.8 | 699 | 6/16/2020 |
3.0.7 | 743 | 6/7/2020 |
3.0.6 | 5,310 | 3/3/2020 |
3.0.4 | 816 | 1/27/2020 |
3.0.3 | 849 | 11/12/2019 |
3.0.2 | 795 | 10/23/2019 |
3.0.1 | 769 | 10/23/2019 |
3.0.0 | 723 | 10/23/2019 |
2.0.10 | 807 | 9/11/2019 |
2.0.9 | 818 | 8/7/2019 |
2.0.8 | 762 | 8/5/2019 |
2.0.7 | 807 | 7/9/2019 |
2.0.6 | 862 | 5/14/2019 |
2.0.5 | 830 | 5/1/2019 |
2.0.4 | 852 | 3/7/2019 |
2.0.3 | 918 | 2/1/2019 |
2.0.2 | 965 | 12/6/2018 |
2.0.1 | 1,021 | 12/6/2018 |
2.0.0 | 869 | 12/5/2018 |
1.0.0 | 1,018 | 9/21/2018 |
0.0.6 | 1,089 | 8/21/2018 |
0.0.5 | 1,117 | 8/20/2018 |
0.0.4 | 1,034 | 8/17/2018 |
0.0.3 | 1,083 | 8/16/2018 |
0.0.2 | 1,072 | 8/13/2018 |
0.0.1 | 1,168 | 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