Before you start
- A Tiger Brokers account
- OpenSSL or the developer page’s key generator
Create your Tiger Brokers API key
- 1
Open the developer page
Log in to the Tiger Open API developer site and start registration.
- 2
Create an RSA key pair
Generate a 1024-bit RSA key pair (or use the site’s generator) and upload the public key.
- 3
Copy your ids
Note your
tiger_idand paper or live account number. - 4
Store them
Save
TIGER_ID,TIGER_ACCOUNTandTIGER_PRIVATE_KEY.
Test the key
Before wiring the key into a strategy, make one request by hand. It separates “the key is wrong” from “my code is wrong”.
python -c "from tigeropen.tiger_open_config import TigerOpenClientConfig; print('ok')"Keep the credentials safe
- Store values in a password manager or a git-ignored
.env, never in code or notebooks you share. - In an AlgoGP project you can still add them under APIs & keys (encrypted at rest) and read them with
strategy_runtime.secrets.get("TIGER_ID"). - Give each bot its own credential so you can revoke one without stopping the others.
TIGER_ID=paste-your-value-here
TIGER_ACCOUNT=paste-your-value-here
TIGER_PRIVATE_KEY=paste-your-value-hereDesign and backtest your Tiger Brokers strategy first
AlgoGP turns an idea into Python and tests it on years of history before you connect it to Tiger Brokers. The exported code keeps the broker behind four small adapter methods.
- AI copilot writes and revises the rules
- Backtests with realistic costs
- Exported Python ready to wire to Tiger Brokers
Free plan, no card required.
How the Tiger Brokers API works
AlgoGP is not affiliated with Tiger Brokers. Menus get renamed from time to time; if a label differs, the official documentation has the current path.