Home

Awesome

GateIo.Net GateIo.Net

.NET License

GateIo.Net is a client library for accessing the Gate.io REST and Websocket API.

Features

Supported Frameworks

The library is targeting both .NET Standard 2.0 and .NET Standard 2.1 for optimal compatibility

.NET implementationVersion Support
.NET Core2.0 and higher
.NET Framework4.6.1 and higher
Mono5.4 and higher
Xamarin.iOS10.14 and higher
Xamarin.Android8.0 and higher
UWP10.0.16299 and higher
Unity2018.1 and higher

Install the library

NuGet

NuGet version Nuget downloads

dotnet add package GateIo.Net

GitHub packages

GateIo.Net is available on GitHub packages. You'll need to add https://nuget.pkg.github.com/JKorf/index.json as a NuGet package source.

Download release

GitHub Release

The NuGet package files are added along side the source with the latest GitHub release which can found here.

How to use

For information on the clients, dependency injection, response processing and more see the documentation, or have a look at the examples here or here.

CryptoExchange.Net

GateIo.Net is based on the CryptoExchange.Net base library. Other exchange API implementations based on the CryptoExchange.Net base library are available and follow the same logic.

CryptoExchange.Net also allows for easy access to different exchange API's.

ExchangeRepositoryNuget
BinanceJKorf/Binance.NetNuget version
BingXJKorf/BingX.NetNuget version
BitfinexJKorf/Bitfinex.NetNuget version
BitgetJKorf/Bitget.NetNuget version
BitMartJKorf/BitMart.NetNuget version
BybitJKorf/Bybit.NetNuget version
CoinExJKorf/CoinEx.NetNuget version
CoinGeckoJKorf/CoinGecko.NetNuget version
Huobi/HTXJKorf/Huobi.NetNuget version
KrakenJKorf/Kraken.NetNuget version
KucoinJKorf/Kucoin.NetNuget version
MexcJKorf/Mexc.NetNuget version
OKXJKorf/OKX.NetNuget version

When using multiple of these API's the CryptoClients.Net package can be used which combines this and the other packages and allows easy access to all exchange API's.

Discord

Nuget version
A Discord server is available here. For discussion and/or questions around the CryptoExchange.Net and implementation libraries, feel free to join.

Supported functionality

The following modules are supported of the latest V4 API.

Account & Margin

APISupportedLocation
WithdrawalrestClient.SpotApi.Account
WalletrestClient.SpotApi.Account
SubaccountX
UnifiedrestClient.SpotApi.Account / restClient.SpotApi.ExchangeData
MarginrestClient.SpotApi.Account / restClient.SpotApi.ExchangeData
MarginunirestClient.SpotApi.Account / restClient.SpotApi.ExchangeData
Flash_swapX
EarnuniX
Collateral-LoanX
Multi-Collateral-LoanX
EarnX
AccountrestClient.SpotApi.Account
RebatesX

Spot Rest

APISupportedLocation
AccountrestClient.SpotApi.Account
Public datarestClient.SpotApi.ExchangeData
TradingrestClient.SpotApi.Trading

Spot Websocket

APISupportedLocation
Public datasocketClient.SpotApi
TradingsocketClient.SpotApi

Perpetual Futures Rest

APISupportedLocation
AccountrestClient.PerpetualFuturesApi.Account
Public datarestClient.PerpetualFuturesApi.ExchangeData
TradingrestClient.PerpetualFuturesApi.Trading

Perpetual Futures Websocket

APISupportedLocation
Public datasocketClient.PerpetualFuturesApi
TradingsocketClient.PerpetualFuturesApi

Delivery Futures

APISupportedLocation
*X

Options

APISupportedLocation
*X

Support the project

I develop and maintain this package on my own for free in my spare time, any support is greatly appreciated.

Donate

Make a one time donation in a crypto currency of your choice. If you prefer to donate a currency not listed here please contact me.

Btc: bc1q277a5n54s2l2mzlu778ef7lpkwhjhyvghuv8qf
Eth: 0xcb1b63aCF9fef2755eBf4a0506250074496Ad5b7
USDT (TRX) TKigKeJPXZYyMVDgMyXxMf17MWYia92Rjd

Sponsor

Alternatively, sponsor me on Github using Github Sponsors.

Release notes