Skip to content

Releases: JKorf/GateIo.Net

GateIo.Net Version 2.6.1

21 Aug 12:21
Compare
Choose a tag to compare
  • Added websocket error mapping

GateIo.Net Version 2.6.0

20 Aug 11:22
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.5.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
  • Added improved error parsing
  • Added Rebate endpoints
  • Updated rest request sending too prevent duplicate parameter serializationRemoved incorrect RequiredExchangeParameter notation on Shared SpotApi GetBookTickerAsync request
  • Fixed incorrect RequiredExchangeParameter in Shared spot GetBookTickerAsync endpoint

Updates notes:

  • Error.Code is deprecated, use Error.ErrorCode instead for checking specific errors

GateIo.Net Version 2.5.0

04 Aug 11:37
Compare
Choose a tag to compare

GateIo.Net Version 2.4.0

23 Jul 12:21
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.3.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
  • Updated websocket message matching
  • Added Deduction property to GateIoRiskLimitTier model
  • Added EnableTieredMaintenanceMargin property to GateIoFuturesAccount model
  • Added AverageMaintenanceRate to GateIoPosition model
  • Fixed incorrect orderbook subscription in shared futures SubscribeToOrderBookUpdatesAsync

GateIo.Net Version 2.3.0

15 Jul 11:14
Compare
Choose a tag to compare

Version 2.2.0

20 Jun 09:40
Compare
Choose a tag to compare
  • Added DelistTime and TradeUrl properties to GateIoSymbol model
  • Added UpdateTime property to GateIoBalance model
  • Added QuantityFilled property to GateIoOrderUpdate
  • Added Spot websocket Order update Event property mapping to enum values
  • Updated OrderFinishType enum values

Version 2.1.0

02 Jun 07:18
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.1.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
  • Added (I)GateIoUserClientProvider allowing for easy client management when handling multiple users
  • Added restClient.PerpetualFuturesApi.Account.SetMarginModeAsync endpoint
  • Added OneSecond value to KlineInterval enum
  • Added socketClient.PerpetualFuturesApi.SubscribeToOrderBookV2UpdatesAsync subscription

Version 2.0.0

13 May 14:08
Compare
Choose a tag to compare
  • 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 PerpetualFutures and Spot Shared clients
  • Added IBookTickerRestClient implementation to PerpetualFuturesApi and SpotApi Shared client
  • Added IFuturesOrderClientIdClient implementation to PerpetualFuturesApi Shared client
  • Added IFuturesTriggerOrderRestClient implementation to PerpetualFuturesApi Shared client
  • Added IFuturesTpSlRestClient implementation to PerpetualFuturesApi Shared client
  • Added ISpotOrderClientIdClient implementation to SpotApi Shared client
  • Added ISpotTriggerOrderRestClient implementation to SpotApi Shared client
  • Added MaxLongLeverage, MaxShortLeverage properties to SharedFuturesSymbol model
  • Added QuoteVolume property mapping to SharedSpotTicker model
  • Added OptionalExchangeParameters and Supported properties to EndpointOptions
  • Added All property to retrieve all available environment on GateIoEnvironment
  • Refactored Shared clients quantity parameters and responses to use SharedQuantity
  • Updated all IEnumerable response and model types to array response types
  • Updated order rate limiter to consider rate limits per symbol
  • Updated restClient.PerpetualFuturesApi.Account.GetAccountAsync response model
  • Removed Newtonsoft.Json dependency
  • Removed legacy ISpotClient implementation
  • Removed legacy AddGateIo(restOptions, socketOptions) DI overload
  • Fixed some typos
  • Fixed incorrect DataTradeMode on certain Shared interface responses
  • Fixed restClient.SpotApi.Account.GetTransferHistoryAsync limit parameter serialization
  • Fixed restClient.PerpetualFuturesApi.Trading.UpdateDualModePositionLeverageAsync endpoint

Updates notes:

  • Processing responses which previously returned an IEnumerable now return an array. Although you can still call ToList or ToArray this overhead can now be removed
  • The AddGateIo(restOptions, socketOptions) overload was removed but can be replaced by AddGateIo(options), where options.Rest is the same as the previous versions restOptions and options.Socket is the same as previous versions socketOptions.
  • When providing quantities for the Shared interfaces you now need to specify the type of quantity: SharedQuantity.Base(/*qty*/), SharedQuantity.Quote(/*qty*/) or SharedQuantity.Contracts(/*qty*/).
  • Quantity responses for the Shared interfaces have the same logic, quantities are wrapped in the SharedOrderQuantity model, containing the QuantityInBaseAsset, QuantityInQuoteAsset and QuantityInContracts 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 GateIo, it is now split GateIo.RestClient and GateIo.SocketClient. Update any logic depending on this accordingly.

Version 2.0.0-beta3

01 May 11:55
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net version to 9.0.0-beta5
  • Added property to retrieve all available API environments

Version 2.0.0-beta2

23 Apr 13:51
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.0.0-beta2
  • Added Shared spot ticker QuoteVolume mapping
  • Fixed incorrect DataTradeMode on responses