Skip to content
/ Gemini Public

C# Library for Gemini Cryptocurrency Exchange API

License

Notifications You must be signed in to change notification settings

lazear/Gemini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini

The open source API for the Gemini Exchange

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

Compiling for non-Windows hosts

  1. Download the .NET Core 2.0 SDK
  2. Clone the .NET Core branch
  3. Run dotnet build

About

C# Library for Gemini Cryptocurrency Exchange API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages