1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2026-04-07 10:11:10 +00:00

1097 Commits

Author SHA1 Message Date
Jkorf
e1d33f252f Fixed CreateParamString method for arrays of value types 2026-03-24 14:28:46 +01:00
Jkorf
b2ba9e251f Updated to version 11.0.0 CryptoExchange.Net.11.0.0 2026-03-23 14:37:34 +01:00
Jan Korf
2f9f97f4e8
Authentication update (#275)
Updated API credential logic, exchange implementation are expected to provide their own credentials implementation with ApiCredentials as base class
Removed ApiCredentials implementation used by most exchanges
Removed ApiCredentialsType Enum
Added CredentialSet base class and implementations for defining different API credentials
Added optional type param to AuthenticationProvider for the specific API credential type to improve type safety
Moved AuthenticationProvider/ApiCredentials from BaseApiClient to RestApiClient/SocketApiClient base classes
Added optional type params to RestApiClient/SocketApiClient base class to specify the AuthenticationProvider type and credentials type to improve type safety
Moved SetOptions/SetApiCredentials from BaseApiClient to RestApiClient/SocketApiClient
Extracted LibraryOptions<TRestOptions, TSocketOptions, TEnvironment> without TApiCredentials for libraries without API credentials
Removed ApiCredentials from ApiOptions, credentials can only be configured at library, rest or socket level
Added EnvironmentName to RestApiClient/SocketApiClient property
Added Unknown enum value to Shared interfaces SharedOrderStatus, SharedTransferStatus and SharedTriggerOrderStatus enums
Updated Enum converter to map value to an undefined Enum value instead of the first Enum value
Added support for checking for missing fields on RestIntegrationTest
Added BytesToHexString and HexToBytesString to ExchangeHelpers static class
Fixed bug where WebSocket connections are not reconnected when configuring Proxy with SetUpdates
Removed legacy CryptoBaseClient, CryptoRestClient and CryptoSocketClient
2026-03-23 14:28:00 +01:00
Jkorf
875696a73a added dex signing utils 2026-03-11 08:54:36 +01:00
Jkorf
90c61715d0 Added Bitstamp reference 2026-03-06 15:16:47 +01:00
Jkorf
12ca45050f Updated to version 10.8.0 CryptoExchange.Net.10.8.0 2026-03-06 09:26:30 +01:00
Jkorf
eaf092a334 Added ForcePathEndWithSlash setting to RequestDefinition, added encoding parameter to SetContent on REST Request, added RequestBodyContentEncoding and OmitContentTypeHeaderWithoutContent config to RestApiClient 2026-03-06 09:25:04 +01:00
Jkorf
33c0fb26a7 Updated to version 10.7.2 CryptoExchange.Net.10.7.2 2026-03-02 10:53:37 +01:00
Jkorf
dabbb5c868 Added small overlap in UserDataTracker polling logic to account for API endpoints not immediately having the data available 2026-03-02 10:47:25 +01:00
Jkorf
204bda8622 Updated to version 10.7.1 CryptoExchange.Net.10.7.1 2026-02-25 11:00:43 +01:00
Jkorf
78e3523a4f Updated SocketConnection internal locking to fix potential deadlock 2026-02-25 09:26:12 +01:00
Jkorf
89a73747b0 Fix for test socket not working correctly with read/write socket connection lock 2026-02-24 13:15:08 +01:00
Jkorf
02b70398b3 Updated lock call SocketConnection to outside the try 2026-02-24 13:14:48 +01:00
Jkorf
73fcb47b17 Updated to version 10.7.0 CryptoExchange.Net.10.7.0 2026-02-24 11:51:37 +01:00
Jkorf
d41ca3459e Updated internal lock for subscription to ReaderWriterLockSlim on SocketConnection 2026-02-24 11:32:35 +01:00
Jkorf
bea2b2bd7b Added Http options to Rest client options 2026-02-24 09:58:48 +01:00
Jan Korf
b29cdc41f3
Shared interfaces pagination update (#274)
Updated INextPageToken parameter on Shared interfaces to PageRequest type, functionality unchanged
Added SupportsAscending and SupportsDescending properties to PaginatedEndpointOptions to expose supported data directions
Added MaxAge property to PaginatedEndpointOptions to expose the max age of data that can be requested
Added Direction property to Shared interfaces paginated requests to configure pagination data direction 
Removed PaginationSupport property from PaginatedEndpointOptions, replaced by above new properties
Updated Shared GetTradeHistoryRequest EndTime property to be optional
Updated I(Futures/Spot)OrderRestClient.GetClosed(Futures/Spot)OrdersOptions from PaginatedEndpointOptions<GetClosedOrdersRequest> to GetClosedOrdersOptions 
Updated I(Futures/Spot)OrderRestClient.Get(Futures/Spot)UserTradesOptions from PaginatedEndpointOptions<GetUserTradesRequest> to GetUserTradesOptions
Updated rate limiting PathStartFilter to ignore added or missing slash before the path
Fixed KlineTracker throwing exception if there is no data in the initial snapshot
2026-02-23 14:53:38 +01:00
JKorf
0ce2e778f4 Added check for invalid json in JsonSocketMessageHandler and virtual GetTypeIdentifierNonJson for handling non-json messages 2026-02-22 16:29:05 +01:00
JKorf
36c2411d46 Added parsing of REST response data up to 128 characters for error responses 2026-02-22 16:05:49 +01:00
Jkorf
6d3e72745a Removed check for OnlyTrackProvidedSymbols and empty initial tracking list 2026-02-17 14:54:57 +01:00
Jkorf
51c74baa26 Updated to version 10.6.2 CryptoExchange.Net.10.6.2 2026-02-17 14:39:06 +01:00
Jkorf
419e01d009 Fix for websocket queries which don't expects response getting stuck in subscribing state 2026-02-17 14:35:02 +01:00
Jkorf
297eee0e1f Updated to version 10.6.1 CryptoExchange.Net.10.6.1 2026-02-16 15:42:33 +01:00
Jkorf
6a9231b1e3 Fixed exception when stopping SymbolOrderBook instance when update is received while closing 2026-02-16 15:39:36 +01:00
Jkorf
e40f2a15b6 Updated to version 10.6.0 CryptoExchange.Net.10.6.0 2026-02-16 09:38:55 +01:00
Jkorf
b94085a27a Added some code comments 2026-02-16 09:36:44 +01:00
Jkorf
5e083811df Added check SymbolOrderBook is still alive when trying to add updates to prevent unnoticed growing in the background when subscription isn't closed while book is 2026-02-16 09:33:39 +01:00
Jkorf
7dcf5cd6ea Added AddTrackedSymbolsAsync and RemoveTrackedSymbolAsync methods to UserDataTracker, updated minimal fromTime filter in UserDataTracker to 5 seconds 2026-02-16 09:11:01 +01:00
Jkorf
1471a4733f Updated symbol tracking logic on UserDataTracker, added check for startTime filter for polling being to close to current time 2026-02-13 10:12:43 +01:00
Jkorf
f39d9f7cfb Updated to version 10.5.4 CryptoExchange.Net.10.5.4 2026-02-12 11:43:20 +01:00
Jkorf
9fab8faa45 Fixed bug in polling time filter for UserDataTracker items 2026-02-12 11:35:04 +01:00
Jkorf
226f175343 Fixed type check ExchangeParameters GetValue 2026-02-11 14:50:39 +01:00
Jkorf
813bd9f5a1 Updated to version 10.5.3 CryptoExchange.Net.10.5.3 2026-02-11 13:10:08 +01:00
Jkorf
c8d2b4f09d Added check EnumConverter to detect undefined int value parsing 2026-02-11 12:57:03 +01:00
Jkorf
6560b82a3e Fixed orders getting incorrectly set to canceled state for UserDataTracker spot and futures orders 2026-02-11 11:44:32 +01:00
JKorf
e151af8f37 Updated client versions examples 2026-02-10 18:38:45 +01:00
Jkorf
bdf7a07c6f Updated to version 10.5.2 CryptoExchange.Net.10.5.2 2026-02-10 16:04:17 +01:00
Jkorf
a8ffe90bf2 Added call to ApiClient.HandleUnhandledMessage when no websocket message processor is found based on topic to allow additional processing 2026-02-10 15:59:35 +01:00
Jkorf
3372b9eb44 Set query completed after setting Result 2026-02-10 15:40:43 +01:00
Jkorf
df25221960 Combined subscribe and re-subscribe logic 2026-02-10 15:40:13 +01:00
Jkorf
7c67a014f5 Added check for subscribe queries with TimeoutBehavior.Success to complete when subscription has received update 2026-02-10 14:31:42 +01:00
Jkorf
65291b3195 Updated to version 10.5.1 CryptoExchange.Net.10.5.1 2026-02-10 11:53:23 +01:00
Jkorf
ece6a9d27d Fixed trading mode selection for futures listen key method in FuturesUserDataTracker 2026-02-10 11:51:19 +01:00
Jkorf
1ed29b0474 Updated to version 10.5.0 CryptoExchange.Net.10.5.0 2026-02-10 10:22:05 +01:00
Jkorf
be2eb01353 Merge branch 'master' of https://github.com/JKorf/CryptoExchange.Net 2026-02-10 10:15:46 +01:00
JKorf
39cd66596d Added some tests 2026-02-09 21:49:07 +01:00
Jkorf
63f51811a9 Updated logging unmatched websocket message 2026-02-09 16:29:24 +01:00
Jkorf
abda065237 Updated websocket message forwarding logic 2026-02-09 12:57:52 +01:00
Jkorf
759c8b9a58 Fixed bug in UserDataTracker orders logic incorrectly setting order to canceled status 2026-02-09 09:07:17 +01:00
JKorf
8e18482781 Added keep alive for listenkeys to UserDataTracker 2026-02-08 17:02:09 +01:00