Repository navigation
Releases
CoinW.Net Version 3.6.2
Added PositionSide as required parameter for Shared API PlaceFuturesOrderAsync
Fixed Shared API GetFuturesOrderAsync logic
CoinW.Net Version 3.6.1
Fixed id parameter not send on restClient.FuturesApi.Trading.EditOrderAsync
CoinW.Net Version 3.6.0
Updated CryptoExchange.Net to V13.1.0
CoinW.Net Version 3.5.0
- Updated CryptoExchange.Net to v13.0.0
- Shared APIs
- Added SharedApi V2 support
- Added
.SharedApiproperty to clients - Added
(I)CoinWSharedApiClientcontaining all V2 SharedApi references - Added
SharedApitoCoinWOptionsto provide SharedApi related options - See https://cryptoexchange.jkorf.dev/docs/shared-api?sharedApiVersion=v2 for more info about the V2 update and https://github.com/JKorf/CryptoExchange.Net/blob/master/docs/SHARED_API_V2_MIGRATION.md for migrating from V1
- SharedApi V1 will still be supported
- Rate limiting
- Added rate limit admission callback to client options to allow rate limit admission ruling on request definition
- Added
WithRateLimitAdmissionAsyncto client to allow rate limit admission ruling on a specific request - Update rate limit safety margin logic
- Fixed some rate limit calculation issues
- Request coalescing
- Sending identical public GET requests on the same client at the same time will only send a single request to the server and use the same response
- Coalescing is enabled by default and can be disabled with the
RequestCoalescingEnabledclient option
CoinW.Net Version 3.4.0
Updated to CryptoExchange.Net v12.5.0
Added MakerFeePercentage, TakerFeePercentage to SharedFuturesSymbol
Added TradfiTag to CoinWFuturesSymbol model
Unmapped incorrect Volume mapping for Shared GetFuturesTickersAsync and GetFuturesTickerAsync
CoinW.Net Version 3.3.0
Updated CryptoExchange.Net to version 12.4.0
Added calculation of AveragePrice on Shared order models if data is available and AveragePrice is not set
Added DebuggerDisplay attributes to Result models
Added AveragePrice property to SharedQuantity model
Updated SharedFuturesTicker, SharedSpotTicker, SharedTrade and SharedKline to use SharedOrderQuantity for volumes/quantities
CoinW.Net Version 3.2.0
Updated CryptoExchange.Net to v12.2.0
Added SpotSymbolCatalog to Shared ISpotSymbolRestClient interface
Added FuturesSymbolCatalog to Shared IFuturesSymbolRestClient interface
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to GetSymbolsRequest model
Added DisplayName to SharedSpotSymbol and SharedFuturesSymbol models
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to SharedSpotSymbol and SharedFuturesSymbol models
Added DebuggerDisplay attributes to Shared models
Updated PartitionsIds to array type on CoinWFuturesSymbol model
CoinW.Net Version 3.1.1
Fixed exception during authentication when retrying requests
CoinW.Net Version 3.1.0
Updated CryptoExchange.Net to v12.1.0
Added Timestamp property to CoinWFees, CoinWFuturesOrderBook, CoinWFuturesTicker and CoinWValue models
Added Symbol property to CoinWKline, CoinWOrderBook and CoinWTrade models
Added CrossUnrealizedPnl to CoinWFuturesBalance model
Added DepthPrecisions, LimitOrderMaxRate, LimtiOrderMinRate, MarketOrderMaxRate, PlanLimitOrderMaxQuantity, CloseTime and OpenTime to CoinWFuturesSymbol model
Added AverageClosePrice, AveragePrice, BaseAsset, QuoteAsset, IsMultiAsset, NetProfit, ProfitRate and StopProfitPrice to CoinWPositionHistory model
Updated GetTrailingTpSlAsync to return empty array instead of null if there are no results
CoinW.Net Version 3.0.0
- Result types:
- (Web)CallResult types are replaced by HttpResult, WebSocketResult and QueryResult with the same logic
- WebSocketResult and QueryResult now return additional info for websocket operations
- Updated result types to record type
- Removed implicit result type conversion to bool,
if (result)no longer works, instead useif (result.Success) - Fixed result object nullability hinting, for example Data might be null if Success isn't checked for true
- Clients:
- Added ToString overrides on base API types
- Added Exchange property on BaseApiClient
- Added ApiCredentials property on Api clients
- Updated ILogger source from client name to topic specific client name
- Removed logging from client creation
- Fixed issue in SocketApiClient.GetSocketConnection causing requests to always wait the full max 10 seconds when there was a reconnecting socket
- Shared APIs:
- Added missing dedicated option types
- Added Discover method on ISharedClient interface, returning info on supported capabilities and operations
- Added ResetStaticExchangeParameters method on ExchangeParameters
- Added Status property to SharedWithdrawal model
- Added TradingModes property to SharedBalance model
- Updated Shared ExchangeParameters parameter names to be case insensitive
- Updated code comments
- Replaced ExchangeResult with ExchangeCallResult type
- Removed TradingMode from the response model, only maintained on models where it makes sense
- Added async streaming on UserDataTracker items with StreamUpdatesAsync
- Added cancellation token support to UserDataTracker starting
- Added SupportedEnvironments property to PlatformInfo
- Added Clear() method on UserClientProvider to clear all cached clients
- Added setter to CoinWExchange.RateLimiter to allow custom rate limit settings
- Various small performance improvements
- Fixed error message response parsing
- Fixed websocket connection attempts counting towards rate limit even when server could not be reached