BybitApi.Net
1.24.8
dotnet add package BybitApi.Net --version 1.24.8
NuGet\Install-Package BybitApi.Net -Version 1.24.8
<PackageReference Include="BybitApi.Net" Version="1.24.8" />
<PackageVersion Include="BybitApi.Net" Version="1.24.8" />
<PackageReference Include="BybitApi.Net" />
paket add BybitApi.Net --version 1.24.8
#r "nuget: BybitApi.Net, 1.24.8"
#:package BybitApi.Net@1.24.8
#addin nuget:?package=BybitApi.Net&version=1.24.8
#tool nuget:?package=BybitApi.Net&version=1.24.8
Bybit Easy API
Bybit Easy API is a simple and efficient .NET client library for interacting with the Bybit cryptocurrency exchange API. It provides easy-to-use methods to access Bybit’s public and private endpoints, allowing developers to integrate Bybit trading functionality into their applications seamlessly.
Features
- Access public market data endpoints
- Place and manage orders
- Retrieve account information and balances
- Handle real-time WebSocket data streams
- Easy authentication with API keys
- Asynchronous programming support for high performance
Installation
You can install the package via NuGet Package Manager:
Install-Package BybitApi.Net
Or via .NET CLI:
dotnet add package BybitApi.Net
Usage
REST Endpoints
// Get the ETH/USDT ticker via rest request
var restClient = new BybitRestClient();
var tickerResult = await restClient.V5Api.ExchangeData.GetSpotTickersAsync("ETHUSDT");
var lastPrice = tickerResult.Data.List.First().LastPrice;
Websocket streams
var socketClient = new BybitSocketClient();
var tickerSubscriptionResult = socketClient.V5SpotApi.SubscribeToTickerUpdatesAsync("ETHUSDT", (update) =>
{
var lastPrice = update.Data.LastPrice;
});
Documentation
Detailed documentation is available on the GitHub repository.
Contributing
Contributions are welcome! Please open issues or submit pull requests via the GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
By Jack Freeman
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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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
- CryptoExchange.Net (>= 9.1.0)
-
.NETStandard 2.1
- CryptoExchange.Net (>= 9.1.0)
-
net8.0
- CryptoExchange.Net (>= 9.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.