OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Htx.net

HTX.Net is an open-source C#/.NET client library that provides strongly typed access to HTX REST and WebSocket APIs for spot and futures trading and market data.

Independent OpenViST project profile, based on linked sources.

Htx.net — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use HTX.Net when building a .NET application that needs structured access to HTX REST or WebSocket APIs, rather than a ready-made exchange interface or trading bot.

Who it is for

  • C#/.NET developers building software that connects to HTX.
  • Teams integrating HTX market data or trading operations into their own applications.
  • Developers seeking shared exchange interfaces for common operations across supported exchanges.

Documented uses

  • Retrieve HTX spot or futures market data through REST calls.
  • Subscribe to ticker updates over WebSocket.
  • Submit documented spot or futures trading requests from an application.
  • Use shared interfaces for common exchange operations where the relevant capability is exposed.
Before you choose

Requirements & limits

The repository identifies the project as open source under the MIT license and documents NuGet, GitHub Packages, and release-download installation options.

  • The library targets .NET Standard 2.0 and 2.1 and newer .NET versions; listed implementations include .NET Core, .NET Framework, Mono, Xamarin, UWP, and Unity.
  • Trading requests require configuring HTX API credentials in the documented order example; the ticker and WebSocket examples do not show credentials.
  • Shared API interfaces expose only the capabilities supported by each API surface.
  • The repository documents client-side rate limiting, WebSocket reconnection management, an order-book implementation, logging, and Native AOT support.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install HTX.Net from NuGet

Add the HTX.Net package to a .NET project.

Before you start

  • A .NET project
  • NuGet package access

Steps

  1. Open a terminal in the project directory.

  2. Run dotnet add package JKorf.HTX.Net.

Expected outcome

The project is configured to use the HTX.Net NuGet package.

Guide limitations

  • This installs the library only; it does not configure credentials or demonstrate an exchange request.
Source-based practical guide

Retrieve an ETH/USDT ticker with REST

Use HTX.Net to request the ETH/USDT ticker and read its close price.

Before you start

  • HTX.Net installed in a .NET project

Steps

  1. Create an HTXRestClient.

  2. Call restClient.SpotApi.ExchangeData.GetTickerAsync("ETHUSDT").

  3. Read the close price from tickerResult.Data.ClosePrice.

Expected outcome

The example obtains the ticker response and accesses its close price.

Guide limitations

  • The example does not show response error handling or demonstrate a successful live exchange request.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
8 October 2026
Original website title
JKorf/HTX.Net · Official homepage title · retained in its source language