C# Examples for BinaryOptionsTools
Example C# programs demonstrating the BinaryOptionsTools library with async/await.
Prerequisitesโ
- .NET 6+
- BinaryOptionsTools NuGet package
dotnet add package BinaryOptionsToolsV2
Getting Your SSIDโ
Visit PocketOption, open DevTools, find ssid cookie.
Running Examplesโ
dotnet run --project basic.csproj
dotnet run --project balance.csproj
Examplesโ
Basic.cs- Initialize and get balanceBalance.cs- Get account balanceBuy.cs- Place buy tradeSell.cs- Place sell tradeCheckWin.cs- Check trade resultsSubscribe.cs- Subscribe to real-time data
Importantโ
using BinaryOptionsToolsV2;
var client = await PocketOption.InitAsync("your-ssid");
await Task.Delay(2000); // Critical!
var balance = await client.BalanceAsync();
Console.WriteLine($"Balance: ${balance}");
await client.ShutdownAsync();
Build strategies fasterโ
- โจ ChipaEditor โ AI-powered algorithmic trading strategy builder: describe your edge, get a working CHTL strategy, backtest it on historical data, deploy it to a live broker. Free tier, browser and Android. (A trading platform โ not a general-purpose code editor.)
- ๐ ChipaX โ hybrid crypto exchange: perpetuals, spot and margin, with demo mode.
- Chipa Ecosystem overview โ how these fit together with this library.