Summary
Add support for the China A-share stock market (mainland China, typically traded on Shanghai and Shenzhen exchanges) in OpenAlice.
Motivation
A large portion of global equity trading occurs on the mainland Chinese exchanges, and there is demand for trading A-shares within the OpenAlice trading agent. Supporting A-shares would significantly extend the reach of OpenAlice, allowing for users in East Asia and those interested in China equity markets to automate portfolio management, research, and trading strategies.
Proposed Approach
- Research suitable brokers or APIs for A-share access (e.g., Chinese brokerages with accessible APIs or Interactive Brokers with A-share offering if feasible)
- Develop a new broker module for the A-share connector under
src/domain/trading/brokers/
- Integrate symbol mapping and data feeds for Shanghai (SSE) and Shenzhen (SZSE) exchanges
- Address differences such as trading hours, order types, currency, settlement, and relevant trading rules
- Optionally provide a demo or mock broker for offline/test development
References
- OpenAlice Preview
- Existing integrations: Alpaca (US equities), IBKR (multi-asset), CCXT (crypto)
Impact
- Users will have more global equity market coverage
- Attracts a broader community in East Asia
If maintainers are interested, I am willing to contribute or assist in requirements collection and testing.
Summary
Add support for the China A-share stock market (mainland China, typically traded on Shanghai and Shenzhen exchanges) in OpenAlice.
Motivation
A large portion of global equity trading occurs on the mainland Chinese exchanges, and there is demand for trading A-shares within the OpenAlice trading agent. Supporting A-shares would significantly extend the reach of OpenAlice, allowing for users in East Asia and those interested in China equity markets to automate portfolio management, research, and trading strategies.
Proposed Approach
src/domain/trading/brokers/References
Impact
If maintainers are interested, I am willing to contribute or assist in requirements collection and testing.