-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storing pre-interactions and Jit orders in quote metadata (#3162)
# Description Added storing of additional quote metadata: pre-interactions and jit orders. Those data can be used for debugging/analysis of the quotes and orders executed by the winning auction. # Changes Extended `QuoteMetadataV1` struct with new fields (vectors): `pre_interactions` and `jit_orders`. Extended `QuoteExecution` struct in trade finding quote with same fields as `QuoteMetadataV1`. Added filling of `QuoteExecution` new fields from price estimation results and then moving them to `QuoteMetadataV1` and storing in database as json. :warning: This PR needs to be released together with PR #3124, which introduced `QuoteMetadataV1`. Otherwise this PR needs to be updated to use new type: `QuoteMetadataV2` for properly handling version 1 data already stored in database. ## How to test Existing tests. Also unit tests were updated to verify serializaion/deserialization of new fields.
- Loading branch information
Showing
6 changed files
with
96 additions
and
9 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
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
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