VNI: 0 0 0%

GTGD: 0.00 tỷ VNĐ

HNX: 0 0 0%

GTGD: 0.00 tỷ VNĐ

Shanghai

3.42

3285.18

0.1 %

SZSE Component B

-65.93

7942.08

-0.82 %

FTSE MIB

237.45

37884.19

0.63 %

PSI

9.64

6967.27

0.14 %

VinFast

0.07

3.37

2.12 %

WIG20

-4.47

2810.88

-0.16 %

BIST 100

-63.62

9243.34

-0.68 %

AEX-Index

-0.12

874.86

-0.01 %

ALL ORDINARIES

84

8287.9

1.02 %

Austrian Traded Index in EUR

36.08

4087.82

0.89 %

S&P/ASX 200

73.5

8070.6

0.92 %

Dow Jones Belgium (USD)

1.53

464.25

0.33 %

S&P BSE SENSEX

-97.61

80288.38

-0.12 %

Cboe UK 100

4.79

843.73

0.57 %

Budapest Stock Index

7.66

92992.71

0.01 %

IBOVESPA

203.81

135220.59

0.15 %

Dow Jones

285.93

40519.91

0.71 %

Shanghai

0

0

0 %

CAC 40

-6.27

7565.96

-0.08 %

FTSE 100

51.41

8468.75

0.61 %

DAX PERFORMANCE-INDEX

72.69

22449.86

0.32 %

S&P 500

51.43

5560.3

0.93 %

S&P/TSX Composite index

103.51

24869.89

0.42 %

HANG SENG INDEX

-65.25

22008.11

-0.3 %

IBEX 35...

-104.1

13366.2

-0.77 %

NASDAQ

187.9

17459.73

1.09 %

IDX COMPOSITE

0.09

6749.08

0 %

FTSE Bursa Malaysia KLCI

-5.42

1515.56

-0.36 %

KOSPI

10.98

2561.23

0.43 %

KOSPI 200

1.27

338.75

0.38 %

S&P/BMV IPC

-1291.57

55649

-2.27 %

Euronext 100 Index

5.64

1511.56

0.37 %

Nikkei 225

-114.24

35848.56

-0.32 %

NIFTY 50

-45.25

24325.45

-0.19 %

NYSE (DJ)

119.12

19090.85

0.63 %

