Releases: JKorf/OKX.Net
Release list
OKX.Net Version 5.3.1
Fixed Shared API futures trade quantities incorrect notation
OKX.Net Version 5.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 RpiMinLevel, RpiMinPriceBand to OKXInstrument model
Added missing UTC KlineInterval values. Updated Shared API logic to use UTC intervals
Updated SharedFuturesTicker, SharedSpotTicker, SharedTrade and SharedKline to use SharedOrderQuantity for volumes/quantities
Renamed ELP to RPI, added Chase to AdvancedOrderType enum
OKX.Net Version 5.2.0
Updated CryptoExchange.Net to v12.2.0
Added SpotSymbolCatalog to Shared ISpotSymbolRestClient interface
Added FuturesSymbolCatalog to Shared IFuturesSymbolRestClient interface
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to GetSymbolsRequest model
Added DisplayName to SharedSpotSymbol and SharedFuturesSymbol models
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to SharedSpotSymbol and SharedFuturesSymbol models
Added DebuggerDisplay attributes to Shared models
Updated websocket event handlers to handle all items in array instead of first
Fixed Shared websocket order updates labeling filled quantity as base asset instead of contracts
OKX.Net Version 5.1.0
Updated CryptoExchange.Net to v12.1.0
Added Us environment
Added EuropeDemo environment
Added CollateralRestricted to OKXDiscountInfo model
Added PreviousFundingTime to OKXFundingRate model
Added BuyApr, SellApr and Discount to OKXOptionSummary
Added PriceLimitPercentage, InitialPriceLimitPercentage, MaxPlatformOpenInterestLimit, MaxPriceLimitCap and UpcomingChanges to OKXInstrument model
Added custodyType parameter to restClient.UnifiedApi.Account.GetFundingBillHistoryAsync endpoint
Updated FundingBillType enum values
Fixed OKXDeliveryExerciseHistory Symbol deserialization
Removed NextFundingRate from OKXFundingRate model
OKX.Net Version 5.0.2
Fixed symbol name mapping for XPerps in Europe environment
OKX.Net Version 5.0.1
Fixed Shared GetFuturesSymbolsAsync failing if underlying type is not set
OKX.Net Version 5.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
- Added support for Europe environment XPerps when using Shared APIs by setting SharedApiEuropeUseXPerps in the client options
- 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
- Fixed futures symbols cache overwriting when using different trading modes
- 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 OKXExchange.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
OKX.Net Version 4.15.0
Updated CryptoExchange.Net to version 11.2.2
Added restClient.UnifiedApi.Account.GetGreeksAsync endpoint
Added socketClient.UnifiedApi.Account.SubscribeToGreeksUpdatesAsync subscription
Fixed user client provider not caching new client when previous client was disposed
OKX.Net Version 4.14.0
Updated CryptoExchange.Net to version 11.2.0
Added maxSlippagePercentage parameter to PlaceOrder endpoints
Added PostOnly value to InstrumentState enum
OKX.Net Version 4.13.0
Added CallbackRatio, CallbackSpread, ActivePrice parameters for attached algo orders on place order endpoints