Code Monkey home page Code Monkey logo

Comments (4)

cryptochassis avatar cryptochassis commented on July 20, 2024

For trades, it is tick data, the time_seconds will have a fraction part. For order book data, it is 1-second granularity. So far I haven't found time modify the backtest code to accommodate for less than 1 second granularity order book data which will be a major revision. Also the order book data that we can provide is 1 second so that we can keep the cost under control. Thank you for your interest in our repository.

from ccapi.

ericyue avatar ericyue commented on July 20, 2024

Thanks for reply!
Another three questions:
1、can I use 200ms trades tick data with 1-seconds orderbook for backtesting? or must be 1-second trade with 1-second book data?
2、why there's a limit for only can use 1-seconds orderbook for backtesting ? can you give me some advise about it ?
3、when live-trading , what's the data frequency? Is there still a limit for using a 1-second orderbook data?

from ccapi.

cryptochassis avatar cryptochassis commented on July 20, 2024

Thanks for reply! Another three questions: 1、can I use 200ms trades tick data with 1-seconds orderbook for backtesting? or must be 1-second trade with 1-second book data? 2、why there's a limit for only can use 1-seconds orderbook for backtesting ? can you give me some advise about it ? 3、when live-trading , what's the data frequency? Is there still a limit for using a 1-second orderbook data?

[1] uh, what do you mean by 200ms trades tick data? So trades tick data are tick data without any aggregation.
[2] If you use our market making app, then the backtest engine walk through the order book data in one-second clock ticks. If you have your own backtest engine, then any granularity will work. You'd just create a stream of Events in chronological order and walk through them one by one by calling processEvent(event).
[3] If you use our market making app, then the data frequency is 1 second. Otherwise if you really need order book tick by tick then https://github.com/crypto-chassis/ccapi/blob/v5.27.0/app/src/spot_market_making/config.env.example#L79.
Let me know whether the answers are satisfactory or not. If you have more questions, feel free to message me on https://discord.gg/b5EKcp9s8T.

from ccapi.

ericyue avatar ericyue commented on July 20, 2024

great! thanks for your advice!

from ccapi.

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.