CA & Signature
Limited by financial regulations in Taiwan, in order to use order and account apis,
you have to
- Sign the api related documents.
- Test Shioaji in simulation mode.
- Apply for the CA, place your CA in your computer and then activate it.
1. Sign Documents¶
Please refer to sign center and read the documents carefully before you sign.
2. API Test¶
please refer to simulation mode.
3. Apply & Activate CA¶
Apply for CA¶
1. SinoPac Securities download eleader¶
2. Login eleader¶
3. 帳戶資料 -> (3303)帳號資料設定¶
4. Click "步驟說明"¶
5. CA 操作步驟說明¶
result = api.activate_ca( ca_path="/c/your/ca/path/Sinopac.pfx", ca_passwd="YOUR_CA_PASSWORD", person_id="Person of this Ca", ) print(result) # True
- If you use simulation account, you don't have to activate CA.
- If you are a macOS user, you may subject to version-issue. We suggest you to use docker and run shioaji service on docker.