Bybit.Exchange.Net 2024.4.11.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Bybit.Exchange.Net --version 2024.4.11.1
NuGet\Install-Package Bybit.Exchange.Net -Version 2024.4.11.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bybit.Exchange.Net" Version="2024.4.11.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bybit.Exchange.Net --version 2024.4.11.1
#r "nuget: Bybit.Exchange.Net, 2024.4.11.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Bybit.Exchange.Net as a Cake Addin
#addin nuget:?package=Bybit.Exchange.Net&version=2024.4.11.1

// Install Bybit.Exchange.Net as a Cake Tool
#tool nuget:?package=Bybit.Exchange.Net&version=2024.4.11.1

logo

Bybit.Exchange.Net

NuGet Version (Bybit.Exchange.Net) NuGet Download (Bybit.Exchange.Net) Azure DevOps Releases

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

  1. Clone "contributors" branch.
  2. Add some nice features.
  3. 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.

Support Us with a Donation

Consider making a donation in your preferred cryptocurrency to support our project. If the cryptocurrency you want to donate is not listed here, please reach out to us.

  • USDT: TG8dYGsFU3euoMcjaMGq7whpFKMFh8J6u7
  • USDC: 0x273b11e05862ee18a6dec243cbdbd0c12132da5d

Your contribution helps us continue our work and is greatly appreciated!

License

By contributing to our project, you agree that your contributions will be licensed under the LICENSE

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.4.29.1 67 4/29/2024
2024.4.26.2 83 4/26/2024
2024.4.26.1 74 4/26/2024
2024.4.11.1 82 4/11/2024
2024.4.6.1 82 4/6/2024
2024.3.3.1 170 3/3/2024
2024.2.23.1 121 2/23/2024
2024.2.20.1 85 2/20/2024
2024.2.18.1 85 2/18/2024
2024.2.15.1 98 2/15/2024
2024.2.8.1 95 2/8/2024
2024.2.4.1 75 2/4/2024
2024.2.2.1 75 2/2/2024
2024.2.1.1 73 2/1/2024
2024.1.29.1 75 1/29/2024
2024.1.26.1 84 1/26/2024
2024.1.25.1 76 1/25/2024
2024.1.24.1 73 1/24/2024
2024.1.23.1 77 1/23/2024
2024.1.22.3 81 1/22/2024
2024.1.22.2 78 1/22/2024
2024.1.22.1 76 1/22/2024