Tothemoon.Net 0.9.3

dotnet add package Tothemoon.Net --version 0.9.3                
NuGet\Install-Package Tothemoon.Net -Version 0.9.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tothemoon.Net" Version="0.9.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Tothemoon.Net --version 0.9.3                
#r "nuget: Tothemoon.Net, 0.9.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Tothemoon.Net as a Cake Addin
#addin nuget:?package=Tothemoon.Net&version=0.9.3

// Install Tothemoon.Net as a Cake Tool
#tool nuget:?package=Tothemoon.Net&version=0.9.3                

Tothemoon.Net

Tothemoon.Net is a strongly typed client library for accessing the Tothemoon REST API.

Features

  • Response data is mapped to descriptive models
  • Input parameters and response values are mapped to discriptive enum values where possible
  • Client side order book implementation
  • Extensive logging
  • Support for different environments
  • Easy integration with other exchange client based on the CryptoExchange.Net base library

Supported Frameworks

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

.NET implementation Version Support
.NET Core 2.0 and higher
.NET Framework 4.6.1 and higher
Mono 5.4 and higher
Xamarin.iOS 10.14 and higher
Xamarin.Android 8.0 and higher
UWP 10.0.16299 and higher
Unity 2018.1 and higher

How to use

REST Endpoints

// Get the BTC/EUR order book via rest request and display asks
var restClient = new TothemoonRestClient();
var result = await restClient.SpotApi.ExchangeData.GetOrderBookAsync("BTC_EUR");
foreach (var ask in result.Data.Data.Asks.ToList())
{
    Console.WriteLine($"Ask: {ask.Quantity} , {ask.Price}");
}

CryptoExchange.Net

Mexc.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.

Exchange Repository Nuget
Binance JKorf/Binance.Net Nuget version
BingX JKorf/BingX.Net Nuget version
Bitfinex JKorf/Bitfinex.Net Nuget version
Bitget JKorf/Bitget.Net Nuget version
BitMart JKorf/BitMart.Net Nuget version
Bybit JKorf/Bybit.Net Nuget version
Coinbase JKorf/Coinbase.Net Nuget version
CoinEx JKorf/CoinEx.Net Nuget version
CoinGecko JKorf/CoinGecko.Net Nuget version
Crypto.com JKorf/CryptoCom.Net Nuget version
Gate.io JKorf/GateIo.Net Nuget version
HTX JKorf/HTX.Net Nuget version
Kraken JKorf/Kraken.Net Nuget version
Kucoin JKorf/Kucoin.Net Nuget version
OKX JKorf/OKX.Net Nuget version
WhiteBit JKorf/WhiteBit.Net Nuget version

Supported functionality

Spot V3

API Supported Location
Market Data Endpoints restClient.SpotApi.ExchangeData
SubAccount Endpoints X
Acount/Trade restClient.SpotApi.Account / restClient.SpotApi.Trading
Wallet endpoints restClient.SpotApi.Account
Websocket Market Streams X
Websocket User Data Streams X

Release notes

  • Version 1.0.0 - 26 Nov 2024
    • Initial release
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.9.3 211 11/29/2024
0.9.0 89 11/29/2024