Skip to content

Commit

Permalink
update group stocks
Browse files Browse the repository at this point in the history
g-viet committed Jun 14, 2019
1 parent 9f0c308 commit 340e002
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/constant.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
const INDUSTRY_GROUPS: any = {
"common": ["VNINDEX", "VN30"],
"textile": ["TCM", "TNG", "STK", "M10", "GIL"],
"textile": ["TCM", "TNG", "STK", "M10", "GIL", "MSH"],
"wood": ["TTF"],
"bank": ["VCB", "BID", "ACB", "MBB", "TCB", "VPB", "STB", "SHB", "HDB", "TPB"],
"realestate": ["VIC", "VHM", "NLG", "DXG", "NVL"],
"retail": ["VRE", "FPT", "MWG"],
"food": ["VNM", "SAB", "MSN"],
"seafood": ["VHC", "MPC", "HVG"],
"realestate": ["VIC", "VHM", "NLG", "DXG", "NVL", "LHG", "NTC", "D2D", "KDH"],
"retail": ["VRE", "FPT", "MWG", "DGW"],
"food": ["VNM", "SAB", "MSN", "QNS", "SBT"],
"seafood": ["VHC", "MPC", "ANV", "IDI", "HVG"],
"aviation": ["VJC", "HVN", "ACV"],
"logistic": ["GMD"],
"construction": ["CTD", "HBC"],
"construction": ["CTD", "HBC", "REE"],
"steel": ["HPG", "HSG"],
"agriculture": ["HAG", "HNG"]
"agriculture": ["HAG", "HNG"],
"electricity": ["POW", "PPC", "GEG"],
"pharmacy": ["DHG"],
"TOP": ["VIC", "VHM", "VCB", "VNM", "VJC", "VRE", "VHC", "TCM", "HBC", "HPG", "TTF", "GMD", "LHG", "POW"]
}

const BASE_API_URL = 'https://api.vietstock.vn/ta/history';

0 comments on commit 340e002

Please sign in to comment.