Limited by financial regulations in Taiwan, in order to submit orders, you have to place your CA(電子憑證) in your computer and activate it.
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 Mac OS user, you may subject to version-issue. We suggest you to use docker and run shioaji service on docker.
Apply for CA¶
1. SinoPac Securities download eleader¶
2. Login eleader¶
3. 帳戶資料 -> (3303)帳號資料設定¶
4. Click "步驟說明"¶
5. CA 操作步驟說明¶