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 }
Error: {[ServerError] 80015: dataType not support }