Releases: JKorf/CryptoCom.Net
Releases · JKorf/CryptoCom.Net
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.
Version 2.0.0-beta4
- Updated CryptoExchange.Net version to 9.0.0-beta5
- Added property to retrieve all available API environments
- Added mapping of CryptoComOrder Reason property to enum
Version 2.0.0-beta3
- Fixed InvalidOperationException in user data snapshot updates if the snapshot is empty
Version 2.0.0-beta2
- Updated CryptoExchange.Net to version 9.0.0-beta2
- Fixed incorrect DataTradeMode on responses
Version 2.0.0-beta1
- Updated CryptoExchange.Net to version 9.0.0-beta1, 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
- Refactored Shared clients quantity parameters and responses to use SharedQuantity
- 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 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
Version 1.6.0
- Updated CryptoExchange.Net to version 8.8.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added support for more SharedKlineInterval values
- Added setting of DataTime value on websocket DataEvent updates
- Fixed incorrect API docs refernces for subscription methods
- Fix Mono runtime exception on rest client construction using DI
Version 1.5.1
- Updated CryptoExchange.Net version
- Added Type property to CryptoComExchange class
Version 1.5.0
- Updated CryptoExchange.Net to version 8.5.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added SetOptions methods on Rest and Socket clients
- Added setting of DefaultProxyCredentials to CredentialCache.DefaultCredentials on the DI http client
- Improved websocket disconnect detection
Version 1.4.1
- Updated CryptoExchange.Net to version 8.4.3, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Fixed orderbook creation via CryptoComBookFactory