Bitmex.NET 2.0.99

Wrapper for BitMEX.com API (REST & WebSocket)

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

2.0.99.0

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

2.0.82.0

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

2.0.79.0

added subscriptions on liquidations and executions

2.0.70.0

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

2.0.67.0

decomissioning contigency type https://blog.bitmex.com/api_announcement/deprecation-of-contingent-orders/

2.0.66.0

got rig of simple* in orders, executions and positions due to https://blog.bitmex.com/api_announcement/deprecation-of-simpleorderqty-functionality/
made order Qty decimal in request model to place orders on the all symbols and indexes when quantity step less than 0

2.0.64.0

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

2.0.58.0

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)

2.0.43.0

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

2.0.41.0

fixed issue #5
added logging. Please check out readme

2.0.39.0

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.

2.0.30.0

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

2.0.2.*

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

Fixed issues #3 #4

1.0.3

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

1.0.2

fixed bug #1

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

1.0.0

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

Release Notes

2.0.99.0

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

2.0.82.0

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

2.0.79.0

added subscriptions on liquidations and executions

2.0.70.0

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

2.0.67.0

decomissioning contigency type https://blog.bitmex.com/api_announcement/deprecation-of-contingent-orders/

2.0.66.0

got rig of simple* in orders, executions and positions due to https://blog.bitmex.com/api_announcement/deprecation-of-simpleorderqty-functionality/
made order Qty decimal in request model to place orders on the all symbols and indexes when quantity step less than 0

2.0.64.0

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

2.0.58.0

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)

2.0.43.0

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

2.0.41.0

fixed issue #5
added logging. Please check out readme

2.0.39.0

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.

2.0.30.0

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

2.0.2.*

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

Fixed issues #3 #4

1.0.3

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

1.0.2

fixed bug #1

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

1.0.0

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

Release Notes

See release notes here https://github.com/semashkinvg/Bitmex.NET/blob/master/releasenotes.md

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.99 3,359 6/21/2019
2.0.84 1,106 3/31/2019
2.0.82 1,830 11/26/2018
2.0.79 419 11/19/2018
2.0.70 431 11/13/2018
2.0.67 591 10/29/2018
2.0.66 404 10/26/2018
2.0.65 875 9/2/2018
2.0.64 534 8/26/2018
2.0.58 536 8/5/2018
2.0.43 510 7/22/2018
2.0.41 492 7/21/2018
2.0.39 514 7/19/2018
2.0.30 493 7/18/2018
2.0.27 441 7/18/2018
2.0.24 469 7/4/2018
2.0.2.8524 508 5/24/2018
1.0.3.26546 494 5/13/2018
1.0.2.25211 515 4/30/2018
1.0.1.26810 548 3/21/2018
1.0.0.32297 581 3/20/2018