Introduction¶
Overview¶
The OHLCV is a represented trade for specific timeframe of specific security.
Specification¶
-
Collect for: Security (Common Stock), Future, Index (specially VNINDEX)
-
Supported the relax mode of price and volume (which can be null)
-
Can handle through the Data Operation Portal
Component¶
ERD¶
The OHLCV represented for
Schema:
column | type | description |
---|---|---|
open | number | The close price for the symbol in the given time period. |
high | number | The highest price for the symbol in the given time period. |
low | number | The lowest price for the symbol in the given time period. |
close | number | The open price for the symbol in the given time period. |
Data Structure:
-
Currenly detect
-
The stricted rule:
-
High >= Open, Close, Low
-
Low <= High, Close, Open
-
Any([Open, High, Low, Close]) > 0
Providers¶
Quote: security
Quote: Index + VNIDNEX (special case)
For common stock¶
Daily: From HSC streaming
Historical: Vietstock
For index¶
Provider: HSX, HNX
https://www.hsx.vn/Modules/Cms/Web/ViewArticle/8a56cad1-edf4-475d-9d1d-9fb0e872860b
https://hnx.vn/co-phieu-etfs/chi-so-top-bieu-do-chi-so-top.html
For Future¶
Daily: HNX