Bitmex.NET 2.0.99

.NET Standard 2.0
Install-Package Bitmex.NET -Version 2.0.99
dotnet add package Bitmex.NET --version 2.0.99
<PackageReference Include="Bitmex.NET" Version="2.0.99" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bitmex.NET --version 2.0.99
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitmex.NET, 2.0.99"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Bitmex.NET as a Cake Addin
#addin nuget:?package=Bitmex.NET&version=2.0.99

// Install Bitmex.NET as a Cake Tool
#tool nuget:?package=Bitmex.NET&version=2.0.99
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

fixed issues #32 and #35 changed response from bitmex proxy and services (added wrapper around the response)

added subscriptions on margin, chat, notification, wallet, funding

added subscriptions on liquidations and executions

fixed #24 changed TradeBucketedDto due to chance having nulls in OHLC

decomissioning contigency type

got rig of simple* in orders, executions and positions due to made order Qty decimal in request model to place orders on the all symbols and indexes when quantity step less than 0

added events on close and error got rid of usage of obsolete method in tests

ignored quote test (Because /Quote endpoint doesn't work know issue #16) add resp API for stats, user, leaderboard enhanced error handling (handling of HTML response)

added handling actions added order book L2 handling docs OrderBookSocketDto renamed to OrderBook10Dto (for orderBook10 web socket subscription)

fixed issue #5 added logging. Please check out readme

fixed bug #7 added Bitmex WebSocket Limit Reached Exception. For the time being the limit provided by Bitmex is 20. It's not hardcoded value, the current framework takes it from WebSocket welcome message.

Fixed authentication issues. Currently, nonce became in seconds rather than in milliseconds, according to the official reference


WEBSOCKET subscription available!! (See Example project or BitmexApiSocketService*Tests.cs)

Fixed issues #3 #4


fixed bug #2 (the types of sums and quantities are chaned to decimal) added WebSocket nuget packge dependency for future changes


fixed bug #1


Added the follow APIs

Method REST API Method
GET execution
GET execution/tradeHistory
GET instrument
GET instrument/active
GET instrument/activeAndIndices
GET instrument/activeIntervals
GET instrument/compositeIndex
GET instrument/indices


Initial release with the following methods implemented and covered with the integration tests

Method REST API Method
GET order
PUT order
POST order
DELETE order
DELETE order/all
PUT order/bulk
POST order/bulk
POST order/cancelAllAfter
POST order/closePosition
GET orderBook/L2 yes
GET position yes
POST position/isolate
POST position/leverage
POST position/riskLimit
POST position/transferMargin
GET quote
GET quote/bucketed
GET trade
GET trade/bucketed
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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
2.0.99 4,200 6/21/2019
2.0.84 1,236 3/31/2019
2.0.82 1,957 11/26/2018
2.0.79 538 11/19/2018
2.0.70 541 11/13/2018
2.0.67 701 10/29/2018
2.0.66 521 10/26/2018
2.0.65 1,001 9/2/2018
2.0.64 667 8/26/2018
2.0.58 679 8/5/2018
2.0.43 648 7/22/2018
2.0.41 631 7/21/2018
2.0.39 695 7/19/2018
2.0.30 663 7/18/2018
2.0.27 589 7/18/2018
2.0.24 608 7/4/2018 694 5/24/2018 688 5/13/2018 738 4/30/2018 708 3/21/2018 742 3/20/2018