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
F
Securities status
X
Snapshot of latest best bid/ask and trade
X-Quote
Best Bid/ask
X-Trade
Matched volume and price
B
Realtime open, high, low, close, volume
R
Foreign Room
MI
Index data
Securities status
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.
Input:X: ALL Output:{"DataType":"X","Content":"{\"RType\":\"X\",\"TradingDate\":\"15/08/2023\",\"Time\":\"10:28:41\",\"Isin\":\"TAR\",\"Symbol\":\"TAR\",\"Ceiling\":23400.0,\"Floor\":19200.0,\"RefPrice\":21300.0,\"Open\":21300.0,\"High\":22300.0,\"Low\":21300.0,\"Close\":21800.0,\"AvgPrice\":21784.0,\"PriorVal\":21300.0,\"LastPrice\":21800.0,\"LastVol\":100.0,\"TotalVal\":27946100000.0,\"TotalVol\":1282900.0,\"BidPrice1\":21800.0,\"BidPrice2\":21700.0,\"BidPrice3\":21600.0,\"BidPrice4\":21500.0,\"BidPrice5\":21400.0,\"BidPrice6\":21300.0,\"BidPrice7\":21200.0,\"BidPrice8\":21100.0,\"BidPrice9\":21000.0,\"BidPrice10\":20900.0,\"BidVol1\":18800.0,\"BidVol2\":35300.0,\"BidVol3\":93600.0,\"BidVol4\":60000.0,\"BidVol5\":45800.0,\"BidVol6\":94500.0,\"BidVol7\":42900.0,\"BidVol8\":48400.0,\"BidVol9\":165900.0,\"BidVol10\":26100.0,\"AskPrice1\":21900.0,\"AskPrice2\":22000.0,\"AskPrice3\":22100.0,\"AskPrice4\":22200.0,\"AskPrice5\":22300.0,\"AskPrice6\":22400.0,\"AskPrice7\":22500.0,\"AskPrice8\":22600.0,\"AskPrice9\":22700.0,\"AskPrice10\":22800.0,\"AskVol1\":50300.0,\"AskVol2\":109800.0,\"AskVol3\":58500.0,\"AskVol4\":152600.0,\"AskVol5\":92200.0,\"AskVol6\":129800.0,\"AskVol7\":178700.0,\"AskVol8\":60100.0,\"AskVol9\":29400.0,\"AskVol10\":17000.0,\"MarketId\":\"HNX\",\"Exchange\":\"HNX\",\"TradingSession\":\"LO\",\"TradingStatus\":\"N\",\"Change\":500.0,\"RatioChange\":2.35,\"EstMatchedPrice\":0.0}"}
Foreign room
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
Field
Type
Description
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