Giter Club home page Giter Club logo

Comments (4)

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

Hello Sergey,

Unfortunately, both features are currently not implemented. Sequencing should be easy to implement. I will add this feature during the next days.

Regarding the orderbook checksumming: Currently, the implementation only forwards orderbook entries and does not build an orderbook itself. To verify the checksum, we need an orderbook with at least 25 entries.

Do you have already written an implementation for collecting orderbook entries and build a proper orderbook? If so, would you share your code? I would be happy to add this to the project. Then we could use the orderbook to calculate the checksum.

Best Regards
Jan

from bitfinex-v2-wss-api-java.

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

Hello Sergey,

The last snapshot version contains the sequence number auditing feature. You can enable this as follows:

final ConnectionFeatureManager cfManager = bitfinexClient.getConnectionFeatureManager();

final SequenceNumberAuditor sequenceNumberAuditor = bitfinexClient.getSequenceNumberAuditor();
sequenceNumberAuditor.setErrorPolicy(SequenceNumberAuditor.ErrorPolicy.LOG_ONLY);

cfManager.enableConnectionFeature(BitfinexConnectionFeature.SEQ_ALL);

Best Regards
Jan

from bitfinex-v2-wss-api-java.

tojstein avatar tojstein commented on May 31, 2024

Hi Jan!

Thanks for your quick answer!
I have only partial implementation for the orderbook collector and not created yet the checksum parameter in my code. It will be in the near future.

Regards,
Sergey

from bitfinex-v2-wss-api-java.

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

Hello Sergey,

When you have a working orderbook implementation, I would be happy when you open a pull request. I think that's an interesting feature for a lot of people.

I have prepared the checksum feature in the API implementation, so we can just add that to the orderbook.

Best Regards
Jan

from bitfinex-v2-wss-api-java.

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.