Releases: JKorf/CryptoCom.Net
Releases · JKorf/CryptoCom.Net
CryptoCom.Net Version 2.8.0
- Updated CryptoExchange.Net version to 9.7.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- HTTP REST requests will now use HTTP version 2.0 by default
CryptoCom.Net Version 2.7.0
- Updated CryptoExchange.Net version to 9.6.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added ClearUserClients method to user client provider
CryptoCom.Net Version 2.6.1
- Added websocket unknown symbol error mapping
CryptoCom.Net Version 2.6.0
- Updated CryptoExchange.Net to version 9.5.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added improved error parsing
- Fixed serialization of restClient.ExchangeApi.Trading.PlaceMultipleOrdersAsync when no execution mode is provided
Updates notes:
- Error.Code is deprecated, use Error.ErrorCode instead for checking specific errors
CryptoCom.Net Version 2.5.0
- Updated CryptoExchange.Net to version 9.4.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
CryptoCom.Net Version 2.4.0
- Updated CryptoExchange.Net to version 9.3.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Updated websocket message matching
CryptoCom.Net Version 2.3.0
- Updated CryptoExchange.Net to version 9.2.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added SmartPostOnly parameters and enum value
Version 2.2.0
- Added restClient.ExchangeApi.ExchangeData.GetAnnouncementsAsync endpoint
- Added restClient.ExchangeApi.Trading.EditOrderAsync endpoint
Version 2.1.0
- Updated CryptoExchange.Net to version 9.1.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added (I)CryptoComUserClientProvider allowing for easy client management when handling multiple users
Version 2.0.0
- Updated CryptoExchange.Net to version 9.0.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added support for Native AOT compilation
- Added RateLimitUpdated event
- Added SharedSymbol response property to all Shared interfaces response models returning a symbol name
- Added GenerateClientOrderId method to ExchangeApi Shared client
- Added IBookTickerRestClient implementation to ExchangeApi Shared client
- Added ISpotOrderClientIdClient implementation to ExchangeApi Shared client
- Added IFuturesOrderClientIdClient implementation to ExchangeApi Shared client
- Added ISpotTriggerOrderRestClient implementation to ExchangeApi Shared client
- Added IFuturesTriggerOrderRestClient implementation to ExchangeApi Shared client
- Added IFuturesTpSlRestClient implementation to ExchangeApi Shared client
- Added MaxLongLeverage, MaxShortLeverage to SharedFuturesSymbol model
- Added TriggerPrice, IsTriggerOrder properties to SharedSpotOrder model
- Added TriggerPrice, IsTriggerOrder properties to SharedFuturesOrder model
- Added OptionalExchangeParameters and Supported properties to EndpointOptions
- Added TransactionTime to CryptoComUserTrade model
- Added All property to retrieve all available environment on CryptoComEnvironment
- Refactored Shared clients quantity parameters and responses to use SharedQuantity
- Updated Reason property on CryptoComOrder to return a OrderRejectedReason Enum value
- Updated all IEnumerable response and model types to array response types
- Updated PlaceMultipleOrdersAsync endpoints to return a list of CallResult models and an error if all orders fail to place
- Renamed CryptoComExchangeSymbolOrderBook to CryptoComSymbolOrderBook
- Removed Newtonsoft.Json dependency
- Removed legacy AddCryptoCom(restOptions, socketOptions) DI overload
- Improved socket client order placement response processing
- Fixed incorrect DataTradeMode on certain Shared interface responses
- Fixed InvalidOperationException in user data snapshot updates when there is no data
- Fixed Shared spot order socket updates having a larger fill quantity than order quantity
- Fixed some typos
Updates notes:
- Processing responses which previously returned an IEnumerable now return an array. Although you can still call
ToList
orToArray
this overhead can now be removed - The
AddCryptoCom(restOptions, socketOptions)
overload was removed but can be replaced byAddCryptoCom(options)
, whereoptions.Rest
is the same as the previous versionsrestOptions
andoptions.Socket
is the same as previous versionssocketOptions
. - When providing quantities for the Shared interfaces you now need to specify the type of quantity:
SharedQuantity.Base(/*qty*/)
,SharedQuantity.Quote(/*qty*/)
orSharedQuantity.Contracts(/*qty*/)
. - Quantity responses for the Shared interfaces have the same logic, quantities are wrapped in the
SharedOrderQuantity
model, containing theQuantityInBaseAsset
,QuantityInQuoteAsset
andQuantityInContracts
properties. - See https://cryptoexchange.jkorf.dev/client-libs/shared/quantities for more info on the new quantity notations
- Structured logging SourceContext now include the client type, previously the SourceContext was always
CryptoCom
, it is now splitCryptoCom.RestClient
andCryptoCom.SocketClient
. Update any logic depending on this accordingly.