Kraken API Client
A Simple .Net client for the Kraken API.
Developed mainly for XRP.
Target frameworks: .NET Standard 2.0, .NET Core 3.1, .net 6, ,net 8
Functionalities
Public | ||
---|---|---|
ListPairs | List available currency pairs | |
Get Ticker | Retrieve the Ticker of a specific currency pair. | The response is cached for a configurable amount of time. |
Private | ||
---|---|---|
Get Balance | Retrieve the owned and available amount of every currencies. |
|
Create Market Order | Create an order at the current market price | |
Create Limit Order | Create an order with a specified price | |
List open orders | List all the open orders | |
List closed orders | List all the closed order | |
Withdraw Crypto | Withdraw cryptocurrency to a registered wallet. | The wallet name must be registered in advance |
How to use it
Add the NuGet package.
See the examples in Examples
For developers
Source code on GitHub.
Deployment was before on MS DevOps but after the change of GitHub name it was impossible to restore a permission for the repository.
Deployment on GitHub use a much cleaner script with only 1 "layer" of inermediate machine.
Kraken documentation
Kraken API documentation:
- REST API documentation: https://docs.kraken.com/rest
- WebSocket API documentation: https://docs.kraken.com/websockets API support page: https://support.kraken.com/hc/en-us/categories/360000080686-API
C# examples: https://bitbucket.org/arrivets/krakenapi/src/master/