-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HotFix] Deduplicate BatchMeta table (#188)
#180 introduced a regression that led to double counting of slippages per settlement. batch_meta_table contained a join between batches and trades, creating one row per trade (not per batch). This table was later joined with the batchwise imbalances, leading to double counting each imbalance by the number of trades (e.g. 3 trades --> $50 slippage becomes $150). Co-authored-by: Ben Smith <[email protected]>
- Loading branch information
Showing
3 changed files
with
26 additions
and
25 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