Binance.Net 9.9.7

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

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

.Binance.Net Binance.Net

.NET License

Binance.Net is a strongly typed client library for accessing the Binance REST and Websocket API. All data is mapped to readable models and enum values. Additional features include an implementation for maintaining a client side order book, easy integration with other exchange client libraries and more.

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

Get the library

Nuget version Nuget downloads

dotnet add package Binance.Net

How to use

REST Endpoints

// Get the ETH/USDT ticker via rest request
var restClient = new BinanceRestClient();
var tickerResult = await restClient.SpotApi.ExchangeData.GetTickerAsync("ETHUSDT");
var lastPrice = tickerResult.Data.LastPrice;

Websocket streams

// Subscribe to ETH/USDT ticker updates via the websocket API
var socketClient = new BinanceSocketClient();
var tickerSubscriptionResult = socketClient.SpotApi.ExchangeData.SubscribeToTickerUpdatesAsync("ETHUSDT", (update) => 
{
  var lastPrice = update.Data.LastPrice;
});

Get started and request the last price of a symbol in 40 seconds

<img src="https://github.com/JKorf/Binance.Net/blob/f74f262151f21b123deecd9b39a717458a18f6ff/docs/Binance.gif" width="600" />

For information on the clients, dependency injection, response processing and more see the Binance.Net documentation, CryptoExchange.Net documentation, or have a look at the examples here or here.

CryptoExchange.Net

Binance.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
BingX JKorf/BingX.Net Nuget version
Bitfinex JKorf/Bitfinex.Net Nuget version
Bitget JKorf/Bitget.Net Nuget version
Bybit JKorf/Bybit.Net Nuget version
CoinEx JKorf/CoinEx.Net Nuget version
CoinGecko JKorf/CoinGecko.Net Nuget version
Huobi/HTX JKorf/Huobi.Net Nuget version
Kraken JKorf/Kraken.Net Nuget version
Kucoin JKorf/Kucoin.Net Nuget version
Mexc JKorf/Mexc.Net Nuget version
OKX JKorf/OKX.Net Nuget version

Discord

Nuget version
A Discord server is available here. For discussion and/or questions around the CryptoExchange.Net and implementation libraries, feel free to join.

Supported functionality

Spot/Margin/Savings/Mining

API Supported Location
Wallet endpoints restClient.SpotApi.Account
SubAccount endpoints restClient.GeneralApi.SubAccount
Market data endpoints restClient.SpotApi.ExchangeData
Websocket Market Streams socketClient.SpotApi.ExchangeData
Spot Trading Endpoints restClient.SpotApi.Trading
Spot Account Endpoints restClient.SpotApi.Account
Margin Account/Trade Partial restClient.SpotApi.Account / restClient.SpotApi.Trading
User Data Streams socketClient.SpotApi.Account
Margin User Data Streams X
Simple Earn Endpoints restClient.GeneralApi.SimpleEarn
Auto-Invest Endpoints X
Staking Endpoints restClient.GeneralApi.Staking
Mining Endpoints restClient.GeneralApi.Mining
Futures restClient.GeneralApi.Futures
Futures Algo Endpoints restClient.UsdFuturesApi.Trading
Spot Algo Endpoints restClient.SpotApi.Trading
Classic Portfolio Margin Endpoints Partial restClient.SpotApi.Account
BLVT Endpoints Partial restClient.SpotApi.Account / restClient.SpotApi.ExchangeData / restClient.SpotApi.Trading
Fiat Endpoints restClient.SpotApi.Account
C2C Endpoints restClient.SpotApi.Trading
VIP Loans Endpoints X
Crypto Loans Endpoints Partial restClient.GeneralApi.Loans
Pay Endpoints restClient.SpotApi.Trading
Convert Endpoints restClient.SpotApi.ExchangeData / restClient.SpotApi.Trading
Rebate Endpoints restClient.SpotApi.Account
NFT Endpoints X
Binance Gift Card Endpoints X

USD-M Futures

API Supported Location
Market data Endpoints restClient.UsdFuturesApi.ExchangeData
Websocket Market Streams socketClient.UsdFuturesApi
Account/Trades Endpoints restClient.UsdFuturesApi.Account / restClient.UsdFuturesApi.Trading
User Data Streams socketClient.UsdFuturesApi
Classic Portfolio Margin Endpoints X

COIN-M Futures

API Supported Location
Market data Endpoints restClient.CoinFuturesApi.ExchangeData
Websocket Market Streams socketClient.CoinFuturesApi
Account/Trades Endpoints restClient.CoinFuturesApi.Account / restClient.CoinFuturesApi.Trading
User Data Streams socketClient.CoinFuturesApi
Classic Portfolio Margin Endpoints X

European Options

API Supported Location
* X

Websocket API

API Supported Location
Market data requests socketClient.SpotApi.ExchangeData
Trading requests socketClient.SpotApi.Trading
Account requests socketClient.SpotApi.Account

Portfolio Margin

API Supported Location
* X

Support the project

I develop and maintain this package on my own for free in my spare time, any support is greatly appreciated.

Make a one time donation in a crypto currency of your choice. If you prefer to donate a currency not listed here please contact me.

Btc: bc1q277a5n54s2l2mzlu778ef7lpkwhjhyvghuv8qf
Eth: 0xcb1b63aCF9fef2755eBf4a0506250074496Ad5b7
USDT (TRX) TKigKeJPXZYyMVDgMyXxMf17MWYia92Rjd

Alternatively, sponsor me on Github using Github Sponsors.

