Merge pull request #2 from agatha-miao/codex/adapt-project-for-a-share-compatibility-pprfkx

Add AKShare A-share adapter, routing, config and README docs
This commit is contained in:
agatha-miao 2026-04-04 14:15:36 +08:00 committed by GitHub
commit 7afe78937b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 0 deletions

View File

@ -226,6 +226,29 @@ Notes:
- The current AKShare adapter provides production-ready price + basic technical indicator access.
- Fundamental/news/insider methods are scaffolded as placeholders so you can bind your preferred AKShare endpoints quickly.
#### Run in GitHub Codespaces (recommended quick start)
You can run this project directly in Codespaces (no local setup required):
```bash
# 1) open terminal in Codespaces
python -m venv .venv
source .venv/bin/activate
# 2) install project and AKShare
pip install -U pip
pip install .
pip install akshare
# 3) set your LLM key (pick one provider)
export OPENAI_API_KEY=your_key_here
# 4) run CLI
python -m cli.main
```
For A-share symbols, input values such as `600519`, `000001`, `sh600519`, or `sz000001`.
See `tradingagents/default_config.py` for all configuration options.
## Contributing