Skip to content

Conversation

@faysou
Copy link
Collaborator

@faysou faysou commented Oct 2, 2025

Pull Request

NautilusTrader prioritizes correctness and reliability, please follow existing patterns for validation and testing.

  • I have reviewed the CONTRIBUTING.md and followed the established practices

Summary

Partial bars add complexity to the code and were used nowhere correctly in the code.

Related Issues/PRs

Type of change

  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (impacts existing behavior)
  • Documentation update
  • Maintenance / chore

Breaking change details (if applicable)

Documentation

  • Documentation changes follow the style guide (docs/developer_guide/docs.md)

Release notes

  • I added a concise entry to RELEASES.md that follows the existing conventions (when applicable)

Testing

Ensure new or changed logic is covered by tests.

  • Affected code paths are already covered by the test suite
  • I added/updated tests to cover new or changed logic

@cjdsellers
Copy link
Member

I agree this is a nice simplification. It removes an undocumented feature that’s no longer needed.

We now have better options for generating historical bars directly from trades and continuing with internal aggregation, instead of starting from externally formed bars plus a partial and then switching back to internal aggregation.

@cjdsellers cjdsellers merged commit 6df44b7 into develop Oct 2, 2025
44 of 49 checks passed
@cjdsellers cjdsellers deleted the remove-partial branch October 2, 2025 23:21
cjdsellers added a commit that referenced this pull request Oct 3, 2025
- Filter incomplete bars using timestamp check in Binance and dYdX
- Fix dYdX regression from PR #3020 that included partial bars
- Clean up partial bar remnants (docs, stubs, comments)
- Add breaking change entry to `RELEASES.md`
@sunlei sunlei mentioned this pull request Oct 6, 2025
5 tasks
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

Successfully merging this pull request may close these issues.

3 participants