From 340e00244ff13dfa797326bf18737687538c683c Mon Sep 17 00:00:00 2001 From: Viet Nguyen Date: Fri, 14 Jun 2019 18:43:09 +0900 Subject: [PATCH] update group stocks --- src/constant.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/constant.ts b/src/constant.ts index fd4b30f..da8b2c1 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -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';