Bybit.Exchange.Net
2024.4.29.1
See the version list below for details.
dotnet add package Bybit.Exchange.Net --version 2024.4.29.1
NuGet\Install-Package Bybit.Exchange.Net -Version 2024.4.29.1
<PackageReference Include="Bybit.Exchange.Net" Version="2024.4.29.1" />
paket add Bybit.Exchange.Net --version 2024.4.29.1
#r "nuget: Bybit.Exchange.Net, 2024.4.29.1"
// Install Bybit.Exchange.Net as a Cake Addin #addin nuget:?package=Bybit.Exchange.Net&version=2024.4.29.1 // Install Bybit.Exchange.Net as a Cake Tool #tool nuget:?package=Bybit.Exchange.Net&version=2024.4.29.1
Bybit.Exchange.Net
Bybit.Exchange.Net is a library designed for .NET projects, tailored for seamless interaction with the Bybit crypto exchange API. With a structure closely aligned with Bybit's API documentation, it prioritizes simplicity, offering rich models, enums, and convenient logging for easy integration into .NET projects. Ideal for developers building crypto trading applications on the Bybit.
Prerequisites
- Windows: .NET 8
Installation and sources
Features
The Features documentation provides an in-depth look at the functionalities and capabilities of our project. Understanding the available features.
Key Features
Built with full compatibility for .NET 8, ensuring smooth execution on the latest .NET applications and projects.
Designed with a structure closest to Bybit's API documentation, ensuring consistency and ease of understanding during integration.
Focuses on providing models and enums that accurately reflect the key concepts from Bybit's API, simplifying the creation and handling of API requests.
The library is designed to simplify the process of interacting with the Bybit API, with logically organized methods and classes, saving developers time and effort during integration.
Effortlessly log API responses, including raw data from Bybit, to enhance tracking and facilitate effective debugging throughout the development and deployment phases of your application.
With flexibility, user-friendliness, and seamless integration into .NET projects, Bybit.Exchange.Net is a valuable resource for developers looking to build crypto trading applications on the Bybit exchange.
Release Notes
Explore the Release Notes to stay up-to-date with the latest changes, improvements, and bug fixes. We regularly update this section to provide transparency and highlight the evolution of the project.
API Support
Refer to the API Documentation for details on the current APIs supported by our project. If you have suggestions for new APIs, feel free to open a request.
Quick Setup
Program.cs
using Bybit.Exchange.Net.Extensions;
using Bybit.Exchange.Net.Models.Common;
builder.Services.AddBybitExchange(new BybitRestOptions()
{
Credentials = new ByBitCredentials()
{
Key = "key",
Secret = "secret",
}
});
Blazor Pages
@using Bybit.Exchange.Net.Library.Interface
@using Bybit.Exchange.Net.Models.V5.Account
@using static Bybit.Exchange.Net.Data.Enums
@inject IBybitRestClient client
protected override async Task OnInitializedAsync()
{
var response = await client.V5.Account.GetWalletBalanceAsync(new GetWalletBalanceRequest()
{
accountType = AccountType.UNIFIED,
});
}
Others
using Bybit.Exchange.Net.Library
using Bybit.Exchange.Net.Models.Common
using Bybit.Exchange.Net.Models.V5.Market
using static Bybit.Exchange.Net.Data.Enums
var client = new BybitRestClient(new BybitRestOptions()
{
Credentials = new ByBitCredentials(key, secret),
Environment = BybitEnvironment.Live
});
var response = await client.V5.Market.GetTickersAsync(new GetTickersRequest() {
category = Category.Spot
});
Contributing Guide
We welcome contributions to our project! Before getting started, please take a moment to read through the following guidelines:
Submitting Changes
- Clone "contributors" branch.
- Add some nice features.
- Create a Pull Request to "develop" branch.
Reporting Bugs
If you have found a bug in our project, please open an issue on GitHub. When reporting a bug, please include as much detail as possible about the issue and steps to reproduce it.
License
By contributing to our project, you agree that your contributions will be licensed under the LICENSE
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
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 |
---|---|---|
2024.10.5.1 | 134 | 10/5/2024 |
2024.6.16.1 | 131 | 6/16/2024 |
2024.5.8.1 | 136 | 5/8/2024 |
2024.4.29.1 | 102 | 4/29/2024 |
2024.4.26.2 | 116 | 4/26/2024 |
2024.4.26.1 | 99 | 4/26/2024 |
2024.4.11.1 | 108 | 4/11/2024 |
2024.4.6.1 | 97 | 4/6/2024 |
2024.3.3.1 | 196 | 3/3/2024 |
2024.2.23.1 | 146 | 2/23/2024 |
2024.2.20.1 | 113 | 2/20/2024 |
2024.2.18.1 | 108 | 2/18/2024 |
2024.2.15.1 | 125 | 2/15/2024 |
2024.2.8.1 | 117 | 2/8/2024 |
2024.2.4.1 | 100 | 2/4/2024 |
2024.2.2.1 | 103 | 2/2/2024 |
2024.2.1.1 | 94 | 2/1/2024 |
2024.1.29.1 | 98 | 1/29/2024 |
2024.1.26.1 | 106 | 1/26/2024 |
2024.1.25.1 | 102 | 1/25/2024 |
2024.1.24.1 | 99 | 1/24/2024 |
2024.1.23.1 | 99 | 1/23/2024 |
2024.1.22.3 | 110 | 1/22/2024 |
2024.1.22.2 | 103 | 1/22/2024 |
2024.1.22.1 | 100 | 1/22/2024 |