Connection guide
Service endpoints
FCTrading API
https://fc-tradeapi.ssi.com.vn
FCTrading Streaming
https://fc-tradehub.ssi.com.vn
Credentials
After registration, you can create the API connection keys (refer here).
ConsumerID
ConsumerSecrect
PrivateKey: used to create Signature. Refer here for more details.
Integration diagram
Integration diagram

Access token request
To secure your account activities, authentication code is required together with ConsumerID and ConsumerSecret when you request access token. Authentication code is dependent on the authentication method you registered:
PIN: Input your PIN code.
SMS OTP: Use function GetOTP to get OTP code. OTP code will be sent to your registered mobile number.
Email OTP: Use function GetOTP to get OTP code. OTP code will be sent to your registered email address.
Smart OTP: Input OTP code from SSI SmartOTP app or iBoard app depending on which app you have activated the service.
Access token usage
Regarding query functions, only access token is required for authentication before executing the request.
Regarding functions impacting to cash/securities (place/amend/cancel orders, internal transfer, right subscription, stock transfer, initial margin deposit/withdraw), you will need to sign the data by the Private Key provided. Refer here for details of Signature.
Streaming connection
To use streaming update, you need to init the connection and bind to subcribe for different type of data.
Init connection
Subscribe data changes
Order update
Derivatives portfolio update
Order placing process

Last updated