Binance API Csharp Client
C#.NET client for Binance Exchange API.
Features
- Very easy to understand and get started.
- Complete implementation of the Binance API and WebSockets.
- Validates transactions using the Binance Trading Rules
- API results deserialized to concrete objects for ease of usage.
- Includes a ready to go test project with all possible API calls, just provide your API Key and Secret.
Installation
Nuget Package Manager
PM> Install-Package Binance.API.Csharp.Client
.NET CLI
dotnet add package Binance.API.Csharp.Client
Getting Started
In order to use signed methods you need to create a Binance account, if you already have one, go to your account and create a new API private key.
Create an instance of the APIClient which receive the following parameters:
- ApiKey - Key used to authenticate within the API.
- ApiSecret - API secret used for signed API calls.
- ApiUrl (Optional) - Base URL of the API.
- WebSocketEndpoint (Optional) - URL of the WebSockets.
var apiClient = new ApiClient("@Your-API-Key", "@Your-API-Secret");
Create an instance of the BinanceClient which will receive the previously created APIClient
var binanceClient = new BinanceClient(apiClient);
Documentation and Examples
License
Binance.API.Csharp.Client is open-sourced software licensed under the MIT license
Code of Conduct
Please read and follow our Code of Conduct.
Donations
If you find this tool useful, you can show you support with a kind donation:
BTC: 19cgA4YLfxakSvGyu9isdwBJw11mhCVNAp
ETH: 0xf059966c50727c1a67c112360686fbfbb0798cfa