Terms of Use & Environments

Terms of use, deployment environments, trading hours, and limits

Terms of Use

Requirements

  • An active trading account at SSI
  • Register for FastConnect via the Developer Portal and get approved
  • Agree to the Terms of Service

User Responsibilities

  • Keep API Key, API Secret, and access tokens secure. Do not share, commit to source code, or expose credentials
  • Comply with system rate limits
  • Comply with Vietnamese securities regulations
  • Do not abuse the API (spam, attacks, exploit vulnerabilities)

When Can an Account Be Locked?

An API account may be temporarily locked in the following cases:

  1. Violation of Terms of Service
  2. Detection of abnormal activity (security alert)
  3. Request from regulatory authorities (SSC)
  4. Customer-requested lock

Contact support to restore your account.

Trading orders placed via the API are real orders that directly affect your securities account. Thoroughly test your logic before deploying to production.


Environments

Production

The primary environment for real data and live trading.

ComponentURL
REST APIhttps://api.ssi.com.vn
WebSocketwss://stream.ssi.com.vn
Developer Portalhttps://developers.ssi.com.vn

UAT (User Acceptance Testing)

A testing environment for development and integration. Simulated data; trades do not affect real accounts.

UAT environment details will be announced once the environment is ready for customer trials.


Trading Hours

Equities (HOSE/HNX)

SessionHoursOrder Types
ATO09:00 - 09:15ATO, LO
Continuous (Morning)09:15 - 11:30LO, MP
Lunch Break11:30 - 13:00No trading
Continuous (Afternoon)13:00 - 14:30LO, MP
ATC14:30 - 14:45ATC, LO

Derivatives

SessionHours
ATO08:45 - 09:00
Continuous (Morning)09:00 - 11:30
Lunch Break11:30 - 13:00
Continuous (Afternoon)13:00 - 14:30
ATC14:30 - 14:45

Market Data APIs and WebSocket are available 24/7. Outside trading hours, prices do not update but historical data queries remain accessible.


Rate Limits

The system enforces rate limits per API Key. Rate limit information is returned in response headers:

HeaderDescription
X-RATELIMIT-LIMITMaximum requests per cycle
X-RATELIMIT-REMAININGRemaining requests in the current cycle
X-RATELIMIT-RESETTime when the limit resets

When the rate limit is exceeded, the API returns HTTP 429 Too Many Requests. Wait until the X-RATELIMIT-RESET time before making further requests.


Data Limits

Data TypeAvailability
OHLCV dailyFrom the security's first trading date
OHLCV intraday (1m, 5m, 15m, 30m, 1h)Last 1 year
CSV file downloadDownload link valid for 30 minutes

Next Steps

Continue with Getting API Keys to create your first credentials.

On this page