Release notes

  • Version 9.9.7 - 07 May 2024

  • Version 9.9.6 - 05 May 2024

    • Updated various response models
    • Updated CoinFuturesApi.Account.GetBracketsAsync to V2 endpoint
    • Updated CoinFuturesApi.Trading.PlaceMultipleOrdersAsync orders parameter from array to IEnumerable
  • Version 9.9.5 - 01 May 2024

  • Version 9.9.4 - 28 Apr 2024

  • Version 9.9.3 - 23 Apr 2024

  • Version 9.9.2 - 19 Apr 2024

    • Added CoinFuturesApi.Account.GetDownloadIdForTransactionHistoryAsync endpoint
    • Added CoinFuturesApi.Account.GetDownloadLinkForTransactionHistoryAsync endpoint
    • Added SpotApi.ExchangeData.GetTradingDayTickerAsync endpoint
    • Added SpotApi.ExchangeData.GetTradingDayTickersAsync endpoint
    • Added computeFeeRates parameter to SpotApi.Trading.PlaceTestOrderAsync
    • Updated SpotApi.Trading.PlaceTestOrderAsync response
    • Updated broker reference setting
    • Updated CryptoExchange.Net to 7.3.2 fixing issue which caused some endpoints with specific rate limits to fail
  • Version 9.9.1 - 19 Apr 2024

    • Fixed Start/KeepAlive/Stop UserStream operations returning error
  • Version 9.9.0 - 18 Apr 2024

    • Updated CryptoExchange.Net to 7.3.1, see https://github.com/JKorf/CryptoExchange.Net?tab=readme-ov-file#release-notes for release notes
    • Re-implemented client side rate limiting
    • Added handling of RetryAfter response for both rest and socket API
    • Added omitZeroBalances parameter to SpotApi.Account.GetAccountInfoAsync
    • Added new PlaceOcoOrderListAsync as replacement for deprecated PlaceOcoOrderAsync endpoint
    • Added listenKeyExpired event handler for Spot websocket user data subscription
    • Added OTOAllowed to SpotApi.ExchangeData.GetExchangeInfoAsync symbol response model
    • Moved GetTradeFeeAsync from SpotApi.ExchangeData to SpotApi.Account
    • Changed WebCallResult<object> responses to WebCallResult
    • Removed deprecated endpoints
  • Version 9.8.1 - 03 Apr 2024

    • Added SpotApi.Account.GetWalletBalancesAsync endpoint
    • Fixed SpotApi.Account.GetMarginLoansAsync isolatedSymbol parameter not getting send
    • Removed pre-send symbol validation
  • Version 9.8.0 - 01 Apr 2024

    • Added SpotApi.ExchangeData.GetDelistScheduleAsync endpoint
    • Added UsdFuturesApi.Account.GetOrderRateLimitAsync endpoint
    • Added UsdFuturesApi.ExchangeData.GetBasisAsync endpoint
    • Updated Spot Margin endpoints
    • Updated UsdFuturesApi.ExchangeData.GetPricesAsync endpoint to V2
    • Updated UsdFuturesApi.Trading.PlaceOrderAsync parameters
    • Removed deprecated BSwap endpoints
  • Version 9.7.1 - 24 Mar 2024

  • Version 9.7.0 - 16 Mar 2024

    • Updated CryptoExchange.Net to 7.1.0, see https://github.com/JKorf/CryptoExchange.Net?tab=readme-ov-file#release-notes for release notes
    • Added websocket max message size to prevent timeouts and weird behavior when sending large requests
    • Updated WebCallResult<object> return endpoints to WebCallResult return
    • Added parameter on futures stream trades stream for ignoring non trade updates
  • Version 9.6.1 - 29 Feb 2024

    • Fix for user data websocket streams subscriptions
  • Version 9.6.0 - 27 Feb 2024

    • Added REST endpoints for Simple Earn under client.GeneralApi.SimpleEarn
    • Fixed futures userdata websocket subscription
    • Some small fixed in some enum values and models
  • Version 9.5.0 - 25 Feb 2024

    • Updated CryptoExchange.Net and implemented reworked websocket message handling. For release notes for the CryptoExchange.Net base library see: https://github.com/JKorf/CryptoExchange.Net?tab=readme-ov-file#release-notes
    • Fixed issue in DI registration causing http client to not be correctly injected
    • Removed redundant BinanceRestClient constructor overload
    • Updated some namespaces
  • Version 9.4.0 - 05 Jan 2024

    • Added futures Trading.GetFundingInfoAsync endpoint
    • Added autoRepayAtCancel and selfTradePreventionMode parameters to SpotApi.Trading.PlaceMarginOCOOrderAsync
    • Added MarkPrice to futures funding rate models
    • Updated and combined futures order models
    • Updated withdraw history model
  • Version 9.3.0 - 26 Dec 2023

    • Added selfTradePreventionMode and autoRepayAtCancel parameters to SpotApi.Trading.PlaceMarginOrderAsync
    • Updated SpotApi.ExchangeData.GetProductsAsync response model
    • Updated Usdt futures position model
    • Updated orderId parameter to long type on socket client SpotApi.Trading.GetOrderAsync and SpotApi.Trading.CancelOrderAsync
  • Version 9.2.0 - 03 Dec 2023

    • Added Convert endpoints
    • Updated default ratelimits
    • Fixed handling of ratelimit errors
    • Added missing trade group enum values
  • Version 9.1.7 - 24 Nov 2023

    • Added missing BreakEvenPrice property on PositionInfo model
    • Fixed deserialization issue on ratelimiters socket client GetExchangeInfoAsync
  • Version 9.1.6 - 29 Oct 2023

    • Added broker reference option
  • Version 9.1.5 - 24 Oct 2023

    • Updated CryptoExchange.Net
  • Version 9.1.4 - 09 Oct 2023

    • Updated CryptoExchange.Net version
  • Version 9.1.3 - 23 Sep 2023

    • Fixed GetExchangeInfoAsync missing enum mapping
    • Added Common clients to DI container
  • Version 9.1.2 - 06 Sep 2023

    • Added GoodTillDate TimeInForce enum value, fixing UsdFutures.ExchangeData.GetExchangeInfoAsync endpoint deserialization error
  • Version 9.1.1 - 02 Sep 2023

    • Added missing account permissions
  • Version 9.1.0 - 25 Aug 2023

    • Removed deprecated endpoints
    • Updated models
    • Added support for rate limiting on the socket client
    • Updated the weights and rate limits for the websocket API
    • Added restClient.GeneralApi.Futures.GetAdjustCrossCollateralLoanToValueHistoryAsync
    • Added restClient.GeneralApi.Futures.GetCrossCollateralLiquidationHistoryAsync
    • Added restClient.GeneralApi.Futures.GetCrossCollateralInterestHistoryAsync
    • Added restClient.GeneralApi.CryptoLoans.GetLoanableAssetsAsync
    • Added restClient.GeneralApi.CryptoLoans.GetCollateralAssetsAsync
    • Added restClient.GeneralApi.CryptoLoans.GetCollateralRepayRateAsync
    • Added restClient.GeneralApi.CryptoLoans.CustomizeMarginCallAsync
    • Added restClient.GeneralApi.Mining.GetMiningAccountEarningsAsync
    • Added restClient.SpotApi.Account.CrossMarginAdjustMaxLeverageAsync
    • Added restClient.SpotApi.Account.ConvertBusdAsync
    • Added restClient.SpotApi.Account.GetBusdConvertHistoryAsync
    • Added restClient.SpotApi.Account.GetCloudMiningHistoryAsync
    • Added restClient.SpotApi.Account.GetIsolatedMarginFeeDataAsync
    • Added restClient.SpotApi.Account.GetMarginAssetsBnbConvertableAsync
    • Added restClient.SpotApi.Account.MarginDustTransferAsync
    • Added restClient.SpotApi.Account.GetCrossMarginSmallLiabilityExchangeAssetsAsync
    • Added restClient.SpotApi.Account.CrossMarginSmallLiabilityExchangeAsync
    • Added restClient.SpotApi.Account.GetCrossMarginSmallLiabilityExchangeHistoryAsync
    • Added restClient.SpotApi.ExchangeData.GetFutureHourlyInterestRateAsync
    • Added restClient.SpotApi.ExchangeData.GetMarginDelistScheduleAsync
    • Added restClient.SpotApi.Trading.GetUnclaimedLiquidityPoolsRewardsAsync
    • Added restClient.SpotApi.Trading.ClaimLiquidityPoolsRewardsAsync
    • Added restClient.SpotApi.Trading.GetLiquidityPoolsClaimHistoryAsync
    • Added restClient.SpotApi.Trading.PlaceSpotTimeWeightedAveragePriceOrderAsync
    • Added restClient.SpotApi.Trading.CancelSpotAlgoOrderAsync
    • Added restClient.SpotApi.Trading.GetSpotOpenAlgoOrdersAsync
    • Added restClient.SpotApi.Trading.GetSpotClosedAlgoOrdersAsync
    • Added restClient.SpotApi.Trading.GetSpotAlgoSubOrdersAsync
  • Version 9.0.5 - 06 Aug 2023

    • Added Usd Futures EditOrder endpoint
    • Added cancelRestriction parameter to spot CancelOrder and ReplaceOrder endpoints
  • Version 9.0.4 - 11 Jul 2023

    • Fixed GetUniversalTransferHistoryAsync deserialization
  • Version 9.0.3 - 11 Jul 2023

    • Fixed GetUniversalTransferHistoryAsync deserialization
  • Version 9.0.2 - 06 Jul 2023

    • Fixed socket client options copying
  • Version 9.0.1 - 25 Jun 2023

    • Fix for invalid build
  • Version 9.0.0 - 25 Jun 2023

    • Updated CryptoExchange.Net to version 6.0.0
    • Renamed BinanceClient to BinanceRestClient
    • Renamed UsdFuturesStreams and CoinFuturesStreams to UsdFuturesApi and CoinFuturesApi on the BinanceSocketClient
    • Updated endpoints to consistently use a base url without any path as basis to make switching environments/base urls clearer
    • Removed BinanceApiCredentials as the base ApiCredentials now supports RSA signing
    • Added IBinanceOrderBookFactory and implementation for creating order books
    • Updated dependency injection register method (AddBinance)
  • Version 8.6.3 - 19 Jun 2023

    • Fixed trading rules check not actually applying to the parameters send when placing an order with the socket client
  • Version 8.6.2 - 22 May 2023

    • Added orderId filter to futures GetUserTradesAsync endpoints
    • Fixed missing writers for BinanceSymbolFilter serialization
  • Version 8.6.1 - 14 May 2023

    • Added TradeRules validation to websocket PlaceOrder endpoint
    • Corrected futures all book tickers stream response model
    • Added futures contractInfo streams
  • Version 8.6.0 - 06 May 2023

    • Added Websocket API implementation
  • Version 8.5.1 - 20 Apr 2023

    • Fixed deserialization error on trade update
  • Version 8.5.0 - 17 Apr 2023

    • Added futures individual trade streams
    • Added coin futures all mark prices stream
    • Added Spot AutoConvertStableCoin endpoints
    • Added GetCrossMarginCollateralRatio endpoint
    • Added missing parameters to spot place order parameters
    • Added self trade prevention support
    • Fixed and updated various models
  • Version 8.4.4 - 12 Apr 2023

    • Fixed deserialization issue SpotApi.GetExchangeInfoAsync()
    • Updated CryptoExchange.Net
  • Version 8.4.3 - 18 Mar 2023

    • Fixed order deserialization when trailing delta timestamp is present
    • Updated subaccount ip restriction endpoints
    • Updated CryptoExchange.Net
  • Version 8.4.2 - 16 Feb 2023

    • Fixed rate limiting issue with high UID weight requests
  • Version 8.4.1 - 14 Feb 2023

    • Updated CryptoExchange.Net
    • Fixed Http Method on SpotApi.Trading.GetConvertTransferHistoryAsync request
    • Fixed request weight on SpotApi.Account.GetFiatDepositWithdrawHistoryAsync
  • Version 8.4.0 - 09 Feb 2023

    • Added support for RSA request authentication
  • Version 8.3.1 - 05 Feb 2023

    • Removed all book ticker stream subscription as it has been deprecated
    • Added Strategy and Grid update events to user stream subscription
    • Fixed missing IndexPrice on UsdFutures.SubscribeToAllMarkPriceUpdatesAsync
    • Updated AccountConfigUpdate event model
  • Version 8.3.0 - 17 Nov 2022

    • Updated CryptoExchange.Net
    • Fixed BinanceConvertTransferRecord DeductedQuantity property
    • Fixed UsdFutures ContinuousContractKlines deserialization
  • Version 8.2.0 - 03 Oct 2022

    • Added CryptoLoans endpoints
    • Added ConvertTransfer endpoints
    • Added GetMarginLevelInformationAsync endpoint
    • Added GetExchangeInfoAsync spot account type overloads
    • Renamed Lending endpoints to Savings endpoints
    • Added missing OrderRejectReason
    • Fixed incorrect AllowFailure enum serialization on SpotApi.ReplaceOrderAsync
    • Fixed ticker interface for futures streams
  • Version 8.1.10 - 04 Sep 2022

    • Added missing (and future) account types, fixes warnings being generated in SpotApi.Trading.GetExchangeInfoAsync
  • Version 8.1.9 - 24 Aug 2022

    • Added SpotApi.ExchangeData.GetUiKlinesAsync endpoint
    • Added 1 second kline interval support
    • Added new Notional filter for BinanceSymbols
    • Added Brokered to SpotApi.Account.GetAccountInfoAsync response model
  • Version 8.1.8 - 13 Aug 2022

    • Added new endpoints:
      • SpotApi.Trading.ReplaceOrderAsync
      • SpotApi.ExchangeData.GetRollingWindowTickersAsync
      • SpotApi.Account.GetBalancesAsync
      • SpotApi.Account.GetMarginDustLogAsync
      • SpotApi.Acocunt.PortfolioMargin endpoints
    • Added rolling window ticker socket stream
    • Added ListenKey property to user stream updates
    • Fixed BinanceRebate quantity deserialization
    • Updated some request weights
  • Version 8.1.7 - 18 Jul 2022

    • Updated CryptoExchange.Net
  • Version 8.1.6 - 16 Jul 2022

    • Fixed MarginToIsolatedMargin UniversalTransferType serialization
    • Fixed max position filter serialization
    • Updated CryptoExchange.Net
  • Version 8.1.5 - 12 Jul 2022

    • Fixed missing AccountType enum value causing error when deserializing GetExchangeInfoAsync
    • Fixed future deserialization failing when there's an unknown account type
  • Version 8.1.4 - 10 Jul 2022

    • Added BalanceChange property in futures account update
    • Fixed GetPositionAdlQuantileEstimationAsync deserialization when symbol parameter is used
    • Updated CryptoExchange.Net
  • Version 8.1.3 - 12 Jun 2022

    • Fixed invalid signature error on multiple subaccount endpoints
    • Fixed incorrect max limit on spot GetKlinesAsync
    • Fixed missing datetime converter on rebate UpdateTime property
    • Updated CryptoExchange.Net
  • Version 8.1.2 - 24 May 2022

    • Fixed quoteQuantity not being passed on after checking trade rules
    • Fixed Blvt stream address and moved it to Spot
    • Updated CryptoExchange.Net
  • Version 8.1.1 - 23 May 2022

    • Fixed parameter order trailing delta in PlaceOrderAsync
  • Version 8.1.0 - 22 May 2022

    • Added LeveragedTokens user limit endpoint
    • Added Staking endpoints
    • Added USD futures transaction history download endpoints
    • Added USD futures algo orders endpoints
    • Added margin order rate limit endpoint
    • Added interest margin data endpoint
    • Added symbol collection overloads for GetPricesAsync, GetBookPricesAsync and GetTickersAsync
    • Added symbol parameter for subaccount transfer
    • Added margin account types for subaccount transfer
    • Added TrailingDelta support
    • Added quoteQuantity minimal notional value TradeRule validation
    • Renamed GetAllBookPricesAsync to GetBookPricesAsync
  • Version 8.0.13 - 08 May 2022

    • Added TierAnnualInterestRate to BinanceFlexibleProductPosition
    • Changed GetFlexibleProductPositionAsync asset parameter to be optional
    • Updated CryptoExchange.Net
  • Version 8.0.12 - 01 May 2022

    • Updated CryptoExchange.Net which fixed an timing related issue in the websocket reconnection logic
    • Fixed TrailingDelta symbol filter serialization
    • Added seconds representation to KlineInterval enum
  • Version 8.0.11 - 20 Apr 2022

    • Added trailing delta symbol filter parsing
  • Version 8.0.10 - 14 Apr 2022

    • Fixed request weight for order book requests
    • Updated CryptoExchange.Net
  • Version 8.0.9 - 18 Mar 2022

    • Fixed Spot MiniTicker subscription having swapped base/quote volume properties
    • Fixed exception getting thrown when CancelOrderAsync on USD futures fails
  • Version 8.0.8 - 10 Mar 2022

    • Changed MobileNumber type from long to string, fixing GetSubAccountStatusAsync deserialization when no phone number is defined
    • Updated CryptoExchange.Net
  • Version 8.0.7 - 08 Mar 2022

    • Fixed inconsistent naming in BinanceLendingAccount model
    • Added AllowTrailingStop property on BinanceSymbol
    • Added new symbol filter PercentagePriceBySide
    • Updated spot GetOrderBookAsync to allow any limit under 5000
    • Updated CryptoExchange.Net
  • Version 8.0.6 - 01 Mar 2022

    • Updated CryptoExchange.Net improving the websocket reconnection robustness
  • Version 8.0.5 - 01 Mar 2022

    • Updated Limit checking on Usd futures GetMarkPriceKlinesAsync
    • Added time sync resetting when a timestamp error is received
  • Version 8.0.4 - 27 Feb 2022

    • Updated CryptoExchange.Net to fix timestamping issue when request is ratelimiter
    • Updated USD futures kline requests max limit value check
  • Version 8.0.3 - 25 Feb 2022

    • Fixed missing AccountType enum value breaking the spot GetExchangeInfoAsync call
  • Version 8.0.2 - 24 Feb 2022

    • Fixed TradeRules not being applied
    • Updated CryptoExchange.Net
  • Version 8.0.1 - 21 Feb 2022

    • Fixed ContractType being nullable
    • Fixed OrderType filename
  • Version 8.0.0 - 18 Feb 2022

    • Added Github.io page for documentation: https://jkorf.github.io/Binance.Net/

    • Added unit tests for parsing the returned JSON for each endpoint and subscription

    • Added AddBinance extension method on IServiceCollection for easy dependency injection

    • Added URL reference to API endpoint documentation for each endpoint

    • Added default rate limiter

    • Refactored client structure to be consistent across exchange implementations

    • Renamed various properties to be consistent across exchange implementations

    • Cleaned up project structure

    • Fixed various models

    • Updated CryptoExchange.Net, see https://github.com/JKorf/CryptoExchange.Net#release-notes

    • See https://jkorf.github.io/Binance.Net/MigrationGuide.html for additional notes for updating from V7 to V8

  • Version 7.2.5 - 08 Oct 2021

    • Updated CryptoExchange.Net to fix some socket issues
  • Version 7.2.4 - 06 Oct 2021

    • Updated CryptoExchange.Net, fixing socket issue when calling from .Net Framework
  • Version 7.2.3 - 05 Oct 2021

    • Added PriceProtect support
  • Version 7.2.2 - 29 Sep 2021

    • Fix for BinanceSpotOrderBook
    • Updated CryptoExchange.Net
  • Version 7.2.1 - 24 Sep 2021

    • Added GetEnabledIsolatedMarginAccountLimitAsync endpoint
    • Added EnableIsolatedMarginAccountAsync
    • Added Enabled property to IsolatedMarginAccount model
    • Added RemoveLiquidityPreviewAsync endpoint
    • Added AddLiquidityPreviewAsync endpoint
    • Added GetBSwapPoolConfigureAsync endpoint
  • Version 7.2.0 - 20 Sep 2021

    • Updated stream Topic properties to reflect symbol where possible
    • Added DisableIsolatedMarginAccountAysnc endpoint
    • Updated CryptoExchange.Net
  • Version 7.1.4 - 15 Sep 2021

    • Updated CryptoExchange.Net
    • Fixed missing interface CoinFutures system sub client
  • Version 7.1.3 - 14 Sep 2021

    • Fixed CreateVirtualSubAccountAsync endpoint
    • Added missing FiatWithdrawDepositStatus entry
    • Updated testnet spot websocket url
  • Version 7.1.2 - 02 Sep 2021

    • Fixed subaccount universal transfer result deserialization
    • Fix for disposing order book closing socket even if there are other connections
  • Version 7.1.1 - 31 Aug 2021

    • Added optional start/endTime parameters to GetDusLogAsync
    • Fixed futures position deserialization
  • Version 7.1.0 - 30 Aug 2021

    • Added Margin OCO endpoints
    • Fixed TransferSubAccountAsync parameters
    • Updated various models
  • Version 7.0.5 - 26 Aug 2021

    • Updated CryptoExchange.Net, fixing reconnecting/resubscribing sockets with multiple subscriptions on a single connection
  • Version 7.0.4 - 24 Aug 2021

    • Actually included fix for multiple symbols in GetExchangeInfoAsync
  • Version 7.0.3 - 24 Aug 2021

    • Updated CryptoExchange.Net, improving websocket and SymbolOrderBook performance
    • Fix for GetExchangeInfoAsync filter by multiple symbols
  • Version 7.0.2 - 16 Aug 2021

    • Added orderId parameter to GetUserTradesAsync
    • Added missing TransferAsync to client interface
  • Version 7.0.1 - 13 Aug 2021

    • Fix for OperationCancelledException being thrown when closing a socket from a .net framework project
  • Version 7.0.0 - 12 Aug 2021

    • Release version with new CryptoExchange.Net version 4.0.0
    • Fixed deserialization of GetMiningStatisticsAsync
  • Version 7.0.0-beta4 - 09 Aug 2021

    • Added Fiat endpoints
    • Renamed Get24HPriceAsync to GetTickerAsync
    • Renamed GetMyTradesAsync to GetUserTradesAsync
    • Renamed GetAllOrdersAsync to GetOrdersAsync
    • Renamed GetSymbolTradesAsync to GetRecentTradeHistoryAsync
    • Renamed GetHistoricalSymbolTradesAsync to GetTradeHistoryAsync
    • Renamed GetAggregatedTradesAsync to GetAggregatedTradeHistoryAsync
    • Renamed GetOpenMarginAccountOrdersAsync to GetMarginAccountOpenOrdersAsync
    • Renamed GetAllMarginAccountOrdersAsync to GetMarginAccountOrdersAsync
    • Renamed GetMyMarginAccountTradesAsync to GetMarginAccountUserTradesAsync
    • Renamed various PnL properties to Pnl
  • Version 7.0.0-beta3 - 26 Jul 2021

    • Updated CryptoExchange.Net
  • Version 7.0.0-beta2 - 22 Jul 2021

    • Added GetFundingWalletAsync endpoint
    • Added GetAPIKeyPermissionsAsync endpoint
    • Merged master
  • Version 7.0.0-beta1 - 09 Jul 2021

    • Added symbol filter for GetExchangeInfoAsync
    • Added Async postfix for async methods
    • Updated CryptoExchange.Net
  • Version 6.14.0-beta7 - 24 Jun 2021

    • Fixed/updated multiple models
  • Version 6.14.0-beta6 - 19 Jun 2021

    • Fixed invalid symbol check on SubscribeToMarkPriceUpdatesAsync
    • Made TimeSync static to prevent re-doing when creating a new client
  • Version 6.14.0-beta5 - 07 Jun 2021

    • Added BinanceApiAddresses class containing different api setups for easier
    • Updated CryptoExchange.Net
  • Version 6.14.0-beta4 - 31 May 2021

    • Added GetTradingStatusAsync endpoint on USDT futures
    • Added GetMarkPriceKlinesAsync endpoint on futures
    • Added GetProductsAsync endpoint
    • Added GetContinuousContractKlinesAsync endpoint on USDT futures
    • Added PayToMain and MainToPay transfer types
    • Added MultiAssetMode endpoints and fields
    • Removed no longer supported GetLiquidationOrdersAsync futures endpoints
    • Added Assets property to USDT futures GetExchangeInfoAsync model
    • Added BalanceChange to futures account balance stream update
  • Version 6.14.0-beta3 - 26 May 2021

    • Removed all non-async calls
    • Updated to CryptoExchange.Net changes
  • Version 6.14.0-beta2 - 06 mei 2021

    • Updated CryptoExchange.Net
  • Version 6.14.0-beta1 - 30 apr 2021

    • Updated to CryptoExchange.Net 4.0.0-beta1, new websocket implementation
  • Version 6.13.6 - 01 Aug 2021

    • Added missing SubscribeToKlineUpdatesAsync overload
  • Version 6.13.5 - 22 Jul 2021

    • Added support for multiple KlineIntervals in kline socket subscriptions
    • Updated from wapi to sapi endpoints
  • Version 6.13.4 - 24 Jun 2021

    • Fixed/updated multiple models
  • Version 6.13.3 - 28 apr 2021

    • Fixed some issues in the IExchangeClient interface
    • Updated ExchangeClient.Net
    • Fixed QueryOCO order id parameter
  • Version 6.13.2 - 19 apr 2021

    • Updated CryptoExchange.Net
  • Version 6.13.1 - 02 apr 2021

    • Fixed mining endpoints
    • Adjusted TransferSubAccountToSubAccount request
    • Removed invalid symbol check Usdt futures GetKlines
  • Version 6.13.0 - 30 mrt 2021

    • Added CancelOpenMarginOrders endpoint
    • Added universal Transfer endpoints
    • Added new mining endpoints
    • Updated futures/loan endpoints to V2
    • Added new subAccount endpoints
    • Added margin GetInterestRateHistory endpoint
    • Updated multiple models
    • Fixed trade rules not applied to Oco orders
    • Fixed mining endpoints not signed
    • Fixed quoteQuantity parameter serialization on GetQuote liquid swap endpoint
    • Fixed GetAssetDetails throwing exception
  • Version 6.12.0 - 10 mrt 2021

    • Fixed multiple models
  • Version 6.11.1 - 01 mrt 2021

    • Added Nuget SymbolPackage
  • Version 6.11.0 - 01 mrt 2021

    • Fixed position models
    • Fixed reduceOnly parameter on PlaceMultipleOrder method
    • Added transactionFeeFlag on Withdraw method
    • Added config for deterministic build
    • Updated CryptoExchange.Net
  • Version 6.10.0 - 22 feb 2021

    • IndexPrice added to BinanceFurustMarkPrice
    • Removed deprecated accountInfo update from userDataStream
    • Updated spot Order models
  • Version 6.9.1 - 18 feb 2021

    • Fixed inconsistent naming GetPrices
  • Version 6.9.0 - 18 feb 2021

    • Updated withdraw models
    • Brokerage API updates
    • Updated GetPrice for coin futures
    • Fixed Swap quantity parameter
    • Added limit parameter to GetDividendRecords
  • Version 6.8.2 - 11 feb 2021

    • Fixed more HttpMethods
  • Version 6.8.1 - 11 feb 2021

    • Fixed GetOpenOrder endpoint on futures
    • Fixed HttpMethods in subaccount calls
  • Version 6.8.0 - 09 feb 2021

    • Fixed stopPrice AutoComply trade rules behavior
    • Fixed position models
  • Version 6.7.0 - 05 feb 2021

    • Fixed Mark stream update model
    • Added onLeverageUpdate to futures user stream subscription
    • Updated futures position info models
  • Version 6.6.4 - 22 jan 2021

    • Fixed GetSubAccountsFuturesSummary http method
    • Moved FirstUpdateId in order book model
    • Updated for ICommonKline
  • Version 6.6.3 - 11 jan 2021

    • Added missing enum values
  • Version 6.6.2 - 11 jan 2021

    • Updated futures Symbol models for GetExchangeInfo
    • Updated CryptoExchange.Net
    • Added Pre-Settle symbol status to fix deserialization issue
  • Version 6.6.1 - 05 jan 2021

    • Fixed contractType deserialization
  • Version 6.6.0 - 05 jan 2021

    • Updated orderbook models
    • Fixed GetExchangeInfo deserialization for Futures
  • Version 6.5.0 - 21 dec 2020

    • Updated Brokerage API
    • Fix for SubAccountToSubAccount email parameter serialization
    • Fix for GetSubAccountTransferHistoryForSubAccount using wrong Http method
    • Fix in TradeRules check
    • Updated CryptoExchange.Net, updated IExchangeClient
  • Version 6.4.1 - 11 dec 2020

    • Updated CryptoExchange.Net
    • Added IExchangeClient implementation
    • Added missing properties Coin-M Symbol model
    • Added stopPrice checking in AutoComply trade rules behaviour
  • Version 6.4.0 - 25 nov 2020

    • Fixed futures book ticker stream data parsing
  • Version 6.3.7 - 24 nov 2020

    • Fix parsing of single bracket in GetBrackets
    • Added MaxPosition filter in GetExchangeInfo
  • Version 6.3.6 - 19 nov 2020

    • Fixed reference in package
  • Version 6.3.5 - 19 nov 2020

    • Added PendingTrade status to futures symbol status mapping
    • Added BNB burn toggle endpoints
    • Added Composite index endpoint to USDT futures
    • Added Composite index stream to USDT futures
    • Added archived parameter for margin loan/repay/interestHistory queries
  • Version 6.3.4 - 16 nov 2020

    • Added missig TimeInForce mapping
    • Added missing orderResponseType parameter to futures PlaceOrder
  • Version 6.3.3 - 09 nov 2020

    • Updated check for valid Binance symbol
    • Fixed ModifyPositionMode result symbol
  • Version 6.3.2 - 23 okt 2020

    • Re-added locking when signing messages to prevent issues when multithreading
  • Version 6.3.1 - 22 okt 2020

    • Added missing Interval property on stream kline updates
  • Version 6.3.0 - 20 Oct 2020

    • Added BSwap endpoints
    • Added BLVT endpoints
    • Fixed incomeType parameter on GetIncomeHistory
    • Added BorrowLimit property to GetMaxBorrowAmount
    • Added Coin-M futures support for sub-account transfer
    • Added ids to lending borrow/repay results
    • Added ChangeToDailyPosition endpoint
    • Updated Regular to Activity in savings endpoints
  • Version 6.2.0 - 08 Oct 2020

    • Added missing transaction timestamp on future user streams
    • Updated book price models
    • Update CryptoExchange.Net
  • Version 6.1.0 - 06 Oct 2020

    • Fixed future trade timestamps
    • Fixed some decimal serialization culture issues
    • Updated future user streams to include timestamps
    • Fixed used weight parsing
    • Brokerage API update
  • Version 6.0.2 - 17 Sep 2020

    • Fix for socket client receiving intermittent byte data
    • Updated market data interfaces to support inheritance
  • Version 6.0.1 - 09 Sep 2020

    • Fixed missing properties in stream kline models
  • Version 6.0.0 - 09 Sep 2020

    • Added future transfer endpoints
    • Added cross-collateral endpoints
    • Refactored volume properties to properly be named base/quote
    • Fixed isolated margin all symbols endpoint
  • Version 6.0.0-beta.6 - 31 Aug 2020

    • Combined futures userstream Balance and Position update handlers, UpdateReason property added
  • Version 6.0.0-beta.5 - 28 Aug 2020

    • Fixed futures order update wrong JsonConverter
  • Version 6.0.0-beta.4 - 28 Aug 2020

    • Added support for Coin-M futures
    • Some refactoring
  • Version 6.0.0-beta.3 - 17 Aug 2020

    • Fixed GetAccountInfo endpoint
  • Version 6.0.0-beta.2 - 13 Aug 2020

    • Fixed ModifyPositionMargin futures call
  • Version 6.0.0-beta.1 - 12 Aug 2020

    • Restructured BinanceClient and BinanceSocketClient to include the futures and brokerage API. Clients are now divided per topic
    • Added isolated margin endpoints
    • Fixed MinNotional checking in trade rules when also adjusting price
    • Added shared interfaces for Futures and Spot market data and market stream subscriptions
  • Version 5.1.14 - 03 Aug 2020

    • Added check for MinNotional filter when using AutoComply trade rules behaviour
    • Adjusted bool parameter serialization
  • Version 5.1.13 - 27 Jul 2020

    • Updated futures balance, account info, position endpoints to version 2
    • Added missing futures market data endpoints
  • Version 5.1.12 - 21 Jul 2020

    • Updated order book models
  • Version 5.1.11 - 20 Jul 2020

    • Fixes for future client
  • Version 5.1.10 - 07 Jul 2020

    • Fixed datetime conversion for some objects
  • Version 5.1.9 - 06 Jul 2020

    • Added CancelMultipleOrders
    • Added CancelAllOrders
    • Added EventTime to OrderBook stream
    • Fixed purchase record conversion
  • Version 5.1.8 - 21 Jun 2020

    • Updated CryptoExchange
  • Version 5.1.7 - 16 Jun 2020

    • Changed IncomeType to string, Update CryptoExchange.Net
  • Version 5.1.6 - 11 Jun 2020

    • Fixed subscribe error on symbols with an I caused by unset culture info
  • Version 5.1.5 - 07 Jun 2020

    • Fixed serialization/encryption bug
  • Version 5.1.4 - 02 Jun 2020

    • Fixed empty request bug
  • Version 5.1.3 - 02 Jun 2020

    • Added CancelAllOrders endpoint
    • Added PlaceMultipleOrders endpoint for futures
    • Added BinanceFuturesSymbolOrderBook
    • Added missing Expired order status mapping
    • Added GetBrackets to futures client
  • Version 5.1.2 - 26 May 2020

    • Added CancelAllOrdersAfterTimeout futures endpoint
    • Added timestamp to various models
    • Added closePosition paramter for future orders
  • Version 5.1.1 - 20 May 2020

    • Fixed ChangeInitialLeverage endpoint
    • Fixed ChangeMarginType endpoint
    • Fixed deserialization error on maxNotionalValue
    • Updated CryptoExchange.Net
  • Version 5.1.0 - 20 may 2020

    • Bumped to release version
    • Added missing wallet endpoints
    • Added sub-account endpoints
    • Added savings endpoints
  • Version 5.1.0-alpha10 - 08 May 2020

    • Added Brokerage client, various fixes, added some missing parameters
  • Version 5.1.0-alpha9 - 01 May 2020

    • Fixed GetExchangeInfo call, merged master
  • Version 5.1.0-alpha8 - 19 Mar 2020

    • Futures update
  • Version 5.1.0-alpha7 - 16 Mar 2020

    • fixed reference
  • Version 5.1.0-alpha6 - 16 Mar 2020

    • Fixed ticker stream
  • Version 5.1.0-alpha5 - 16 Mar 2020

    • Futures update
  • Version 5.1.0-alpha4 - 06 Mar 2020

    • Actual stream fixes
  • Version 5.1.0-alpha3 - 06 Mar 2020

    • Futures stream fixes
  • Version 5.1.0-alpha2 - 03 Mar 2020

    • Updated CryptoExchange version
  • Version 5.1.0-alpha - 03 Mar 2020

    • First version Futures Api implementation
  • Version 5.0.10 - 01 May 2020

    • Fixed filter parsing in GetExchangeInfo
  • Version 5.0.9 - 03 Mar 2020

    • Fixed serialization issue on DustTransfer assets parameter
  • Version 5.0.8 - 03 Mar 2020

    • Added SideEffectType and MarginBuyBorrow properties
    • Added trade rules check for margin orders
  • Version 5.0.7 - 05 Feb 2020

    • Fixed incorrect Invalid symbol error
  • Version 5.0.6 - 27 Jan 2020

    • Updated CryptoExchange.Net
  • Version 5.0.5 - 23 Jan 2020

    • Added option for custom url
  • Version 5.0.4 - 10 Dec 2019

    • Fix for BinanceSymbolOrderBook
  • Version 5.0.3 - 13 Nov 2019

    • Updated for new API version
    • Added QuoteOrderQuantity parameter/property
    • Add stream balance update
    • Added precisions to ExchangeInfo symbols
  • Version 5.0.1 - 23 Oct 2019

    • Fixed validation for 9 length symbols
  • Version 5.0.1 - 23 Oct 2019

    • Fixed validation for 5 length symbols
  • Version 5.0.0 - 23 Oct 2019

    • See CryptoExchange.Net 3.0 release notes
    • Added input validation
    • Added CancellationToken support to all requests
    • Now using IEnumerable<> for collections
    • Renamed various methods to be more in line with other exchanges
    • Renamed SubscribeToXXXStream to SubscribeToXXXUpdates
  • Version 4.3.3 - 06 Oct 2019

    • Added serialization method for BinanceSymbolFilter
  • Version 4.3.2 - 25 Sep 2019

    • Added missing AddressTag and TransactionFee properties in withdrawal object
  • Version 4.3.1 - 03 Sep 2019

    • Added book ticker stream to socket client
  • Version 4.3.0 - 02 Sep 2019

    • Added new Margin endpoints
    • Renamed Query- methods to Get- methods for consistency
  • Version 4.2.3 - 29 Aug 2019

    • Added DustTransfer and GetDividendRecords endpoints
    • Added updateInterval parameter to depth streams
  • Version 4.2.2 - 20 Aug 2019

    • Added missing margin endpoints
    • IndicatorType to enum
  • Version 4.2.1 - 19 Aug 2019

    • Added current average price endpoint
  • Version 4.2.0 - 15 Aug 2019

    • Implemented OCO orders
    • Adjustments for API update
  • Version 4.1.3 - 12 Aug 2019

    • Fix margin order cancel
  • Version 4.1.2 - 07 Aug 2019

    • Updated CryptoExchange.Net
  • Version 4.1.1 - 05 Aug 2019

    • Added xml file for code docs
  • Version 4.1.0 - 30 Jul 2019

    • Added margin API
  • Version 4.0.17 - 09 jun 2019

    • Added TimestampOffset options
    • Update BinanceSymbolOrderBook
  • Version 4.0.16 - 20 may 2019

    • Fixed AutoComply trade rules behavior
  • Version 4.0.15 - 16 may 2019

    • Fixed order book limit implementation
  • Version 4.0.14 - 14 may 2019

    • Added an order book implementation for easily keeping an updated order book
    • Added additional constructor to ApiCredentials to be able to read from file
  • Version 4.0.13 - 01 may 2019

    • Updated to latest CryptoExchange.Net
      • Adds response header to REST call result
      • Added rate limiter per API key
      • Unified socket client workings
  • Version 4.0.12 - 09 apr 2019

    • Fixed type in FifteenMinutes kline interval enum
    • Added update time to BinanceStreamAccountInfo
    • Added IsSpotTradingAllowed and IsMarginTradingAllowed fields to BinanceSymbol
    • Added IDisposable to client interfaces
  • Version 4.0.11 - 02 apr 2019

    • Added Symbol field in BinanceTrade
    • Added deposit status Completed to deposits filter
    • Fixed Exception handler null reference if not set
  • Version 4.0.10 - 18 mar 2019

    • Added AutoReconnect option
    • Fix for error parsing without code/message
    • Added QuoteQuantity to MyTrades result
  • Version 4.0.9 - 07 mar 2019

    • Added start/end time parameters to GetAllOrders
    • Updated CryptoExchange.Net
  • Version 4.0.8 - 27 feb 2019

    • Added sub account support
    • Added trading status call
    • Changed CallResult to WebCallResult for REST requests to expose the response status
  • Version 4.0.7 - 01 feb 2019

    • Added exception event to subscriptions
    • General fixes
  • Version 4.0.6 - 10 jan 2019

    • Fix for timestamp calculation
  • Version 4.0.5 - 09 jan 2019

    • Adjusted AutoTimestamp calculation
  • Version 4.0.4 - 28 dec 2018

    • Another fix for reconnecting
  • Version 4.0.3 - 17 dec 2018

    • Fixed reconnecting sometimes throwing error
  • Version 4.0.2 - 10 dec 2018

    • TradeRuleBehavior.AutoComply rounding fix
  • Version 4.0.1 - 06 dec 2018

    • Fix for freezes if called from UI thread
    • Fixed AutoComply trade rules behavior
    • Fixed IDisposable interface
  • Version 4.0.0 - 05 dec 2018

    • Updated to CryptoExchange.Net version 2
      • Libraries now use the same standard functionalities
      • Objects returned by socket subscriptions standardized across libraries
    • Added start/endtime parameters to GetMyTrades
  • Version 3.3.0 - 15 nov 2018

    • Updated to support latest Binance API update, including:
      • Added RawRequest rate limit
      • Canceling an order now returns full order report
      • Added multiple symbol filters
      • Added LastQuoteTransactedQuantity to socket order update
  • Version 3.2.12 - 15 nov 2018

    • Added event time to BinanceStreamTick
  • Version 3.2.11 - 01 nov 2018

    • Exception handling in error response parsing
  • Version 3.2.10 - 24 oct 2018

    • AutoTimestamp now enabled by default
    • BaseAssetPrecision and QuoteAssetPrecision type from string to int
  • Version 3.2.9 - 18 oct 2018

    • Added default receiveWindow parameter to client options
    • Updated time calculation between server/client, should help people with unstable ping who got intermittent errors saying the local time was ahead of server time
  • Version 3.2.8 - 04 oct 2018

    • Fixed subscriptions trying to reconnect if initial subscribe fails
    • Added accessors for symbol filters
    • Fix subscription reconnections
  • Version 3.2.7 - 21 sep 2018

    • Updated CryptoExchange.Net
  • Version 3.2.6 - 17 sep 2018

    • Combined PartialBookDepthStream data object with DepthStream data object
    • Fix reconnection bug
  • Version 3.2.5 - 10 sep 2018

    • Added check for failed auto timestamp syncing
    • Added auto recalculation interval for auto timestamp
  • Version 3.2.4 - 07 sep 2018

    • Fixed proxy setting on socket client
  • Version 3.2.3 - 21 aug 2018

    • Fix for previous fix..
  • Version 3.2.2 - 21 aug 2018

    • Fix for default api credentials getting disposed
  • Version 3.2.1 - 20 aug 2018

    • Update CryptoExchange.Net for bugfix
  • Version 3.2.0 - 16 aug 2018

    • Added socket client interface
    • Moved interface to interface namespace
    • Fixed some minor Resharper findings
  • Version 3.1.18 - 13 aug 2018

    • Fix for userstream not connecting
  • Version 3.1.17 - 13 aug 2018

    • Updated CryptoExchange.Net to fix bug
  • Version 3.1.16 - 13 aug 2018

    • Updated CryptoExchange.Net
    • Fixed error response parsing
  • Version 3.1.15 - 24 jul 2018

    • Fixed missing Symbol filter type
  • Version 3.1.14 - 20 jul 2018

    • Added error parsing to code/message
  • Version 3.1.13 - 19 jul 2018

    • Update to latest api update adding various properties/filters
  • Version 3.1.12 - 17 jul 2018

    • Added GetAccountStatus endpoint
    • Added GetSystemStatus endpoint
    • Added GetDustLog endpoint
  • Version 3.1.11 - 16 jul 2018

    • Fix for UI thread freezing when unsubscribing a stream
  • Version 3.1.10 - 03 jul 2018

    • Small fix for socket event binding
  • Version 3.1.9 - 25 jun 2018

    • Fix for Unsubscribe freezing if called from UI thread
  • Version 3.1.8 - 08 jun 2018

    • Fix for DateTime parsing
  • Version 3.1.7 - 08 jun 2018

    • Added missing TradeId field in PlaceOrder response
  • Version 3.1.6 - 04 jun 2018

    • Fix for OrderUpdate mapping
    • Fix for BinanceSymbol mapping
  • Version 3.1.5 - 07 may 2018

    • Added resetAutoTimestamp parameter to server time
  • Version 3.1.4 - 03 may 2018

    • Additional debug logging
  • Version 3.1.3 - 30 apr 2018

    • Refactored combined streams to be easier to use and reduce duplicate code
    • Fixed threadsafety issue in authenticator
  • Version 3.1.2 - 19 apr 2018

    • Added combined streams
  • Version 3.1.1 - 16 apr 2018

    • Added receiveWindow parameter to PlaceOrder
  • Version 3.1.0 - 27 mar 2018

    • Added GetWithdrawalFee call
    • Refactored Klines some to have the stream and the rest data be more similair
    • Added code docs where missing
  • Version 3.0.11 - 23 mar 2018

    • Updated closed/reconnect handling for sockets
    • Updated base
  • Version 3.0.10 - 21 mar 2018

    • Now possible to add multiple log writers
    • Added automatic reconnecting after loss of internet
    • Fixed error when subsribing to a stream while passing Null as handler
  • Version 3.0.9 - 13 mar 2018

    • Added trade stream next to aggregated trade stream
    • Fix for BuyerIsMaker field always being true
  • Version 3.0.8 - 12 mar 2018

    • Fix for inconsistent int/long types
    • Fix for freezing when making calls from UI thread
    • Added auto reconnect functionality
  • Version 3.0.7 - 08 mar 2018

    • Updated base
  • Version 3.0.6 - 08 mar 2018

    • Fix for socket connecting in non dotnet core clients
  • Version 3.0.5 - 07 mar 2018

    • Fix for deserialization error handling
    • Socket opening async, subscribe methods async
  • Version 3.0.4 - 05 mar 2018

    • Added SetApiCredentials methods
  • Version 3.0.2/3.0.3 - 05 mar 2018

    • SetDefaultOptions made static
  • Version 3.0.1 - 05 mar 2018

    • Additional logging
    • Updated base verions
  • Version 3.0.0 - 01 mar 2018

    • Updated to use a base package, which introduces some changes in syntax, but keeps functionality unchanged
  • Version 2.3.4 - 12 feb 2018

    • Fix for AutoComply trading rules sending too much trailing zero's
  • Version 2.3.3 - 10 feb 2018

    • Fix for stream order parsing
  • Version 2.3.2 - 09 feb 2018

  • Version 2.3.1 - 08 feb 2018

    • Updated models to latest version
    • Cleaned code and code docs
  • Version 2.3.0 - 07 feb 2018

    • Added missing fields to 24h prices
    • Changed subscription results from an id to an object with closed/error events
    • Changed how to subscribe to the user stream
    • Updated/fixed unit test project
    • Updated readme
  • Version 2.2.5 - 24 jan 2018

    • Added optional automated checking of trading rules when placing an order
    • Added BinanceHelpers static class containing some basic helper functions
    • Fix for default logger not writing on a new line
    • Simplified internal defaults
  • Version 2.2.4 - 23 jan 2018

    • Fix for RateLimit type in GetExchangeInfo
    • Split the BinanceSymbolFilter in 3 classes
  • Version 2.2.3 - 15 jan 2018

    • Fix for calls freezing when made from UI thread
  • Version 2.2.2 - 15 jan 2018

    • Fix in PlaceOrder using InvariantCulture
    • Fix for FirstId property in 24h price
    • Added symbol property to 24h price
  • Version 2.2.1 - 12 jan 2018

    • Fix for parse error in StreamOrderUpdate
  • Version 2.2.0 - 08 jan 2018

    • Updated according to latest documentation, adding various endpoints
  • Version 2.1.3 - 9 nov 2017

    • Added automatic configurable retry on server errors
    • Refactor on error returns
    • Renamed ApiResult to BinanceApiResult
  • Version 2.1.2 - 31 okt 2017

    • Added alot of code documentation
    • Small cleanups and fix
  • Version 2.1.1 - 30 okt 2017

    • Fix for socket closing
  • Version 2.1.0 - 30 okt 2017

    • Small rename/refactor, BinanceSocketClient also use ApiResult now
  • Version 2.0.1 - 30 okt 2017

    • Improved error messages/handling in BinanceClient
    • Extra unit tests for failing requests
  • Version 2.0.0 - 25 okt 2017

    • Changed from static class to object orriented, added IDisposable interface to be able to use using statements
    • Split websocket and restapi functionality in BinanceClient and BinanceSocketClient
    • Added method to set log output writer
    • Added abitlity to set defaults for new clients
    • Fixed unit tests for new setup
    • Updated documentation
  • Version 1.1.2 - 25 okt 2017

    • Added UnsubscribeAllStreams method
  • Version 1.1.1 - 20 okt 2017

    • Fix for withdrawal/deposit filter
  • Version 1.1.0 - 20 okt 2017

    • Updated withdrawal/deposit functionality according to API changes
    • Cleaned up BinanceClient a bit
  • Version 1.0.9 - 19 okt 2017

    • Added withdrawal/deposit functionality
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 is compatible. 
.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.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Binance.Net:

