BinanceUriCache 1.0.2.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package BinanceUriCache --version 1.0.2.3
NuGet\Install-Package BinanceUriCache -Version 1.0.2.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="BinanceUriCache" Version="1.0.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BinanceUriCache --version 1.0.2.3
#r "nuget: BinanceUriCache, 1.0.2.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 BinanceUriCache as a Cake Addin
#addin nuget:?package=BinanceUriCache&version=1.0.2.3

// Install BinanceUriCache as a Cake Tool
#tool nuget:?package=BinanceUriCache&version=1.0.2.3

Binance Uri Cache

Nuget

The UriCacheClient prevents the unnecessary creation of Uris for requests by storing all variations of them in a cache as a static block of strings and provides a simple way to change controllers

Rest Usage

Each UriEndpoint has a Uri for each BinanceApiController

You can get the currently selected controller with GetEndpoint

UriCacheClient.Market.Spot.RecentTradeHistory.GetEndpoint

You can also Get each one individually

UriCacheClient.Market.Spot.RecentTradeHistory.GetOne
UriCacheClient.Market.Spot.RecentTradeHistory.GetTwo
UriCacheClient.Market.Spot.RecentTradeHistory.GetThree
UriCacheClient.Market.Spot.RecentTradeHistory.GetFour
UriCacheClient.Market.Spot.RecentTradeHistory.GetFive
UriCacheClient.Market.Spot.RecentTradeHistory.GetDefault
UriCacheClient.Market.Spot.RecentTradeHistory.GetTest

Websocket Usage

UriCacheClient.GetStream()

Change Api Controller

You can change controller by setting UriCacheClient.CurrentEndpointController

BinanceApiController Controller URI Websocket URI
DEFAULT api.binance.com stream.binance.com:9443
ONE api1.binance.com stream1.binance.com:9443
TWO api2.binance.com stream2.binance.com:9443
THREE api3.binance.com stream3.binance.com:9443
FOUR api4.binance.com stream4.binance.com:9443
FIVE api-gcp.binance.com
TEST testnet.binance.vision testnet.binance.vision

This will change which BinanceApiController is returned by GetHostBaseAddressString() and GetStream() and Abstract.UriEndpoint.GetEndpoint

What Endpoints are Supported?

Includes all Basic Endpoints of the Binance API, Including some that aren't in the list below

Feature Support Websocket
Spot Full Yes
Margin Full Yes
Isolated Full Yes
Account Full Yes
Symbols Full Yes
Trades Full Yes
Order Updates Full Yes
Tickers Full Yes
User Data Streams Full Yes
Lending Full -
Transfers Full -
Fiat History -

Some URIs aren't supported, examples include

Feature Support
Order Book No
SubAccounts No
Futures No
Swaps No
Options No
Mining No
Brokerage No
NFT Related No
Withdrawal No
Deposit No
Savings No

Copyright S Christison ©2023-2024

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BinanceUriCache:

Package Downloads
BinanceAPI.NET

High Performance Rest API/Websocket Wrapper for Binance.com

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2.4 527 4/11/2024
1.0.2.3 3,816 3/12/2024
1.0.1.6 18,145 6/15/2023