Releases: JKorf/BitMart.Net
Releases · JKorf/BitMart.Net
Version 2.1.0
- Updated CryptoExchange.Net to version 9.1.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Added (I)BitMartUserClientProvider allowing for easy client management when handling multiple users
- Added Fee and FeeAsset to (Shared) Spot order update stream updates
- Added Unavailable property to BitMartBalance model
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 UsdFutures and Spot Shared clients
- Added OptionalExchangeParameters and Supported properties to EndpointOptions
- Added IBookTickerRestClient implementation to UsdFutures and Spot Shared clients
- Added ISpotOrderClientIdClient implementation to Spot Shared client
- Added IFuturesOrderClientIdClient implementation to UsdFutures Shared client
- Added IFuturesTriggerOrderRestClient implementation to UsdFutures Shared client
- Added IPositionModeRestClient implementation to UsdFutures Shared client
- Added IFuturesTpSlRestClient implementation to UsdFutures Shared client
- Added MaxLongLeverage and MaxShortLeverage to SharedFuturesSymbol response model
- Added takeProfitPrice and stopLossPrice support to Shared UsdFutures PlaceOrderAsync method
- Added TakeProfitPrice, StopLossPrice, TriggerPrice and IsTriggerOrder to SharedFuturesOrder model
- Added QuoteVolume property mapping to SharedSpotTicker response model
- Added restClient.UsdFuturesApi.Trading.CancelAllAfterAsync endpoint
- Added restClient.UsdFuturesApi.Account.SetPositionModeAsync and GetPositionModeAsync endpoints
- Added PositionMode properties to response models
- Added All property to retrieve all available environment on BitMartEnvironment
- Added CancelSource property to BitMartOrder model
- Refactored Shared clients quantity parameters and responses to use Shared Quantity
- Updated all IEnumerable response and model types to array response types
- Updated BitMartFuturesOrderUpdate response model
- Replaced BitMartApiCredentials with ApiCredentials
- Fixed incorrect DataTradeMode on certain Shared interface responses
- Removed Newtonsoft.Json dependency
- Removed legacy ISpotClient implementation
- Removed legacy AddBitMart(restOptions, socketOptions) DI overload
- 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
AddBitMart(restOptions, socketOptions)
overload was removed but can be replaced byAddBitMart(options)
, whereoptions.Rest
is the same as the previous versionsrestOptions
andoptions.Socket
is the same as previous versionssocketOptions
. - The BitMartApiCredentials class is removed and is replaced by the ApiCredentials class. Replace existing calls with
new ApiCredentials("KEY", "SECRET", "PASS")
- 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
BitMart
, it is now splitBitMart.RestClient
andBitMart.SocketClient
. Update any logic depending on this accordingly.
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
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 UsdFutures and Spot Shared clients
- Added OptionalExchangeParameters and Supported properties to EndpointOptions
- Added IBookTickerRestClient implementation to UsdFutures and Spot Shared clients
- Added ISpotOrderClientIdClient implementation to Spot Shared client
- Added IFuturesOrderClientIdClient implementation to UsdFutures Shared client
- Added IFuturesTriggerOrderRestClient implementation to UsdFutures Shared client
- Added IPositionModeRestClient implementation to UsdFutures Shared client
- Added IFuturesTpSlRestClient implementation to UsdFutures Shared client
- Added MaxLongLeverage and MaxShortLeverage to SharedFuturesSymbol response model
- Added takeProfitPrice and stopLossPrice support to Shared UsdFutures PlaceOrderAsync method
- Added TakeProfitPrice, StopLossPrice, TriggerPrice and IsTriggerOrder to SharedFuturesOrder model
- Added restClient.UsdFuturesApi.Trading.CancelAllAfterAsync endpoint
- Added restClient.UsdFuturesApi.Account.SetPositionModeAsync and GetPositionModeAsync endpoints
- Added PositionMode properties to response models
- Refactored Shared clients quantity parameters and responses to use Shared Quantity
- Updated all IEnumerable response and model types to array response types
- Updated BitMartFuturesOrderUpdate response model
- Replaced BitMartApiCredentials with ApiCredentials
- Removed Newtonsoft.Json dependency
- Removed legacy ISpotClient implementation
- Removed legacy AddBitMart(restOptions, socketOptions) DI overload
- 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
AddBitMart(restOptions, socketOptions)
overload was removed but can be replaced byAddBitMart(options)
, whereoptions.Rest
is the same as the previous versionsrestOptions
andoptions.Socket
is the same as previous versionssocketOptions
- The BitMartApiCredentials class is removed and is replaced by the ApiCredentials class. Replace existing calls with
new ApiCredentials("KEY", "SECRET", "PASS")
- 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.15.1
- Added ReceiveWindow Rest client option for signed requests
Version 1.15.0
- Added stpMode parameter to restClient.UsdFuturesApi.Trading.PlaceOrderAsync endpoint
- Added restClient.UsdFuturesApi.Trading.EditOrderAsync endpoint
Version 1.14.0
- Added restClient.SpotApi.Account.GetWithdrawalAddressesAsync endpoint
- Added startTime/endTime filter to restClient.SpotApi.Account.GetDepositHistoryAsync and GetWithdrawalHistoryAsync
- Added needUsdValuation to restClient.SpotApi.Account.GetFundingBalancesAsync endpoint
- Added asset parameter to restClient.SpotApi.ExchangeData.GetAssetDepositWithdrawInfoAsync endpoint
- Added restClient.UsdFuturesApi.ExchangeData.GetMarkKlinesAsync endpoint
- Added socketClient.UsdFuturesApi.SubscribeToMarkKlineUpdatesAsync subscription
- Added symbol specific overloads for socketClient.UsdFuturesApi.SubscribeToTickerUpdatesAsync subscription
Version 1.13.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
- Fix Mono runtime exception on rest client construction using DI
Version 1.12.2
- Added BuyerIsMaker property to socketClient.UsdFuturesApi.SubscribeToTradeUpdatesAsync update model
- Added Side to futures API shared interfaces trade subscription