Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for depth parameter in orderbook query #6

Merged
merged 1 commit into from
Feb 29, 2024

Commits on Feb 29, 2024

  1. feat: add support for depth parameter in orderbook query

    This commit adds new method to DLOBClient, which allows to request
    orderbook with a required depth. To handle cases when depth is not
    provided, default constant can be used, which is set to value of 10.
    
    Motivation: currently DLOBClient requests the entirety of orderbook,
    which contains around 50 levels. Sometimes this can be unecessary, for
    example if we are only interested in best bid/ask, which is why it can
    be useful to have an option to control the depth of requested orderbook.
    bmuddha committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1a9f135 View commit details
    Browse the repository at this point in the history