feat: source CN equity and futures bars from Ricequant - #242
Draft
Jason55-1118 wants to merge 1 commit into
Draft
Conversation
Install ricequant-skills, prefer RQData for A-share/HK/CN futures klines, and persist bars under DATE/ for local reuse. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Route A-share, HK, and CN futures research K-lines through Ricequant RQData, vendor ricequant-skills, and persist bars under
DATE/for local reuse.Changes
.cursor/skills/plus a QuantDinger RQData routing skillrqdatac.get_pricefor CNStock / HKStock / CN futures (rqdata_equity.py,rqdata_futures.py)DATE/CSV archive with factory read/write-back andscripts/download_date_history.pyCN_STOCK_PROVIDER/HK_STOCK_PROVIDER/FUTURES_CN_PROVIDERand DATE bind mounts in compose /env.exampleTest plan
python -m pytest tests/test_rqdata_equity.py tests/test_rqdata_futures.py tests/test_local_archive.py -q(12 passed)DATE/docker compose up -d --buildAPI documentation (if routes/schemas changed)
docs/api/openapi.yaml(cd backend_api_python && python scripts/export_openapi.py)docs/agent/agent-openapi.jsonif/api/agent/v1routes changedNo human or Agent HTTP routes/schemas changed.
Screenshots (if UI change)
N/A