Streaming data
Last updated
Last updated
FastConnect Data provides you realtime data through streaming. As soon as the client is connected, the system will send the update data if any changes. Update data includes:
Data type | Description | Note |
---|---|---|
Rtype F returns trading session and trading status of securities.
F: <Securities list>
Note: Securities are separated by "-". Input ALL to get status of all securities.
Example: F: SSI or F:SSI-PAN or F:ALL
Sample
RType X-Quote provides best bid/ask.
For HOSE, 3 best bid/ask prices are provided.
For HNX, UPCOM, DER, 10 best bid/ask prices are provided.
X-Quote: <Securities list> or ALL
Note: Securities list including symbols separated by "-"
ALL: All securities
Sample
X-TRADE: <Securities list> or ALL
Note: Securities list including symbols separated by "-"
ALL: All securities
Sample:
X: <securities list> or ALL
Sample
R:<Securities list>
Note: Securities in the list are separated by "-". Input R to get room of all securities.
Example: R:SSI or R:SSI-PAN or R:ALL
Sample
Rtype MI provides realtime update index values of HOSE, HNX, UPCOM.
MI:<Index list>
Note: Indexes in the list are separated by "-". Input ALL to get update of all indexes.
Example: MI:VN30 or MI:VN30-HNXindex or MI:ALL
Sample:
Rtype B returns open, high, low, close, volume of securities/indexes by tick.
B:<Securities or Indexes>
Note: Securities/Indexes are separated by "-". Input ALL to get realtime OHLCV realtime of all symbols/indexes.
Example: B:SSI; B:SSI-VN30 or B:ALL
Sample:
Field | Type | Description |
---|---|---|
Field | Data | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
F
Securities status
Refer details here.
X
Snapshot of latest best bid/ask and trade
Refer details here.
X-Quote
Best Bid/ask
HOSE supports 3 best prices. HNX, UPCOM and Derivatives supports 10 best prices. Refer details here.
X-Trade
Matched volume and price
Refer details here.
B
Realtime open, high, low, close, volume
Refer OHLCV
R
Foreign Room
Refer details here.
MI
Index data
Refer details here.
Rtype
string
Value = F
MarketID
string
Exchange ID, includes: HOSE|HNX|HNXBOND|UPCOM|DER
TradingDate
Date
Trading date in ddmmyyy format
Time
Time
Time in format HHMMSS
Symbol
String
Securities symbol
TradingSession
String
TradingStatus
String
Rtype
string
Value = X-QUOTE
TradingDate
Date
Format DD/MM/YYYY
Time
Time
Format HH:MM:SS
Symbol
string
BidPrice1
number
BidVol1
number
BidPrice2
number
BidVol2
number
BidPrice3
number
BidVol3
number
BidPrice4
number
BidVol4
number
BidPrice5
number
BidVol5
number
BidPrice6
number
BidVol6
number
BidPrice7
number
BidVol7
number
BidPrice8
number
BidVol8
number
BidPrice9
number
BidVol9
number
BidPrice10
number
BidVol10
number
AskPrice1
number
AskVol1
number
AskPrice2
number
AskVol2
number
AskPrice3
number
AskVol3
number
AskPrice4
number
AskVol4
number
AskPrice5
number
AskVol5
number
AskPrice6
number
AskVol6
number
AskPrice7
number
AskVol7
number
AskPrice8
number
AskVol8
number
AskPrice9
number
AskVol9
number
AskPrice10
number
10th best ask price
AskVol10
number
10th best ask vol
MarketID
string
Market
Exchange
string
Exchange
TradingSession
string
TradingStatus
string
Rtype
string
Value = X-TRADE
TradingDate
Date
In DD/MM/YYYY format
Time
Time
In HH:MM:SS format
ISIN
string
ISIN
Symbol
string
Symbol
Ceiling
number
Floor
number
RefPrice
number
Highest
number
Lowest
number
AvgPrice
number
PriorVal
number
LastPrice
number
Change
number
RatioChange
number
EstMatchedPrice
number
Estimated matched price in ATO/ATC
LastVol
number
Lats matched vol
TotalVal
number
Total matched value
TotalVol
number
Total matched vol
MarketID
string
Exchange
string
TradingSession
string
TradingStatus
string
Side
string
Buy up/ Sell down BU: Buy up SD: Sell down Unknow
Rtype
string
Value = X
TradingDate
Date
Trading date in DD/MM/YYYY format
Time
Time
Time in HH:MM:SS
ISIN
string
ISIN
Symbol
string
Ceiling
number
Floor
number
RefPrice
number
Open
number
Close
number
High
number
Low
number
Avg
number
PriorVal
number
LastPrice
number
Last matched price
Change
number
RatioChange
number
EstMatchedPrice
number
Estimated matched price during ATO/ATC
LastVol
number
Last matched vol
TotalVal
number
Total matched value
TotalVol
number
Total matched vol
BidPrice1
number
BidVol1
number
BidPrice2
number
BidVol2
number
BidPrice3
number
BidVol3
number
BidPrice4
number
BidVol4
number
BidPrice5
number
BidVol5
number
BidPrice6
number
BidVol6
number
BidPrice7
number
BidVol7
number
BidPrice8
number
BidVol8
number
BidPrice9
number
BidVol9
number
BidPrice10
number
BidVol10
number
AskPrice1
number
AskVol1
number
AskPrice2
number
AskVol2
number
AskPrice3
number
AskVol3
number
AskPrice4
number
AskVol4
number
AskPrice5
number
AskVol5
number
AskPrice6
number
AskVol6
number
AskPrice7
number
AskVol7
number
AskPrice8
number
AskVol8
number
AskPrice9
number
AskVol9
number
AskPrice10
number
AskVol10
number
MarketID
string
Sàn giao dịch
Exchange
string
Sàn giao dịch
TradingSession
string
TradingStatus
string
Rtype
string
Value = R
TradingDate
Date
Trading date in dd/mm/yyyy format
Time
Time
Time in HH:MM:SS format
ISIN
string
ISIN
Symbol
string
TotalRoom
number
CurrentRoom
number
Current room
FBuyVol
number
Total matched buy vol of foreign customers
FSellVol
number
Total matched sell vol of foreign customers
FBuyVal
number
Total matched buy value of foreign customers. For HOSE, the value is approximately calculated by
BuyVal = BuyVol * LastPrice
FSellVal
number
Total matched sell value of foreign customers. For HOSE, the value is approximately calculated by
SellVal = SellVol * LastPrice
Rtype
String
Value = MI
IndexID
String
Index ID
IndexValEst
Number
Estimated Index value during ATO/ATC
IndexValue
Number
Index value
Trading Date
Date
Time
Timestamp
Change
Number
RatioChange
Number
TotalTrade
Number
Total trade including normal and putthrough transactions
TotalQtty
Number
Total matched quantity
TotalValue
Number
Total matched value
TypeIndex
String
Index: “Main” – main index like VN30
“Industry” – Industrial indexes
“Khác” – Others
IndexName
String
Index name
Advances
Number
Total number of securities with price increase
Nochanges
Number
Total number of securities with price unchanged.
Declines
Number
Total number of securities with price decrease
Ceiling
Number
Total number of securities with last price = ceiling
Floor
Number
Total number of securities with last price = floor
TotalQttyPT
Number
Total matched quantity by putthrough
TotalValuePT
Number
Total matched value by putthrough
TotalQttyOd
Number
Total matched quantity by odd lot orders
TotalValueOd
Number
Total matched value by odd lot orders
AllQty
Number
Total matched quantity including normal and putthrough orders
AllValue
Number
Total matched value including normal and putthrough orders
TradingSession
String
Exchange
String
Rtype
String
Value = B
Time
Timestamp
Including date and time
Symbol
String
Securities symbol/index
Open
Number
High
Number
Low
Number
Close
Number
Volume
Number
Last matched volume
Value
Number
Last matched value. Not used yet, temporarily set to 0.