Donate 12fj5Stp31SrYjtcN9T1jnXPGKUsEF92KD
Examples:
Initialize a new set of API Keys
using Gemini;
// Create a new wallet file
GeminiClient.Wallet.Create(new GeminiWallet { Key = "x736hasjdgf7t", Secret = "******" }, "mywallet.aes", "hunter1");
// Open the file
GeminiClient.Wallet.Open("mywallet.aes", "hunter1");
Account management
// Retrieve balances
var balances = GeminiClient.GetBalances();
Console.WriteLine(balances.FirstOrDefault((x) => x.Currency == "BTC").AvailableForWithdrawal);
// Retrieve active orders
var orders = GeminiClient.GetActiveOrders();
foreach(OrderStatus order in orders)
Console.WriteLine(order.IsLive);
More indepth examples can be found in the Examples directory
- Download the .NET Core 2.0 SDK
- Clone the .NET Core branch
- Run
dotnet build