Skip to content

feat: merge canonical history into market bars - #277

Merged
pjy008008 merged 2 commits into
developfrom
feature/market-history-cache
Aug 9, 2026
Merged

feat: merge canonical history into market bars#277
pjy008008 merged 2 commits into
developfrom
feature/market-history-cache

Conversation

@pjy008008

Copy link
Copy Markdown
Contributor

What changed

  • Decode compact adjusted history projected from canonical S3 data into Redis.
  • Merge canonical history with newer live Redis bars while preventing stale raw bars from replacing adjusted history.
  • Return up to 400 market bars by default for chart consumers.

Why

Strategy previews and bot charts need enough adjusted historical bars without reading S3 on every API request.

Checks

  • ./gradlew :apps:backend-api:test :modules:backend-messaging:test

@pjy008008
pjy008008 merged commit 437f03f into develop Aug 9, 2026
2 checks passed
@pjy008008
pjy008008 deleted the feature/market-history-cache branch August 9, 2026 18:09
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.

1 participant