Skip to content

Add Google Colab support and Baostock as sources#2

Merged
initial-d merged 17 commits into
initial-d:mainfrom
Uwater1:main
May 11, 2026
Merged

Add Google Colab support and Baostock as sources#2
initial-d merged 17 commits into
initial-d:mainfrom
Uwater1:main

Conversation

@Uwater1
Copy link
Copy Markdown
Contributor

@Uwater1 Uwater1 commented May 11, 2026

I added a "click to run" Google Colab bottom in README so that User can explore this project without downloading everything. I also added the Baostock API support so that user can get data for free

Your Name and others added 17 commits May 11, 2026 03:53
Co-authored-by: Uwater1 <194621470+Uwater1@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…0919210

Add yfinance support and codespace instructions
- Add `src/mlquant/data/baostock_loader.py` for fetching A-share
  historical data using baostock.
- Wire `baostock_loader` into `src/mlquant/data/__init__.py`.
- Create `demo_baostock.ipynb` showing an end-to-end strategy
  fetching HS300 stocks on Baostock, computing factors,
  training an MLP, optimizing portfolio, and backtesting.
- Update `README.md` to remove GitHub Codespaces instruction
  and add a Google Colab badge/link for the demo.
- Remove `.temp/` contents per request.

Co-authored-by: Uwater1 <194621470+Uwater1@users.noreply.github.com>
…57901

Add Baostock data loader and Google Colab demo notebook
@initial-d initial-d merged commit bdc99f3 into initial-d:main May 11, 2026
0 of 3 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.

2 participants