JKorf / BingX.Net

A C# .netstandard client library for the BingX REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/BingX.Net/
MIT License
6 stars 5 forks source link

Bingx Forex symbols not available in BingX.net API #1

Closed 30yavash closed 7 months ago

30yavash commented 7 months ago
using BingX.Net.Clients;

BingXSocketClient _bingx = new BingXSocketClient();

var response = await _bingx.PerpetualFuturesApi.SubscribeToTickerUpdatesAsync("NZD-USD", update =>
{
    Console.WriteLine(update.Data.LastPrice);
});

try
{
    // Await a delay that will be canceled when the token is canceled
    await Task.Delay(Timeout.Infinite);
}
catch (TaskCanceledException)
{
    Console.WriteLine("Task Canceled successfully.");
}

Error: {[ServerError] 80015: dataType not support }

JKorf commented 7 months ago

image

Stock and Forex trading is not currently supported via the API