A Simple C# Client API Coines
$ dotnet add package Simple.CoinexA simple C# Coinex API, see Documentation
Install with NuGet
PM> NuGet\Install-Package Simple.Coinex
string accId = "";
string accKey = "";
var client = new CoinexClient(accId, accKey);
The library supports various CoinEx API modules, including:
Example:
// Common module
await client.Common_Ping();
var timeSkew = await client.Common_CalculateSystemTimeSkew();
// Account module
var feeRate = await client.Account_GetTradingFeeRate(Definitions.MarketType.SPOT, "BTCUSDT");
// Assets module
var spotBalance = await client.Asset_GetBalance_Spot();
var transactionHistory = await client.Asset_GetSpotTransactionHistory(Definitions.TransactionType.Trade);
// Spot module
var marketDepth = await client.Spot_GetMarketDepth("BTCUSDT", 10, "0.001");
var candles = await client.Spot_GetMarketCandlestick("BTCUSDT", period: "5min");
Built-in indicators:
Contributions are welcome! Please submit issues or pull requests to the repository.