iarash84 / hitbtc.net

HitBTC Websocket API 2.0 Client written in C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hitbtc

HitBTC Websocket API 2.0 Client written in C#.
A full-featured .NET Hitbtc API designed for ease of use.
Compatible with .NET 4.5.1, .NET 4.5.2, .NET 4.6.1, .NETSTANDARD 2.0

Getting Started

Go to https://hitbtc.com/settings/api-keys and create your api keys

Quick Examples

using Hitbtc;

var hitBtcRestApi = new HitBtcRestApi();
if (!hitBtcRestApi.IsAuthorized)
	hitBtcRestApi.Authorize(ApiKey, SecretKey);

//var response = await hitBtcRestApi.Trading.GetBalance();
//var response = await hitBtcRestApi.Trading.GetFee("BTCUSD");
var response = await hitBtcRestApi.Trading.GetOrders("BTCUSD");

Web Socket

Get real-time aggregate trades.

using Hitbtc;

var hitBtcSocketApi = new HitBtcSocketApi();
//var response = await hitBtcSocketApi.MarketData.GetCurrency("ETH");
//var response = await hitBtcSocketApi.MarketData.GetCurrencies();
var response = await hitBtcSocketApi.MarketData.UnsubscribeCandles("BTCUSD");

Donate

If you find this tool useful, you can show you support with a kind donation:

ETH: 0x4e135a99630a391b71979a57f34f85ad28a1a1ef
LTC: LLgZmzfLA6uLTVqCfZBHub3C3dhjBbMxk2
BTC: 3QuChD5q4FXU8iW3zCsCV6GJvcJegAvTsi

Thank you.

About

HitBTC Websocket API 2.0 Client written in C#


Languages

Language:C# 100.0%