Chuyển đến nội dung chính
GET
https://openapi.yixin.com.vn
/
GetOhlcvHis
/
{symbol}
/
{resolution}
/
{fromMs}
/
{toMs}
Lấy lịch sử OHLCV
curl --request GET \
  --url https://openapi.yixin.com.vn/GetOhlcvHis/{symbol}/{resolution}/{fromMs}/{toMs}
[
  {
    "unixTime": 123,
    "open": 123,
    "high": 123,
    "low": 123,
    "close": 123,
    "volume": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.oms.verolabs.co/llms.txt

Use this file to discover all available pages before exploring further.

Tham số đường dẫn

symbol
string
bắt buộc
Ví dụ:

"VN30F1M"

resolution
integer
bắt buộc

Candle resolution in seconds. The app uses 60 for 1 minute and 86400 for daily.

Ví dụ:

60

fromMs
integer<int64>
bắt buộc

Start time in Unix milliseconds.

toMs
integer<int64>
bắt buộc

End time in Unix milliseconds.

Phản hồi

OHLCV bars.

unixTime
integer<int64>
bắt buộc

Unix timestamp in milliseconds, based on mobile app parsing.

open
number
bắt buộc
high
number
bắt buộc
low
number
bắt buộc
close
number
bắt buộc
volume
number
bắt buộc