Releases: JKorf/BitMEX.Net
Releases · JKorf/BitMEX.Net
Version 2.1.0
- Updated CryptoExchange.Net to version 9.1.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added (I)BitMEXUserClientProvider 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 clients
- Added OptionalExchangeParameters and Supported properties to EndpointOptions
- 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 IFuturesTpSlClient implementation to ExchangeApi Shared client
- Added TriggerPrice, IsTriggerOrder and IsCloseOrder to SharedFuturesOrder model
- Added TriggerPrice and IsTriggerOrder properties to SharedSpotOrder response model
- Added QuoteVolume property mapping to SharedSpotTicker response model
- Added All property to retrieve all available environment on BitMEXEnvironment
- Added automatic mapping between XBT and BTC asset and symbol names when using the Shared implementations
- Added missing Enum value ExecutionType enum
- Refactored Shared clients quantity parameters and responses to use SharedQuantity
- Updated all IEnumerable response and model types to array response types
- Updated ExecutionInstruction property on BitMEXOrder model to array
- Renamed BitMEXExchangeSymbolOrderBook to BitMEXSymbolOrderBook
- Removed Newtonsoft.Json dependency
- Removed legacy AddBitMEX(restOptions, socketOptions) DI overload
- Fixed incorrect DataTradeMode on certain Shared interface responses
- Fixed InvalidOperationException on empty socket user snapshot updates
- Fixed some typos
- Fixed error using Shared GetAssetsAsync endpoint
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
AddBitMEX(restOptions, socketOptions)
overload was removed but can be replaced byAddBitMEX(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
BitMEX
, it is now splitBitMEX.RestClient
andBitMEX.SocketClient
. Update any logic depending on this accordingly. - AssetAlias configuration has been added. When using Shared interfaces automatic mapping is enabled between
XBT
andBTC
. To prevent this entirely useBitMEXExchange.AssetAliases.AutoConvertEnabled = false;
. Previously the mapping was being applied inconsistently.
Version 2.0.0-beta3
- Updated CryptoExchange.Net version to 9.0.0-beta5
- Added property to retrieve all available API environments
Version 2.0.0-beta2
- Updated CryptoExchange.Net to version 9.0.0-beta2
- Added Shared spot ticker QuoteVolume mapping
- Fixed incorrect DataTradeMode on responses
- Fixed deserialization error in symbol subscription
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 clients
- Added OptionalExchangeParameters and Supported properties to EndpointOptions
- 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 IFuturesTpSlClient implementation to ExchangeApi Shared client
- Added TriggerPrice, IsTriggerOrder and IsCloseOrder to SharedFuturesOrder model
- Added TriggerPrice and IsTriggerOrder properties to SharedSpotOrder response model
- Refactored Shared clients quantity parameters and responses to use SharedQuantity
- Updated all IEnumerable response and model types to array response types
- Updated ExecutionInstruction property on BitMEXOrder model to array
- Renamed BitMEXExchangeSymbolOrderBook to BitMEXSymbolOrderBook
- Removed Newtonsoft.Json dependency
- Removed legacy AddBitMEX(restOptions, socketOptions) DI overload
- Fixed some typos
- Fixed error using Shared GetAssetsAsync endpoint
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
AddBitMEX(restOptions, socketOptions)
overload was removed but can be replaced byAddBitMEX(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.1.0
- Updated CryptoExchange.Net to version 8.8.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added setting of DataTime value on websocket DataEvent updates
- Added DisplayName and ImageUrl to BitMEXExchange class
- Fixed supported SharedKlineInterval not being specified correctly in the options
- Fix Mono runtime exception on rest client construction using DI
Version 1.0.0
- Initial release