S&P/NZX 50 INDEX GROSS ( GROSS

-37.3

12061.59

-0.31 %

XCSE:OMX Stockholm 30 Index

0.57

2411.77

0.02 %

Russell 2000

18.32

1976.25

0.94 %

SET_SET Index

4.02

1167.35

0.35 %

The CBOE S&P 500 Smile Index

-7.75

2410.7

-0.32 %

S&P 500 VIX

-329.28

17732.09

-1.82 %

STI Index

10.34

3812.36

0.27 %

ESTX 50 PR.EUR

-7.54

5168.49

-0.15 %

TA-125

7

2557.21

0.27 %

Tadawul All Shares Index

-32.88

11759.6

-0.28 %

TSEC weighted index

205.17

20223.49

1.02 %

CBOE Volatility Index

-0.58

24.18

-2.34 %

NYSE AMEX COMPOSITE INDEX

5.99

4989.75

0.12 %

Mã chứng khoán

Thời gian

Xem
exportXuất Excel
Ngày Giá (nghìn VNĐ) Thay đổi GD khớp lệnh GD thỏa thuận Giá (nghìn VNĐ)
Đóng cửa Điều chỉnh Khối lượng Giá trị (tỷ VNĐ) Khối lượng Giá trị (tỷ VNĐ) Mở cửa Cao nhất Thấp nhất
{table}
' , base64 = function (s) { return window.btoa(unescape(encodeURIComponent(s))) } , format = function (s, c) { return s.replace(/{(\w+)}/g, function (m, p) { return c[p]; }) } let startDate = '' let endDate = '' if (this.refInpDate.value) { startDate = this.refInpDate.value.split(' - ')[0].split('/')[1] + '.' + this.refInpDate.value.split(' - ')[0].split('/')[0] + '.' + this.refInpDate.value.split(' - ')[0].split('/')[2]; endDate = this.refInpDate.value.split(' - ')[1].split('/')[1] + '.' + this.refInpDate.value.split(' - ')[1].split('/')[0] + '.' + this.refInpDate.value.split(' - ')[1].split('/')[2] } function exportExcel(table, name) { if (!table.nodeType) table = document.getElementById(table) var ctx = { worksheet: name || 'Worksheet', table: table.innerHTML } var a = document.createElement('a'); a.href = uri + base64(format(template, ctx)) a.download = 'Lich su gia ' + startDate + "-" + endDate + '.xls'; a.click(); } return exportExcel(table, name) } }, handleClearMCK() { this.refInputAC.value = ''; ownerCDL.iClose.style.display = 'none' ownerCDL.iSearch.style.display = 'block' }, handleFindDisclosure() { this.refInputAC.value this.pageIndex = 1; this.reRender() }, handleClickIitemStockCode(value) { const lsMenuItem = document.getElementsByClassName('info-data-history-menu-item'); //Array.from(lsMenuItem).forEach((e, i) => { // e.setAttribute('href', `/Lich-su-giao-dich-${value.toLowerCase()}-${i + 1}.chn#data`) //}) this.refInputAC.value = value; //window.history.pushState('', '', `/Lich-su-giao-dich-${value.toLowerCase()}-1.chn#data`); window.location.href = `/du-lieu/Lich-su-giao-dich-${value.toLowerCase()}-1.chn#data`; this.lsAC.style.display = 'none'; }, APICallRateLimit(func, delay) { clearTimeout(this.timerId); this.timerId = setTimeout(func, delay); }, autocomplete() { let currentFocus; const ref = this.refInputAC let search = ''; let resultSearch = []; var timerId; ref.addEventListener('blur', (e) => { if (!ref.value) { ref.value = ownerCDL.prevValue; } if (ownerCDL.refInputAC.value || ownerCDL.prevValue) { ownerCDL.iClose.style.display = 'block' ownerCDL.iSearch.style.display = 'none' ownerCDL.iClose.before.color = 'none' } else { ownerCDL.iClose.style.display = 'none' ownerCDL.iSearch.style.display = 'block' } setTimeout(() => { const list = ownerCDL.lsAC list.style.display = "none"; }, 500) }) ref.addEventListener("focus", (e) => { ownerCDL.prevValue = ref.value; ref.value = ""; }); function addActive(x) { if (!x) return false; removeActive(x); if (currentFocus >= x.length) currentFocus = 0; if (currentFocus < 0) currentFocus = x.length - 1; x[currentFocus].classList.add("autocomplete-active"); } function removeActive(x) { for (var i = 0; i < x.length; i++) { x[i].classList.remove("autocomplete-active"); } } ref.addEventListener("keydown", function (e) { var x = document.getElementById("search-stock-list"); if (x) x = x.getElementsByTagName("div"); if (e.keyCode == 40) { currentFocus++; addActive(x); } else if (e.keyCode == 38) { currentFocus--; addActive(x); } else if (e.keyCode == 13) { e.preventDefault(); if (currentFocus > -1) { if (x) x[currentFocus].click(); } } }); function getData() { fetch('https://search.cafef.vn/api/searching/v1/Companies/SearchByKeyWord?' + new URLSearchParams({ keyword: search, }), { method: "GET", headers: { "Content-Type": "application/json", }, }) .then((res) => res.json()) .then((result) => { resultSearch = [...result?.value?.documents]; renderLisSearch(); }); } function renderLisSearch() { const lists = document.getElementById('search-stock-list') let items = ""; if (resultSearch.length > 0) { lists.style.display = "block"; } else { lists.style.display = 'none'; } currentFocus = 0; if (resultSearch.length > 0) { resultSearch.forEach((e, i) => { const a = `

${e.highlights.title || e.document.symbol}

${e.highlights.description || e.document.description}

` items += a; }) } lists.innerHTML = items } ref.addEventListener("input", function () { search = this.value; if (search.length >= 2) { ownerCDL.APICallRateLimit(getData, 500) } else { resultSearch = [] renderLisSearch() } }); }, renderDateSpicker() { $('input[name="daterange"]').daterangepicker({ "autoUpdateInput": false, "maxDate": moment().format('DD/MM/YYYY'), "locale": { "format": "DD/MM/YYYY", "separator": " - ", "applyLabel": "Apply", "cancelLabel": "Cancel", "fromLabel": "From", "toLabel": "To", "customRangeLabel": "Custom", "daysOfWeek": [ "CN", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7" ], "applyLabel": "Chọn", "cancelLabel": "Bỏ", "monthNames": [ "Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12" ], "firstDay": 1 }, opens: 'center' }); $('input[name="daterange"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format('DD/MM/YYYY') + ' - ' + picker.endDate.format('DD/MM/YYYY')); document.getElementById('tabletoExcel').style.background = "#33A42E"; }); $('input[name="daterange"]').on('cancel.daterangepicker', function (ev, picker) { $(this).val(''); document.getElementById('tabletoExcel').style.background = "rgb(193, 227, 192)"; }); }, renderTable() { const checkColor = (check) => { return check.includes("-") === false ? "up" : "down"; }; let html = ''; var today = new Date(); var date = today.getDate() + '/' + ((today.getMonth() + 1) < 10 ? "0" + (today.getMonth() + 1) : (today.getMonth() + 1)) + '/' + today.getFullYear(); if (this.data?.Data.length > 0) { this.data.Data.forEach((item, index) => { html += ` ${item.Ngay} ${(item.Ngay == date && today.getHours() < 15) ? "--" : item.GiaDongCua} ${(this.formatNumber(item.GiaDieuChinh) == item.GiaDongCua) || (item.Ngay == date && today.getHours() < 15) ? "--" : this.formatNumber(item.GiaDieuChinh) } ${(item.Ngay == date && today.getHours() < 15) ? "--" : item.ThayDoi} ${this.formatNumber(item.KhoiLuongKhopLenh)} ${this.formatNumber(item.GiaTriKhopLenh/1000000000)} ${this.formatNumber(item.KLThoaThuan)} ${this.formatNumber(item.GtThoaThuan/1000000000)} ${this.formatNumber(item.GiaMoCua)} ${this.formatNumber(item.GiaCaoNhat)} ${this.formatNumber(item.GiaThapNhat)} ` }) } else { html = ` KHÔNG CÓ KẾT QUẢ PHÙ HỢP ` } this.refTable.innerHTML = html this.loading.style.display = 'none'; this.isLoading = false; }, renderPaging() { let str = '' this.getMaxMin() if (this.totalPage > 0) { str += this.minPage !== 1 ? `

1

...
`: '' for (let i = this.minPage; i <= this.maxPage; i++) { str += `

${i}

` } str += this.maxPage !== this.totalPage ? `
...

${this.totalPage}

`: '' } else { str += `
1
` } this.refContainerPaging.innerHTML = str; this.activePaging() }, getMaxMin() { if (this.countViewPage < this.totalPage) { if (this.pageIndex + 4 <= this.totalPage && this.pageIndex - 4 >= 1) { this.minPage = this.pageIndex - 4 this.maxPage = this.pageIndex + 4 } else { if (this.pageIndex + 4 > this.totalPage && this.pageIndex - 4 >= 1) { this.maxPage = this.totalPage this.minPage = this.totalPage - 8 } else { this.minPage = 1; this.maxPage = 9; } } } else { this.minPage = 1; this.maxPage = this.totalPage } }, activePaging() { if (this.pageIndex === this.totalPage && this.totalPage >= 1) { this.checkVronLef.classList.remove('enable') this.checkVronRight.classList.add('enable') } else if (this.pageIndex === 1 && this.totalPage > 1) { this.checkVronLef.classList.add('enable') this.checkVronRight.classList.remove('enable') } else if (this.pageIndex === 1 && this.totalPage <= 1) { this.checkVronLef.classList.add('enable') this.checkVronRight.classList.add('enable') } else { this.checkVronLef.classList.remove('enable') this.checkVronRight.classList.remove('enable') } }, async reRender() { if (this.isLoading === false) { ownerCDL.getData() } }, handleChangePage(page) { if (page !== this.pageIndex && page >= 1 && page <= this.totalPage) { if (page <= 1) { this.pageIndex = 1 } else if (page >= this.totalPage) { this.pageIndex = this.totalPage } else { this.pageIndex = page } this.reRender() } this.APICallRateLimit(this.reRender, 700) }, async init() { this.renderDateSpicker() await this.getData() this.renderTable() this.autocomplete() this.renderPaging() } } $(document).ready(function () { ownerCDL.init() });
(*) Lưu ý: Dữ liệu được tổng hợp từ các nguồn đáng tin cậy, có giá trị tham khảo với các nhà đầu tư.
Tuy nhiên, chúng tôi không chịu trách nhiệm trước mọi rủi ro nào do sử dụng các dữ liệu này.