Skip to content

CA & Signature

Limited by financial regulations in Taiwan, in order to use order and account apis,
you have to

  1. Sign the api related documents.
  2. Test Shioaji in simulation mode.
  3. 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.
signature


2. API Test

please refer to simulation mode.


3. Apply & Activate CA

Apply for CA

1. SinoPac Securities download eleader

eleader_download

2. Login eleader

login eleader

3. 帳戶資料 -> (3303)帳號資料設定

eleader_account

4. Click "步驟說明"

CA_step

5. CA 操作步驟說明

CA_info


Activate CA

In

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.