Professional Documents
Culture Documents
onfig on sau:
STS_MarketInfo.XML
General information of market(Current date)
Field Name
FLOOR_CODE
DATE_NO
TRADING_DATE
string
decimal
dateTime
CURRENT_STATUS
TIME
decimal
string
13
11:00:26
TOTAL_TRADE
decimal
1811
TOTAL_STOCK
decimal
74
TOTAL_QTTY
decimal
1025300
TOTAL_VALUE
decimal
112309440000
ADVANCES
decimal
22
NOCHANGE
decimal
26
DECLINES
decimal
43
02
396
2007-06-20T00:00:00.0000000+07:00
PRIOR_MARKET_INDEX
decimal
313.14
CHG_INDEX
decimal
PCT_INDEX
CURRENT_INDEX
MARKET_INDEX
SESSION_NO
decimal
decimal
decimal
string
0
0
309.89
PRV_PRIOR_MARKET_INDEX
AVR_MARKET_INDEX
AVR_PRIOR_MARKET_INDEX
AVR_CHG_INDEX
AVR_PCT_INDEX
PT_TOTAL_QTTY
PT_TOTAL_VALUE
PT_TOTAL_TRADE
decimal
decimal
decimal
decimal
decimal
decimal
decimal
decimal
309.89
100
100
0
0
25000
2804500000
3
Description
STS_StocksInfo.XML
Contain information of stocks which is trade on trading date (Current date)
Field Name
STOCK_INFO_ID
TRADING_DATE
TIME
String
STOCK_ID
CODE
Decimal
String
STOCK_TYPE
Decimal
TOTAL_LISTING_QTTY
TRADING_UNIT
Decimal
Decimal
143006052
100
LISTTING_STATUS
Decimal
ADJUST_QTTY
Decimal
33001396
10:58:01
881
ACB
REFERENCE_STATUS
Decimal
ADJUST_RATE
DIVIDENT_RATE
Decimal
Decimal
0
0
STATUS
TOTAL_ROOM
Decimal
Decimal
0
0
CURRENT_ROOM
BASIC_PRICE
Decimal
Decimal
0
149600
OPEN_PRICE
Decimal
150000
CLOSE_PRICE
CURRENT_PRICE
CURRENT_QTTY
Decimal
Decimal
Decimal
146200
149600
0
HIGHEST_PRICE
LOWEST_PRICE
Decimal
Decimal
150000
145000
BEST_OFFER_PRICE
Decimal
146200
BEST_BID_PRICE
Decimal
146000
CEILING_PRICE
Decimal
164500
FLOOR_PRICE
TOTAL_OFFER_QTTY
TOTAL_BID_QTTY
Decimal
Decimal
Decimal
134700
218300
62800
BEST_OFFER_QTTY
Decimal
1300
BEST_BID_QTTY
PRIOR_PRICE
PRIOR_CLOSE_PRICE
Decimal
Decimal
Decimal
4000
146200
149400
MATCH_PRICE
MATCH_QTTY
DELETED
DATE_MODIFIED
MODIFIED_BY
CREATED_BY
NAME
PARVALUE
MATCH_VALUE
Decimal
Decimal
Decimal
DateTime
String
String
String
Decimal
Decimal
146200
500
0
FLOOR_CODE
IS_CALCINDEX
IS_DETERMINECL
DATE_NO
OFFER_COUNT
BID_COUNT
String
Decimal
Decimal
Decimal
Decimal
Decimal
AVERAGE_PRICE
INDEX_PRICE
PREV_PRIOR_PRICE
YIELDMAT
PREV_PRIOR_CLOSE_PRICE
NM_TOTAL_TRADED_QTTY
NM_TOTAL_TRADED_VALUE
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
147500
146200
145000
0
0
52400
7729140000
PT_MATCH_QTTY
PT_MATCH_PRICE
PT_TOTAL_TRADED_QTTY
PT_TOTAL_TRADED_VALUE
TOTAL_BUY_TRADING_QTTY
BUY_COUNT
TOTAL_BUY_TRADING_VALUE
TOTAL_SELL_TRADING_QTTY
SELL_COUNT
TOTAL_SELL_TRADING_VALUE
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
0
0
0
0
52400
126
7729140000
52400
126
7729140000
TOTAL_TRADING_QTTY
Decimal
52400
TOTAL_TRADING_VALUE
Decimal
7729140000
QLGD01
C phiu Ngn hng TMCP Chu
10000
0
02
1
1
143
258
89
BUY_FOREIGN_QTTY
Decimal
BUY_FOREIGN_VALUE
Decimal
SELL_FOREIGN_QTTY
Decimal
SELL_FOREIGN_VALUE
REMAIN_FOREIGN_QTTY
PT_YIELDMAT
Decimal
Decimal
Decimal
0
0
0
Current date)
Description
ID of a table in our Database. You can ignore it.
- It is The current trading date.
The time when the last trade was done of this security. Even if current trading date
there no trade, this field still have a value of previous trading date.
- The format is HH:MM:SS.
- The ID of this security in our system. It is unique.
- It is a automatical increasing number.
- Both of STOCK_ID and CODE are primary identifier.
The three alphabet code for this security. It is unique.
Kind of this security:
- 1: Bonds
- 2: Shares
- 3: Fund certifications
- 4: Futures ( IGNORE not used now)
- 5: Options ( IGNORE not used now)
The total volume of all Shares are listing on HASTC. (It is not the number of kinds
of security).
In some case It is not as same as previous trading date. For example: A new
company is listed on HASTC, this field will be add the volume of Shares of new
company.
It is not scaled.
Trading lot (100 for shares, 100 for bonds)
STS_TOP3_PRICE_A.XML
3 best price of continuous trading style. Not including negotiated trades
Note: If a security has no trade done at the moment export this file, The Information of the security
Field Name
STOCK_ID
TRADING_DATE
B_ORD_QTTY_3
B_ORD_PRICE_3
B_ORD_QTTY_2
B_ORD_PRICE_2
B_ORD_QTTY_1
B_ORD_PRICE_1
S_ORD_PRICE_1
S_ORD_QTTY_1
S_ORD_PRICE_2
S_ORD_QTTY_2
S_ORD_PRICE_3
S_ORD_QTTY_3
Data Type
Decimal
DateTime
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
Decimal
STS_TOP3_PRICE_B.XML
3 best price of continuous trading style. Only for negotiated trades
Note:
- If a security has no trade done at the moment export this file, The Information of the security is m
- For a security, It may appears maximum 3 times in this file.
Field Name
STOCK_ID
TRADING_DATE
ORDER_QTTY_SELL
ORDER_PRICE_SELL
YIELDMAT_SELL
ORDER_QTTY_BUY
ORDER_PRICE_BUY
YIELDMAT_BUY
STS_Orders.XML
Storage book quotes of market in trading day (Current date)
Ch cha lnh ca 1 CTCK
Field Name
FLOOR_CODE
ORDER_NO
ORDER_DATE
ORDER_TIME
MEMBER_ID
ACCOUNT_ID
Data Type
String
String
Datetime
String
Decimal
Decimal
Example
02
200607B000001
2007-06-20T00:00:00.0000000+07:00
09:00:02:000
41
STOCK_ID
Decimal
2242
ORDER_TYPE
PRIORITY
Decimal
Decimal
1
1
OORB
Decimal
NORP
Decimal
NORC
BORE
AORI
Decimal
Decimal
Decimal
2
1
1
SETTLEMENT_TYPE Decimal
DORF
Decimal
ORDER_QTTY
Decimal
2000
ORDER_PRICE
Decimal
246400
STATUS
Decimal
QUOTE_PRICE
Decimal
246400
QUOTE_TIME
Decimal
QUOTE_QTTY
ACCOUNT_NO
BROKER_ID
TELEPHONE
SESSION_NO
SETTLE_DAY
AORC
YIELDMAT
CODE_TRADE
Decimal
String
Decimal
Decimal
String
Decimal
Decimal
Decimal
String
2000
003C201991
1006
0
1
0
03
rent date)
Description
IGNORE not used
Unique number to identify the order
Current date
Order time
The unique ID ( IGNORE not used)
IGNORE not used now
- These are numeric identifiers for the securities. It's automatically
generated when a new security is listed.
Order's type:
- 0: Limit Order.
- 1: Market Order.
- 2: ATO Order.
- 3: AllOrNone Order.
Note: For now, There is only Limit Order.
IGNORE not used
Buy or Sell Order
-1: Buy Orders
- 2: Sell Order
Normal Order or Negotiated Order:
1. Normal Order
2. Negotiated Order
Modified status:
- 2: normal
- 5: origin orders (if orders changed)
- 6: wait to be confirmed
- 7: modified orders
- 8: Cancellled orders
- 9: be matched
- 10: quote
- 11: deal (putthought)
IGNORE not used
IGNORE not used
- 0: billateral settlement
-1: multilateral settlement
- 2-> 15: trade by trade settlement (T+n)
-1: domestic
-2: foreig Investor
* Quantity in order
- Numbers are not scaled
- price in order
- Numbers not scaled
STS_Trading_Result.XML
Field Name
FLOOR_CODE
TRADING_DATE
CONFIRM_NO
B_ORDER_NO
B_ORDER_DATE
S_ORDER_NO
S_ORDER_DATE
String
Datetime
String
String
Datetime
String
Datetime
02
2007-04-09T00:00:00.0000000+07:00
090407B000003
090407B000007
2007-04-09T00:00:00.0000000+07:00
090407B000098
2007-04-09T00:00:00.0000000+07:00
B_NEXT_CNFRM Decimal
S_NEXT_CNFRM
MATCH_TIME
MATCH_DATE
B_TRADING_ID
S_TRADING_ID
B_CODE_TRADE
S_CODE_TRADE
STATUS
SEC_CODE
QUANTITY
PRICE
B_ACCOUNT_NO
S_ACCOUNT_NO
Decimal
String
Datetime
Decimal
Decimal
String
String
Decimal
String
Decimal
Decimal
String
String
0
09:00:56:002
2007-04-09T00:00:00.0000000+07:00
670
722
03
06
2
SSI
4000
230000
003C104898
006C003830
SETT_TYPE
SETT_DATE
Decimal
Decimal
B_PC_FLAG
String
S_PC_FLAG
NORP
String
Decimal
C
1
FIS's Description
Trading code
01: Continuous trading
02: Negotiated trading
Ngy giao dch
S xc nhn lnh khp
S hiu lnh bn mua
Ngy t lnh bn mua
S hiu lnh bn bn
Ngy t lnh bn bn
S xc nhn lnh khp tip theo ca bn mua trong trng
hp lnh mua c khp vi nhiu lnh bn (= 0: khng c)
S xc nhn lnh khp tip theo ca bn bn trong trng hp
lnh bn c khp vi nhiu lnh mua (= 0: khng c)
Thi im khp lnh.
Ngy khp lnh
Trading ID ca bn mua
Trading ID ca bn bn
M giao dch ca TVLK t lnh mua
M giao dch ca TVLK t lnh bn
Trng thi lnh khp
M chng khon
S lng giao dch
Gi khp lnh
S ti khon giao dch chng khon ca NT mua
S ti khon giao dch chng khon ca NT bn
Hnh thc thanh ton:
a phng
Song phng
Trade-by-Trade
Ngy thanh ton (i vi hnh thc thanh ton trc tip)
PC Flag ca bn mua
- P: T donh
- C: Mi gii trong nc
- F mi gii nc ngoi
- M: Thnh vin lu k c bit.
PC Flag ca bn bn
- P: T donh
- C: Mi gii trong nc
- F mi gii nc ngoi
- M: Thnh vin lu k c bit.
Giao dch hay tha thun.