GithubHelp home page GithubHelp logo

Socket Data Null Fields about bybit.net HOT 3 CLOSED

jkorf avatar jkorf commented on June 15, 2024
Socket Data Null Fields

from bybit.net.

Comments (3)

JKorf avatar JKorf commented on June 15, 2024 2

Hi, so I checked this out, and found what the issue is. Initially the server sends a snapshot for each symbol with all info. After that it will only send updates for properties which have changed. If a property hasn't changed it will therefor remain null and should be ignored. Hope this clears things up

from bybit.net.

JKorf avatar JKorf commented on June 15, 2024 1

I've fixed an issue in exponential value parsing in the latest version, that should help.
If you have streams that don't seem to work well please let me know which subscription it is with which parameters.

from bybit.net.

emin-karadag avatar emin-karadag commented on June 15, 2024

Hello,
Thank you for the instant price listening feature of more than one symbol at the same time.
Also, a lot of null fields seem to be fixed.

However, there is a problem. When I run the code below;
BTCUSDT price information coming in and correct.
ETHUSDT price information is coming and correct.
EOSUSDT price information is coming and correct.

Then EOSUSDT price information comes again and it is WRONG. Many fields are null.
After that, instant price listening is no longer possible.

var futuresSymbols = await _bybitService.GetAllFuturesSymbolsAsync(stoppingToken).ConfigureAwait(false);
if (futuresSymbols.Any())
{
    var symbols = futuresSymbols.Where(p => p.Name.EndsWith("USDT")).Select(p => p.Name);
    var socketClient = new BybitSocketClient();
    await socketClient.UsdPerpetualStreams.SubscribeToTickerUpdatesAsync(symbols, data =>
    {
        var aa = data;
    }, stoppingToken).ConfigureAwait(false);
}

from bybit.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.