-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters