Repository navigation
Releases
BloFin.Net Version 4.0.0
- Spot API
- Added Spot API implementation
- Added Options.SpotOptions
- Added Spot UserDataTracker implementation
- Added Spot support for SymbolOrderBook
- Shared API
- Added Shared Spot API implementation
- Added Shared ISubscribeFundingInfoSocket implementation to futures socket API
- Added Shared IGetMarkPriceRest, IGetAllMarkPricesRest, IGetFundingInfoRest, IGetLeverageTiersRest, IPlaceMultipleFuturesOrdersRest, IEditFuturesOrderRest, IEditFuturesOrderByClientOrderIdRest and IGetAllAssetsRest implementations to futures rest API
- Added restClient.FuturesApi.Account.GetAssetsAsync endpoint
- Added restClient.FuturesApi.Trading.EditOrderAsync endpoint
- Added multiPositionMode parameter to restClient.FuturesApi.Account.SetPositionModeAsync endpoint
- Added takeProfitTriggerPriceType, stopLossTriggerPriceType, positionId parameters to restClient.FuturesApi.Trading.PlaceOrderAsync endpoint
- Added TrailingStop value to AlgoOrderType Enum
- Added GoodTillCancel value to OrderType Enum
- Added OrderType, OrderPrice, TargetAsset to BloFinAlgoOrder model
- Added FundingInterval, FundingRateCap, FundingRateFloor, FundingIntervalUnit to BloFinFundingRate model
- Added PositionId, FeeAsset, TargetAsset to BloFinOrder model
- Added Timestamp to BloFinOrderBook model
- Added MultiPositionMode to BloFinPositionMode model
- Added ApiTradePermission to BloFinSymbol model
- Added PositionId to BloFinTpSlOrder model
- Added PositionId, FeeAsset to BloFinUserTrade model
- Updated nullability on order, trade and balance models
- Updated Options.ExchangeOptions to Options.FuturesOptions
- Updated socketClient.FuturesApi.SubscribeToFundingRateUpdatesAsync update type to BloFinFundingUpdate model
- Updated restClient.FuturesApi.ExchangeData.GetIndexMarkPriceAsync and GetFundingRateAsync response to array type and made symbol parameter optional
- Fixed restClient.FuturesApi.Trading.PlaceMultipleOrdersAsync endpoint
BloFin.Net Version 3.6.0
Updated CryptoExchange.Net to V13.1.0
BloFin.Net Version 3.5.0
- Updated CryptoExchange.Net to v13.0.0
- Shared APIs
- Added SharedApi V2 support
- Added
.SharedApiproperty to clients - Added
(I)BloFinSharedApiClientcontaining all V2 SharedApi references - Added
SharedApitoBloFinOptionsto 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
BloFin.Net Version 3.4.0
Updated to CryptoExchange.Net v12.5.0
Fixed BloFinTrackerFactory CanCreateTradeTracker returning true for spot symbols
BloFin.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
Added OfflineTime, AssetClass to BloFinSymbol model, updated Shared GetFuturesSymbolsAsync asset classification logic
Updated SharedFuturesTicker, SharedSpotTicker, SharedTrade and SharedKline to use SharedOrderQuantity for volumes/quantities
BloFin.Net Version 3.2.0
Updated CryptoExchange.Net to v12.2.0
Added FuturesSymbolCatalog to Shared IFuturesSymbolRestClient interface
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to GetSymbolsRequest model
Added DisplayName to SharedFuturesSymbol model
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to SharedFuturesSymbol model
Added DebuggerDisplay attributes to Shared models
Added restClient.FuturesApi.ExchangeData.GetSymbolsV3Async endpoint
BloFin.Net Version 3.1.0
Updated CryptoExchange.Net to v12.1.0
Added Tag property to BloFinDeposit model
Added ThresholdX/Y/Z properties to BloFinSymbol model
BloFin.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 BloFinExchange.RateLimiter to allow custom rate limit settings
- Various small performance improvements
- Fixed websocket connection attempts counting towards rate limit even when server could not be reached
BloFin.Net Version 2.12.0
Updated CryptoExchange.Net to version 11.2.2
Fixed user client provider not caching new client when previous client was disposed
BloFin.Net Version 2.11.0
Updated CryptoExchange.Net to version 11.2.0