Bitfinex.Net
7.1.0-beta1
See the version list below for details.
dotnet add package Bitfinex.Net --version 7.1.0-beta1
NuGet\Install-Package Bitfinex.Net -Version 7.1.0-beta1
<PackageReference Include="Bitfinex.Net" Version="7.1.0-beta1" />
paket add Bitfinex.Net --version 7.1.0-beta1
#r "nuget: Bitfinex.Net, 7.1.0-beta1"
// Install Bitfinex.Net as a Cake Addin #addin nuget:?package=Bitfinex.Net&version=7.1.0-beta1&prerelease // Install Bitfinex.Net as a Cake Tool #tool nuget:?package=Bitfinex.Net&version=7.1.0-beta1&prerelease
Bitfinex.Net
Bitfinex.Net is a wrapper around the Bitfinex API as described on Bitfinex, including all features the API provides using clear and readable objects, both for the REST as the websocket API's.
If you think something is broken, something is missing or have any questions, please open an Issue
Installation
dotnet add package Bitfinex.Net
Support the project
I develop and maintain this package on my own for free in my spare time, any support is greatly appreciated.
Referral link
Sign up using the following referral link to pay a small percentage of the trading fees you pay to support the project instead of paying them straight to Bitfinex. This doesn't cost you a thing! Link
Donate
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: bc1qz0jv0my7fc60rxeupr23e75x95qmlq6489n8gh
Eth: 0x8E21C4d955975cB645589745ac0c46ECA8FAE504
Sponsor
Alternatively, sponsor me on Github using Github Sponsors.
Discord
A Discord server is available here. Feel free to join for discussion and/or questions around the CryptoExchange.Net and implementation libraries.
Release notes
Version 7.1.0-beta1 - 06 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/tree/beta?tab=readme-ov-file#release-notes
- Combined multiple private websocket subscriptions into single subscription
- Fixed issue in DI registration causing http client to not be correctly injected
- Removed excessive constructor overload for BitfinexRestClient
- Removed UpdateType from BitfinexTradeSimple model in favor of the UpdateType in the DataEvent wrapper
Version 7.0.5 - 03 Dec 2023
- Updated CryptoExchange.Net
Version 7.0.4 - 24 Oct 2023
- Updated CryptoExchange.Net
Version 7.0.3 - 09 Oct 2023
- Updated CryptoExchange.Net version
Version 7.0.2 - 21 Sep 2023
- Fixed incorrect url SpotApi.Account.WalletTransferAsync
Version 7.0.1 - 19 Sep 2023
- Fixed socket ticker stream model
Version 7.0.0 - 17 Sep 2023
- Updated all endpoints to V2 API (expect for Account.WithdrawAsync)
- Updated all parameters and response models
- Created endpoints for all possible requests for the Configs and Stats endpoints
- Split the endpoints and subscriptions for trading symbols and funding symbols where necesarry
- Added Account.GetMovementsDetailsAsync endpoint
- Added Account.GetLoginHistoryAsync endpoint
- Added Account.GetApiKeyPermissionsAsync endpoint
- Added Account.GetAccountChangeLogAsync endpoint
- Added ExchangeData.GetDerivativesStatusAsync endpoint
- Added ExchangeData.GetLiquidationsAsync endpoint
- Added ExchangeData.GetFundingStatisticsAsync endpoint
- Added Trading.IncreasePositionAsync endpoint
- Added Trading.GetIncreasePositionInfoAsync endpoint
- Added Trading.GetPositionSnapshotsAsync endpoint
- Added SubscribeToLiquidationUpdatesAsync stream
- Added SubscribeToDerivativesUpdatesAsync stream
- Added SubmitFundingOfferAsync socket request
- Added CancelFundingOfferAsync socket request
Version 6.0.1 - 25 Aug 2023
- Updated CryptoExchange.Net
Version 6.0.0 - 25 Jun 2023
- Updated CryptoExchange.Net to version 6.0.0
- Renamed BitfinexClient to BitfinexRestClient
- Renamed SpotStreams to SpotApi on the BitfinexSocketClient
- Updated endpoints to consistently use a base url without any path as basis to make switching environments/base urls clearer
- Added IBitfinexOrderBookFactory and implementation for creating order books
- Updated dependency injection register method (AddBitfinex)
Version 5.2.0 - 16 Apr 2023
- Added GetTickerHistoryAsync endpoint
- Updated socket PlaceOrderAsync parameters
- Added missing order flag values
Version 5.1.2 - 18 Mar 2023
- Updated CryptoExchange.Net
Version 5.1.1 - 14 Feb 2023
- Updated CryptoExchange.Net
Version 5.1.0 - 17 Nov 2022
- Updated CryptoExchange.Net
Version 5.0.16 - 25 Sep 2022
- Fixed SpotApi.ExchangeData.GetOrderBookAsync() endpoint Bids/Asks being reversed
Version 5.0.15 - 18 Jul 2022
- Updated CryptoExchange.Net
Version 5.0.14 - 16 Jul 2022
- Updated CryptoExchange.Net
Version 5.0.13 - 10 Jul 2022
- Fixed WalletTransferAsync success checking
- Updated CryptoExchange.Net
Version 5.0.12 - 12 Jun 2022
- Updated CryptoExchange.Net
Version 5.0.11 - 24 May 2022
- Updated CryptoExchange.Net
Version 5.0.10 - 22 May 2022
- Updated CryptoExchange.Net
Version 5.0.9 - 08 May 2022
- Updated CryptoExchange.Net
Version 5.0.8 - 01 May 2022
- Updated CryptoExchange.Net which fixed an timing related issue in the websocket reconnection logic
- Added seconds representation to KlineInterval enum
- Added allowed order book levels 1 and 250
Version 5.0.7 - 14 Apr 2022
- Fixed deserialization error in ClosePositionAsync
- Fixed WalletTransferAsync serialization issue
- Updated CryptoExchange.Net
Version 5.0.6 - 14 Mar 2022
- Added SubmitFundingAutoRenewAsync endpoint
- Added GetFundingAutoRenewStatusAsync endpoint
Version 5.0.5 - 10 Mar 2022
- Updated CryptoExchange.Net
Version 5.0.4 - 08 Mar 2022
- Updated CryptoExchange.Net
Version 5.0.3 - 01 Mar 2022
- Updated CryptoExchange.Net improving the websocket reconnection robustness
Version 5.0.2 - 27 Feb 2022
- Updated CryptoExchange.Net
Version 5.0.1 - 24 Feb 2022
- Updated CryptoExchange.Net
Version 5.0.0 - 18 Feb 2022
Added Github.io page for documentation: https://jkorf.github.io/Bitfinex.Net/
Added unit tests for parsing the returned JSON for each endpoint and subscription
Added AddBitfinex extension method on IServiceCollection for easy dependency injection
Added URL reference to API endpoint documentation for each endpoint
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/Bitfinex.Net/MigrationGuide.html for additional notes for updating from V4 to V5
Version 4.2.4 - 03 Nov 2021
- Fixed raw order book stream not accounting for checksum updates
Version 4.2.3 - 08 Oct 2021
- Updated CryptoExchange.Net to fix some socket issues
Version 4.2.2 - 06 Oct 2021
- Updated CryptoExchange.Net, fixing socket issue when calling from .Net Framework
Version 4.2.1 - 05 Oct 2021
- Updated CryptoExchange.Net
Version 4.2.0 - 29 Sep 2021
- Split GetTickerAsync in GetTickerAsync and GetTickersAsync, changed
params
toIEnumerable
- Updated CryptoExchange.Net
- Split GetTickerAsync in GetTickerAsync and GetTickersAsync, changed
Version 4.1.2 - 22 Sep 2021
- Fixed nonce provider when running multiple program instances
Version 4.1.1 - 21 Sep 2021
- Fix for nonce provider not working correctly in combination with other exchanges
Version 4.1.0 - 20 Sep 2021
- Added custom nonce provider support
Version 4.0.5 - 15 Sep 2021
- Updated CryptoExchange.Net
Version 4.0.4 - 02 Sep 2021
- Fix for disposing order book closing socket even if there are other connections
Version 4.0.3 - 26 Aug 2021
- Updated CryptoExchange.Net
Version 4.0.2 - 24 Aug 2021
- Updated CryptoExchange.Net, improving websocket and SymbolOrderBook performance
- Fixes for checksum validation BitfinexSymbolOrderBook
Version 4.0.1 - 13 Aug 2021
- Fix for OperationCancelledException being thrown when closing a socket from a .net framework project
Version 4.0.0 - 12 Aug 2021
- Release version with new CryptoExchange.Net version 4.0.0
- Multiple changes regarding logging and socket connection, see CryptoExchange.Net release notes
- Release version with new CryptoExchange.Net version 4.0.0
Version 4.0.0-beta3 - 09 Aug 2021
- Renamed GetTradesForOrderAsync to GetOrderTradesAsync
- Renamed GetTradesAsync to GetTradeHistoryAsync
- Renamed GetTradeHistoryAsync to GetUserTradesAsync
- Renamed GetOrderHistoryAsync to GetOrdersAsync
Version 4.0.0-beta2 - 26 Jul 2021
- Updated CryptoExchange.Net
Version 4.0.0-beta1 - 09 Jul 2021
- Added Async postfix for async methods
- Updated CryptoExchange.Net
Version 3.5.0-beta4 - 07 Jun 2021
- Fixed IExchangeClient PlaceOrder OrderType
- Fixed WalletTransferAsync amount parameter serialization
- Updated CryptoExchange.Net
Version 3.5.0-beta3 - 26 May 2021
- Removed non-async calls
- Updated to CryptoExchange.Net changes
Version 3.5.0-beta2 - 06 mei 2021
- Updated CryptoExchange.Net
Version 3.5.0-beta1 - 30 apr 2021
- Updated to CryptoExchange.Net 4.0.0-beta1, new websocket implementation
Product | Versions 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. |
-
.NETStandard 2.0
- Crc32.NET (>= 1.2.0)
- CryptoExchange.Net (>= 7.0.0-beta1)
-
.NETStandard 2.1
- Crc32.NET (>= 1.2.0)
- CryptoExchange.Net (>= 7.0.0-beta1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Bitfinex.Net:
Package | Downloads |
---|---|
CryptoClients.Net
CryptoClients.Net is a collection of multiple cryptocurrency exchange API clients for accessing both the REST API's and WebSocket API's. Supports order and account management and requesting and streaming both public and private data. |
|
exchange-client-1
Exchange client gather all exchanges via jkorf and it uses common client sources |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Bitfinex.Net:
Repository | Stars |
---|---|
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
A C# .netstandard base library used for implementing cryptocurrency exchange API's.
|
Version | Downloads | Last updated |
---|---|---|
7.12.2 | 271 | 12/5/2024 |
7.12.1 | 178 | 12/3/2024 |
7.12.0 | 150 | 11/28/2024 |
7.11.0 | 286 | 11/19/2024 |
7.10.0 | 523 | 11/6/2024 |
7.9.0 | 259 | 10/28/2024 |
7.8.2 | 406 | 10/14/2024 |
7.8.1 | 231 | 10/8/2024 |
7.8.0 | 472 | 9/27/2024 |
7.7.0 | 658 | 8/7/2024 |
7.6.0 | 231 | 7/29/2024 |
7.4.3 | 662 | 7/2/2024 |
7.4.2 | 240 | 6/26/2024 |
7.4.1 | 186 | 6/25/2024 |
7.4.0 | 937 | 6/23/2024 |
7.3.0 | 12,632 | 6/11/2024 |
7.2.8 | 12,976 | 5/7/2024 |
7.2.7 | 12,489 | 5/1/2024 |
7.2.6 | 12,564 | 4/28/2024 |
7.2.5 | 12,514 | 4/23/2024 |
7.2.4 | 12,510 | 4/18/2024 |
7.2.3 | 12,610 | 4/3/2024 |
7.2.2 | 13,363 | 3/25/2024 |
7.2.1 | 12,595 | 3/24/2024 |
7.2.0 | 11,934 | 3/16/2024 |
7.1.0 | 12,883 | 2/25/2024 |
7.1.0-beta2 | 11,975 | 2/17/2024 |
7.1.0-beta1 | 12,065 | 2/6/2024 |
7.0.5 | 13,051 | 12/3/2023 |
7.0.4 | 12,735 | 10/24/2023 |
7.0.3 | 8,641 | 10/9/2023 |
7.0.2 | 8,807 | 9/21/2023 |
7.0.1 | 8,489 | 9/19/2023 |
7.0.0 | 8,524 | 9/17/2023 |
6.0.1 | 9,079 | 8/25/2023 |
6.0.0 | 1,666 | 6/25/2023 |
5.2.0 | 1,885 | 4/16/2023 |
5.1.2 | 1,524 | 3/18/2023 |
5.1.1 | 1,478 | 2/14/2023 |
5.1.0 | 1,750 | 11/17/2022 |
5.0.16 | 1,735 | 9/25/2022 |
5.0.15 | 2,365 | 7/18/2022 |
5.0.14 | 1,129 | 7/16/2022 |
5.0.13 | 2,199 | 7/10/2022 |
5.0.12 | 1,462 | 6/12/2022 |
5.0.11 | 1,407 | 5/24/2022 |
5.0.10 | 1,144 | 5/22/2022 |
5.0.9 | 1,354 | 5/8/2022 |
5.0.8 | 1,265 | 5/1/2022 |
5.0.7 | 1,783 | 4/14/2022 |
5.0.6 | 1,936 | 3/14/2022 |
5.0.5 | 1,138 | 3/10/2022 |
5.0.4 | 1,133 | 3/8/2022 |
5.0.3 | 2,664 | 3/1/2022 |
5.0.2 | 1,180 | 2/27/2022 |
5.0.1 | 1,210 | 2/24/2022 |
5.0.0 | 1,120 | 2/18/2022 |
5.0.0-beta4 | 831 | 2/5/2022 |
5.0.0-beta3 | 818 | 1/31/2022 |
5.0.0-beta2 | 810 | 1/24/2022 |
5.0.0-beta1 | 867 | 1/15/2022 |
5.0.0-alpha6 | 787 | 1/7/2022 |
5.0.0-alpha5 | 834 | 1/3/2022 |
5.0.0-alpha4 | 799 | 1/1/2022 |
5.0.0-alpha3 | 806 | 12/27/2021 |
5.0.0-alpha2 | 829 | 12/21/2021 |
5.0.0-alpha1 | 858 | 12/7/2021 |
4.2.4 | 4,304 | 11/3/2021 |
4.2.3 | 1,389 | 10/8/2021 |
4.2.2 | 1,030 | 10/6/2021 |
4.2.1 | 1,004 | 10/5/2021 |
4.2.0 | 1,202 | 9/29/2021 |
4.1.2 | 1,059 | 9/22/2021 |
4.1.1 | 1,102 | 9/21/2021 |
4.1.0 | 1,028 | 9/20/2021 |
4.0.5 | 1,067 | 9/15/2021 |
4.0.4 | 1,096 | 9/2/2021 |
4.0.3 | 1,120 | 8/26/2021 |
4.0.2 | 1,023 | 8/24/2021 |
4.0.1 | 1,273 | 8/13/2021 |
4.0.0 | 988 | 8/12/2021 |
4.0.0-beta3 | 853 | 8/9/2021 |
4.0.0-beta2 | 887 | 7/26/2021 |
4.0.0-beta1 | 909 | 7/9/2021 |
3.5.0-beta4 | 1,035 | 6/7/2021 |
3.5.0-beta3 | 861 | 5/26/2021 |
3.5.0-beta2 | 905 | 5/6/2021 |
3.5.0-beta1 | 898 | 4/30/2021 |
3.4.7 | 2,232 | 5/4/2021 |
3.4.6 | 1,052 | 4/28/2021 |
3.4.5 | 1,147 | 4/20/2021 |
3.4.4 | 1,070 | 4/19/2021 |
3.4.3 | 1,318 | 4/8/2021 |
3.4.2 | 1,272 | 3/30/2021 |
3.4.1 | 1,531 | 3/1/2021 |
3.4.0 | 1,279 | 3/1/2021 |
3.3.1 | 1,247 | 2/24/2021 |
3.3.0 | 1,193,408 | 2/9/2021 |
3.2.0 | 1,121 | 2/3/2021 |
3.1.2 | 1,246 | 1/22/2021 |
3.1.1 | 1,118 | 1/14/2021 |
3.1.0 | 1,302 | 12/21/2020 |
3.0.18 | 1,230 | 12/11/2020 |
3.0.17 | 1,618 | 11/19/2020 |
3.0.16 | 1,958 | 10/8/2020 |
3.0.15 | 1,838 | 8/28/2020 |
3.0.14 | 1,322 | 8/12/2020 |
3.0.13 | 1,444 | 7/20/2020 |
3.0.12 | 1,553 | 6/21/2020 |
3.0.11 | 1,221 | 6/16/2020 |
3.0.10 | 1,344 | 6/7/2020 |
3.0.9 | 8,068 | 3/3/2020 |
3.0.8 | 1,279 | 3/3/2020 |
3.0.7 | 1,575 | 2/5/2020 |
3.0.6 | 1,389 | 1/27/2020 |
3.0.5 | 2,191 | 11/19/2019 |
3.0.4 | 1,302 | 11/19/2019 |
3.0.3 | 1,323 | 11/15/2019 |
3.0.2 | 1,317 | 11/12/2019 |
3.0.1 | 1,480 | 10/24/2019 |
3.0.0 | 1,254 | 10/23/2019 |
2.1.6 | 17,344 | 8/7/2019 |
2.1.5 | 1,274 | 8/6/2019 |
2.1.4 | 1,311 | 8/5/2019 |
2.1.3 | 2,240 | 7/9/2019 |
2.1.2 | 1,366 | 7/8/2019 |
2.1.1 | 1,382 | 7/1/2019 |
2.1.0 | 1,403 | 6/27/2019 |
2.0.12 | 6,150 | 5/14/2019 |
2.0.11 | 1,438 | 5/1/2019 |
2.0.10 | 1,913 | 3/18/2019 |
2.0.9 | 1,495 | 3/8/2019 |
2.0.8 | 1,313 | 3/7/2019 |
2.0.7 | 1,826 | 2/18/2019 |
2.0.6 | 1,910 | 2/1/2019 |
2.0.5 | 1,899 | 1/9/2019 |
2.0.4 | 1,991 | 12/17/2018 |
2.0.3 | 1,495 | 12/10/2018 |
2.0.2 | 1,522 | 12/6/2018 |
2.0.1 | 1,425 | 12/6/2018 |
2.0.0 | 1,437 | 12/5/2018 |
1.2.6 | 1,994 | 10/30/2018 |
1.2.5 | 1,619 | 10/18/2018 |
1.2.4 | 1,854 | 9/21/2018 |
1.2.3 | 1,533 | 9/19/2018 |
1.2.2 | 1,655 | 9/7/2018 |
1.2.1 | 1,944 | 8/22/2018 |
1.2.0 | 3,386 | 8/21/2018 |
1.1.8 | 1,582 | 8/20/2018 |
1.1.7 | 1,652 | 8/16/2018 |
1.1.6 | 1,601 | 8/15/2018 |
1.1.5 | 1,626 | 8/13/2018 |
1.1.4 | 1,812 | 7/30/2018 |
1.1.3 | 1,684 | 7/24/2018 |
1.1.2 | 1,603 | 7/20/2018 |
1.1.1 | 1,736 | 7/18/2018 |
1.1.0 | 1,718 | 7/16/2018 |
1.0.19 | 1,705 | 7/12/2018 |
1.0.18 | 2,006 | 7/3/2018 |
1.0.17 | 3,882 | 6/28/2018 |
1.0.16 | 1,765 | 6/26/2018 |
1.0.15 | 1,747 | 6/26/2018 |
1.0.14 | 1,768 | 6/25/2018 |
1.0.13 | 1,693 | 6/22/2018 |
1.0.12 | 1,904 | 6/11/2018 |
1.0.11 | 1,666 | 6/6/2018 |
1.0.10 | 1,643 | 6/5/2018 |
1.0.9 | 1,716 | 6/4/2018 |
1.0.8 | 5,243 | 5/12/2018 |
1.0.7 | 1,694 | 5/12/2018 |
1.0.6 | 1,733 | 5/8/2018 |
1.0.5 | 1,637 | 5/7/2018 |
1.0.4 | 1,644 | 5/7/2018 |
1.0.3 | 1,746 | 5/4/2018 |
1.0.2 | 1,745 | 4/20/2018 |
1.0.1 | 1,679 | 4/20/2018 |
1.0.0 | 1,707 | 4/19/2018 |
0.0.8 | 2,370 | 3/23/2018 |
0.0.7 | 1,826 | 3/23/2018 |
0.0.6 | 1,686 | 3/22/2018 |
0.0.5 | 1,681 | 3/21/2018 |
0.0.4 | 1,694 | 3/20/2018 |
0.0.3 | 1,858 | 3/12/2018 |
0.0.2 | 1,738 | 3/9/2018 |
0.0.1 | 1,709 | 3/8/2018 |
7.1.0-beta1 - 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/tree/beta?tab=readme-ov-file#release-notes, Combined multiple private websocket subscriptions into single subscription, Fixed issue in DI registration causing http client to not be correctly injected, Removed excessive constructor overload for BitfinexRestClient, Removed UpdateType from BitfinexTradeSimple model in favor of the UpdateType in the DataEvent wrapper