Shioaji is a cross-language, cross-platform universal trading API providing native Python bindings, HTTP API with SSE streaming, standalone CLI, and a visual dashboard. Current version 1.5.2, with regular updates focused on fixing bugs and adding broker support. Requires Python >=3.7.
pip install shioajiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize Shioaji in simulation mode and log in using environment variables for credentials.
Use api = sj.Shioaji(simulation=True) when testing or using paper trading.
Update code to handle Accounts object: accounts = api.login(...); account = accounts[0] # or iterate
Use simulation=True instead of simulate=True.
Run: pip install shioaji --upgrade
Use: import shioaji as sj; api = sj.Shioaji()
Ensure you set environment variables SHIOAJI_API_KEY and SHIOAJI_SECRET_KEY correctly. Check for typos or expired keys.
No dependency data recorded yet.
No resource links recorded.