Package Downloads
graph-maniac-lib

Core business library for GraphManiac

CryptoExchange

Package Description

VEFramework.VEDrivers

VE Drivers is set of drivers for Virtual Economy Applications connected to blockchains.

EachShow.Exchange

Binance

CryptoClients.Net

CryptoClients.Net offers API clients for multiple cryptocurrency exchanges. The clients allow for accessing market data as well as managing accounts and trading cryptocurrencies.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Binance.Net:

Repository Stars
JKorf/Binance.Net
A C# .netstandard client library for the Binance REST and Websocket Spot and Futures API focusing on clear usage and models
silahian/VisualHFT
VisualHFT is a cutting-edge GUI platform for market analysis, focusing on real-time visualization of market microstructure. Built with WPF & C#, it displays key metrics like Limit Order Book dynamics and execution quality. Its modular design ensures adaptability for developers and traders, enabling tailored analytical solutions.
JKorf/CryptoExchange.Net
Base for exchanges
codez0mb1e/BinanceBot
Market Maker Bot for Binance
Version Downloads Last updated
9.10.0 3,479 6/11/2024
9.9.8 6,047 6/2/2024
9.9.7 8,237 5/7/2024
9.9.6 3,032 5/5/2024
9.9.5 3,136 5/1/2024
9.9.4 3,291 4/28/2024
9.9.3 3,421 4/23/2024
9.9.2 3,553 4/19/2024
9.9.1 2,847 4/19/2024
9.9.0 2,853 4/18/2024
9.8.1 5,299 4/3/2024
9.8.0 3,567 4/1/2024
9.7.1 4,302 3/24/2024
9.7.0 4,119 3/16/2024
9.6.1 5,966 2/29/2024
9.6.0 2,841 2/27/2024
9.5.0 3,579 2/25/2024
9.5.0-beta1 2,813 2/6/2024
9.4.0 29,043 1/5/2024
9.3.0 3,906 12/26/2023
9.2.0 14,359 12/3/2023
9.1.7 6,291 11/24/2023
9.1.6 10,025 10/29/2023
9.1.5 2,297 10/24/2023
9.1.4 3,521 10/9/2023
9.1.3 7,712 9/23/2023
9.1.2 9,057 9/6/2023
9.1.1 3,009 9/2/2023
9.1.0 2,071 8/25/2023
9.0.5 4,936 8/6/2023
9.0.4 13,150 7/11/2023
9.0.3 1,077 7/11/2023
9.0.2 2,082 7/6/2023
9.0.1 4,044 6/25/2023
9.0.0 1,118 6/25/2023
8.6.3 2,786 6/19/2023
8.6.2 16,357 5/22/2023
8.6.1 1,974 5/14/2023
8.6.0 3,197 5/6/2023
8.5.1 5,803 4/20/2023
8.5.0 22,876 4/17/2023
8.4.4 9,355 4/12/2023
8.4.3 10,108 3/18/2023
8.4.2 6,089 2/16/2023
8.4.1 1,421 2/14/2023
8.4.0 2,742 2/9/2023
8.3.1 2,895 2/5/2023
8.3.0 28,370 11/17/2022
8.2.0 13,705 10/3/2022
8.1.10 14,512 9/4/2022
8.1.9 4,538 8/24/2022
8.1.8 2,787 8/13/2022
8.1.7 11,741 7/18/2022
8.1.6 4,544 7/16/2022
8.1.5 18,190 7/12/2022
8.1.4 1,715 7/10/2022
8.1.3 6,918 6/12/2022
8.1.2 7,341 5/24/2022
8.1.1 2,190 5/23/2022
8.1.0 2,261 5/22/2022
8.0.13 5,808 5/8/2022
8.0.12 2,700 5/1/2022
8.0.11 12,994 4/20/2022
8.0.10 2,580 4/14/2022
8.0.9 22,851 3/18/2022
8.0.8 3,087 3/10/2022
8.0.7 3,211 3/8/2022
8.0.6 6,085 3/1/2022
8.0.5 2,315 3/1/2022
8.0.4 5,437 2/27/2022
8.0.3 3,012 2/25/2022
8.0.2 1,432 2/24/2022
8.0.1 1,729 2/21/2022
8.0.0 2,151 2/18/2022
8.0.0-beta8 1,250 2/11/2022
8.0.0-beta7 1,025 2/9/2022
8.0.0-beta6 1,009 2/5/2022
8.0.0-beta5 1,099 2/2/2022
8.0.0-beta4 1,074 1/31/2022
8.0.0-beta3 1,052 1/30/2022
8.0.0-beta2 1,041 1/24/2022
8.0.0-beta1 1,153 1/15/2022
8.0.0-alpha7 1,215 1/7/2022
8.0.0-alpha6 1,125 1/7/2022
8.0.0-alpha5 1,104 1/3/2022
8.0.0-alpha4 1,033 1/1/2022
8.0.0-alpha3 1,115 12/27/2021
8.0.0-alpha2 1,067 12/21/2021
8.0.0-alpha1 1,918 12/7/2021
7.2.7 22,436 12/29/2021
7.2.6 14,130 11/9/2021
7.2.5 10,148 10/8/2021
7.2.4 2,425 10/6/2021
7.2.3 1,605 10/5/2021
7.2.2 2,480 9/29/2021
7.2.1 2,657 9/24/2021
7.2.0 3,564 9/20/2021
7.1.4 1,988 9/15/2021
7.1.3 1,714 9/14/2021
7.1.2 4,763 9/2/2021
7.1.1 1,888 8/31/2021
7.1.0 2,297 8/30/2021
7.0.5 2,039 8/26/2021
7.0.4 3,270 8/24/2021
7.0.3 1,325 8/24/2021
7.0.2 2,818 8/16/2021
7.0.1 1,797 8/13/2021
7.0.0 1,822 8/12/2021
7.0.0-beta4 1,165 8/9/2021
7.0.0-beta3 1,482 7/26/2021
7.0.0-beta2 1,273 7/22/2021
7.0.0-beta1 1,292 7/9/2021
6.14.0-beta7 1,275 6/24/2021
6.14.0-beta6 1,183 6/19/2021
6.14.0-beta5 1,258 6/7/2021
6.14.0-beta4 1,209 5/31/2021
6.14.0-beta3 1,161 5/26/2021
6.14.0-beta2 1,318 5/6/2021
6.14.0-beta1 1,258 4/30/2021
6.13.6 9,617 8/1/2021
6.13.5 2,772 7/22/2021
6.13.4 11,087 6/24/2021
6.13.3 19,984 4/28/2021
6.13.2 3,920 4/19/2021
6.13.1 6,055 4/2/2021
6.13.0 2,139 3/30/2021
6.12.0 5,942 3/10/2021
6.11.1 7,754 3/1/2021
6.11.0 1,524 3/1/2021
6.10.0 3,991 2/22/2021
6.9.1 2,266 2/18/2021
6.9.0 1,660 2/18/2021
6.8.2 2,963 2/11/2021
6.8.1 1,548 2/11/2021
6.8.0 1,870 2/9/2021
6.7.0 2,264 2/5/2021
6.6.4 7,065 1/22/2021
6.6.3 2,890 1/11/2021
6.6.2 1,494 1/11/2021
6.6.1 2,593 1/5/2021
6.6.0 1,494 1/5/2021
6.5.0 4,339 12/21/2020
6.4.1 8,260 12/11/2020
6.4.0 102,485 11/25/2020
6.3.7 1,648 11/24/2020
6.3.6 1,899 11/19/2020
6.3.5 1,592 11/19/2020
6.3.4 1,942 11/16/2020
6.3.3 4,716 11/9/2020
6.3.2 4,485 10/23/2020
6.3.1 1,744 10/22/2020
6.3.0 1,706 10/20/2020
6.2.0 2,794 10/8/2020
6.1.0 1,930 10/6/2020
6.0.2 3,310 9/17/2020
6.0.1 1,807 9/9/2020
6.0.0 1,943 9/9/2020
6.0.0-beta.6 324 8/31/2020
6.0.0-beta.5 247 8/28/2020
6.0.0-beta.4 235 8/28/2020
6.0.0-beta.3 510 8/17/2020
6.0.0-beta.2 279 8/13/2020
6.0.0-beta.1 250 8/12/2020
5.1.14 13,902 8/3/2020
5.1.13 2,109 7/27/2020
5.1.12 1,955 7/21/2020
5.1.11 1,588 7/20/2020
5.1.10 2,313 7/7/2020
5.1.9 1,543 7/6/2020
5.1.8 2,418 6/21/2020
5.1.7 2,338 6/16/2020
5.1.6 1,979 6/11/2020
5.1.5 1,994 6/7/2020
5.1.4 1,972 6/2/2020
5.1.3 1,584 6/2/2020
5.1.2 1,878 5/26/2020
5.1.1 6,597 5/20/2020
5.1.0 1,942 5/20/2020
5.1.0-alpha9 1,796 5/1/2020
5.1.0-alpha8 1,594 3/19/2020
5.1.0-alpha7 1,369 3/16/2020
5.1.0-alpha6 1,285 3/16/2020
5.1.0-alpha5 1,381 3/16/2020
5.1.0-alpha4 1,451 3/6/2020
5.1.0-alpha3 1,317 3/6/2020
5.1.0-alpha2 1,371 3/3/2020
5.1.0-alpha10 1,428 5/8/2020
5.1.0-alpha 1,352 3/3/2020
5.0.10 130,150 5/1/2020
5.0.9 8,227 3/3/2020
5.0.8 1,540 3/3/2020
5.0.7 3,901 2/5/2020
5.0.6 4,104 1/27/2020
5.0.5 1,965 1/23/2020
5.0.4 3,328 12/10/2019
5.0.3 3,187 11/13/2019
5.0.2 3,044 10/23/2019
5.0.1 1,513 10/23/2019
5.0.0 1,680 10/23/2019
4.3.3 30,166 10/6/2019
4.3.2 2,275 9/25/2019
4.3.1 3,682 9/3/2019
4.3.0 1,588 9/2/2019
4.2.3 2,162 8/29/2019
4.2.2 2,122 8/20/2019
4.2.1 1,722 8/19/2019
4.2.0 2,056 8/15/2019
4.1.3 1,988 8/12/2019
4.1.2 1,841 8/7/2019
4.1.1 1,756 8/5/2019
4.1.0 2,011 7/30/2019
4.0.17 2,738 7/9/2019
4.0.16 4,963 5/20/2019
4.0.15 1,848 5/16/2019
4.0.14 1,813 5/14/2019
4.0.13 2,520 5/1/2019
4.0.12 2,760 4/9/2019
4.0.11 1,930 4/2/2019
4.0.10 2,572 3/18/2019
4.0.9 2,360 3/7/2019
4.0.8 1,814 2/27/2019
4.0.7 5,691 2/1/2019
4.0.6 3,982 1/10/2019
4.0.5 1,853 1/9/2019
4.0.4 2,842 12/28/2018
4.0.3 2,545 12/17/2018
4.0.2 2,022 12/10/2018
4.0.1 1,992 12/6/2018
4.0.0 1,920 12/5/2018
3.3.0 5,040 11/15/2018
3.2.12 1,891 11/15/2018
3.2.11 2,527 11/1/2018
3.2.10 2,088 10/24/2018
3.2.9 2,029 10/18/2018
3.2.8 10,494 10/4/2018
3.2.7 2,785 9/21/2018
3.2.6 2,198 9/17/2018
3.2.5 2,025 9/10/2018
3.2.4 2,039 9/7/2018
3.2.3 4,471 8/21/2018
3.2.2 1,866 8/21/2018
3.2.1 1,943 8/20/2018
3.2.0 2,156 8/16/2018
3.1.18 2,008 8/13/2018
3.1.17 1,945 8/13/2018
3.1.16 1,940 8/13/2018
3.1.15 2,716 7/24/2018
3.1.14 2,155 7/20/2018
3.1.13 2,151 7/19/2018
3.1.12 2,036 7/17/2018
3.1.11 2,066 7/16/2018
3.1.10 2,334 7/3/2018
3.1.9 2,305 6/25/2018
3.1.8 2,520 6/8/2018
3.1.7 2,059 6/8/2018
3.1.6 2,200 6/4/2018
3.1.5 2,930 5/7/2018
3.1.4 2,207 5/3/2018
3.1.3 2,192 4/30/2018
3.1.2 2,322 4/19/2018
3.1.1 2,446 4/16/2018
3.1.0 2,465 3/27/2018
3.0.11 2,330 3/23/2018
3.0.10 2,203 3/21/2018
3.0.9 3,568 3/13/2018
3.0.8 2,100 3/12/2018
3.0.7 2,103 3/9/2018
3.0.6 2,070 3/8/2018
3.0.5 2,164 3/7/2018
3.0.4 2,032 3/5/2018
3.0.3 2,178 3/5/2018
3.0.2 2,256 3/5/2018
3.0.1 2,106 3/5/2018
3.0.0 2,356 3/1/2018
2.3.4 2,729 2/12/2018
2.3.3 2,773 2/9/2018
2.3.2 2,053 2/9/2018
2.3.1 2,150 2/8/2018
2.3.0 2,185 2/7/2018
2.2.5 2,461 1/24/2018
2.2.4 2,570 1/23/2018
2.2.3 2,938 1/15/2018
2.2.2 2,183 1/15/2018
2.2.1 2,248 1/12/2018
2.2.0 2,856 1/8/2018
2.1.5 2,441 12/7/2017
2.1.4 2,151 12/6/2017
2.1.3 2,005 11/9/2017
2.1.2 1,937 10/31/2017
2.1.1 2,105 10/30/2017
2.1.0 2,005 10/30/2017
2.0.1 1,990 10/30/2017
2.0.0 2,041 10/25/2017
1.1.2 2,059 10/25/2017
1.1.1 1,956 10/20/2017
1.1.0 2,023 10/20/2017
1.0.9 1,996 10/19/2017
1.0.8 2,008 10/19/2017
1.0.7 2,005 10/18/2017
1.0.6 2,101 10/18/2017
1.0.5 2,195 10/18/2017
1.0.4 2,052 10/18/2017
1.0.3 2,053 10/18/2017
1.0.2 2,069 10/18/2017
1.0.1 2,044 10/18/2017
1.0.0 2,135 10/18/2017