Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
burakoner committed Oct 9, 2024
1 parent 93f6ee7 commit 0eddc3f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions OKX.Api.Examples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
internal class Program
{
static async Task Main(string[] args)
{
var ws = new OKXWebSocketApiClient();
ws.SetApiCredentials("ab69cb97-05fb-430f-b880-49940796f86e", "BCD93B0F1C9BCB9C2BE3AD3E2BE53DCE", "bo1144167AZ*");

await ws.Account.SubscribeToAccountUpdatesAsync(data =>
{
Console.WriteLine($"Account Balance: {data}");
}, "BTC", 100);

Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
static async Task Main2(string[] args)
{
#region Rest Api Client Examples
var api = new OkxRestApiClient();
Expand Down

0 comments on commit 0eddc3f

Please sign in to comment.