Bitmex.NET 2.0.99

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

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 3,758 6/21/2019
2.0.84 1,219 3/31/2019
2.0.82 1,916 11/26/2018
2.0.79 498 11/19/2018
2.0.70 503 11/13/2018
2.0.67 662 10/29/2018
2.0.66 479 10/26/2018
2.0.65 953 9/2/2018
2.0.64 613 8/26/2018
2.0.58 623 8/5/2018
2.0.43 600 7/22/2018
2.0.41 580 7/21/2018
2.0.39 631 7/19/2018
2.0.30 607 7/18/2018
2.0.27 544 7/18/2018
2.0.24 559 7/4/2018 632 5/24/2018 631 5/13/2018 682 4/30/2018 653 3/21/2018 684 3/20/2018