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

Add option to exclude Dark Pool Data from Aggregate Bars #39

Open
ParsaPilehvari opened this issue Oct 26, 2024 · 1 comment
Open

Add option to exclude Dark Pool Data from Aggregate Bars #39

ParsaPilehvari opened this issue Oct 26, 2024 · 1 comment

Comments

@ParsaPilehvari
Copy link

The aggregate bar endpoints have the dark pool trades and volume rolled into it, leading to moments in my datasets where the high, low, and close of a bar can be wildly different from what the NASDAQ historical data reports in reality. It seems counter-intuitive to include this data in the aggregate bars as retail traders are unable to actually trade at those dark pool values, which only results in noise to an algorithm and with sufficient dark pool volumes, it can easily trigger false positives/negatives.

Having a boolean option to filter out the dark pool exchange's OHLCV from the aggregate bars will resolve this issue.

Note: A potential workaround could be consolidating the historical trades and filtering out the FINRA dark pool exchange directly, but during high volume periods, this will require multiple API calls to consolidate each trade into an aggregate bar, which severely degrades real-time performance.

@ParsaPilehvari
Copy link
Author

Seems to be a duplicate of Add option to exclude dark pool from aggregate data however it does not seem like the issue was actually resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant