From 18c03cfc4229beeb28c36fe843b8f74ee0c8865b Mon Sep 17 00:00:00 2001 From: thinh-vu Date: Sun, 10 Nov 2024 01:12:27 +0700 Subject: [PATCH] updated minor changes in symbol recognizer --- .DS_Store | Bin 14340 -> 12292 bytes assets/.DS_Store | Bin 6148 -> 6148 bytes pyproject.toml | 2 +- setup.py | 2 +- vnstock3/.DS_Store | Bin 8196 -> 8196 bytes vnstock3/core/utils/parser.py | 2 +- 6 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index 39afb27e12488a5b9c040163217178463d1ef144..d0e76eef3918d559f69a618d970a62a3c85d706a 100644 GIT binary patch delta 912 zcmZoEXh~3DU|?W$DortDV9)?EIe-{M3-B;7uy8RjC~!|y&=>RoiZBBO85oioigSv~ zoHr)yXWp!$%E~->3EKmpQU*pK1_BQ5%^Rh~SvITlJYi;3*(|`)$+Vb9fSZ|xYu99c zX$6i;t_RCjWgT+_a>OS4N^`M-1t!Nxt1z(@OnxXSI(fP@f4v|>8ABdJF+&MMKG4E! z24e<2hE#@hAk<~Z1j?i_hyJPML=Rs!-s%UOV)O9y(Z1le&w z@u_!#;e;xWZ~-=XWP4cL4K_C`%wl8~bt|2$pp;rK3Jxh&h9rhkpj|l(DJTKR{IVHn zB9bh!Tgr_dNI-pyq5|O>>?)Am!_2^@u(@4Hfw5lrsXfptW`-1CjFur=!@$t6@j1lH za9M;En6k*mGl&4q1O;UZ&~w0agW@@+-a>?2AZj@K9{D2t4ib}a&B!s0O&-N!rUje- zD~mC1ZV~>@Cj>xhpcw`GQ z41<&Na|?j#85ksh_5oc1#Ec*Y&^YeRf*fKjo7H%pGBe6Ao+`x6%zA430|QWv$YcdM{>>sB!YmUTf*55c^C(EhsoL!V8q30< z$B@pD$xwpk^1cNSmm|rexE(_t+4U^?7dAI5%wl9_sx+Fcpp?qQv|uy4vI1iSt-@;a zcNHpbU%$qk!J!T>^Wc(yq!9mSnzzw8bkrM(i?B6p_=GXD%VS=O+3y{jm89I|E Me^!+O+Wejg0Fcp$nE(I) diff --git a/assets/.DS_Store b/assets/.DS_Store index 14e673ef77c06d662806e934d2e818d3e7984d4f..f1f7805d79b0fe83497e0a5bb95ccfe75dec1c57 100644 GIT binary patch delta 71 zcmZoMXffEJ#mp?KS2$UhS%&SZ@;ryzS(E*l<tG%B<18M0mV7&yUmMMWliP~l4FB1 zb%Ycc87BJ*Jys|>3sk`Z)>*`mimdBvrWr_AfUp!BlvyAw&BX9wa<6cZCR0it$Yh38 qh6;uPh8&=cK-~;Q$odyNs2PZ?;dfr!{-IT0Q$a-!7o6$A- diff --git a/vnstock3/core/utils/parser.py b/vnstock3/core/utils/parser.py index 58bab212..462be710 100644 --- a/vnstock3/core/utils/parser.py +++ b/vnstock3/core/utils/parser.py @@ -49,7 +49,7 @@ def get_asset_type(symbol: str) -> str: - 'coveredWarr' nếu mã chứng khoán là mã chứng quyền. """ symbol = symbol.upper() - if symbol in ['VN30', 'HNX30', 'VNINDEX', 'HNXINDEX', 'UPCOMINDEX']: + if symbol in ['VNINDEX', 'HNXINDEX', 'UPCOMINDEX', 'VN30', 'VN100', 'HNX30', 'VNSML', 'VNMID', 'VNALL', 'VNREAL', 'VNMAT', 'VNIT', 'VNHEAL', 'VNFINSELECT', 'VNFIN', 'VNENE', 'VNDIAMOND', 'VNCONS', 'VNCOND']: return 'index' elif len(symbol) == 3: return 'stock'