Skip to content

feat: add 3-minute K-line timeframe - #87

Merged
brokermr810 merged 1 commit into
OpenByteInc:mainfrom
Bortlesboat:codex/add-3m-kline-timeframe
May 6, 2026
Merged

brokermr810 merged 1 commit into
OpenByteInc:mainfrom
Bortlesboat:codex/add-3m-kline-timeframe

Conversation

@Bortlesboat

Copy link
Copy Markdown
Contributor

Summary

  • register 3m in backend timeframe seconds and exchange timeframe config
  • support 3-minute stock K-lines by fetching 1-minute bars and aggregating them for yfinance/AkShare-style providers
  • add regression coverage for registration and US stock bar aggregation

Validation

  • uv run --no-sync pytest backend_api_python/tests/test_three_minute_timeframe.py -q
  • python -m py_compile backend_api_python/app/data_sources/base.py backend_api_python/app/config/data_sources.py backend_api_python/app/data_sources/asia_stock_kline.py backend_api_python/app/data_sources/us_stock.py backend_api_python/tests/test_three_minute_timeframe.py
  • git diff --check

Fixes #72

@brokermr810
brokermr810 marked this pull request as ready for review May 6, 2026 05:27
@brokermr810
brokermr810 merged commit b6950f3 into OpenByteInc:main May 6, 2026
2 checks passed
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.

Please add a 3-minute K-line period.

2 participants