Shanghai

-4.54

3280.22

-0.14 %

SZSE Component B

-4.59

7944.74

-0.06 %

FTSE MIB

231.97

38295.69

0.61 %

PSI

40.32

6965.57

0.58 %

VinFast

0.05

3.5

1.45 %

WIG20

35.45

2811.07

1.28 %

BIST 100

86.94

9165.37

0.96 %

AEX-Index

10.3

898.05

1.16 %

ALL ORDINARIES

90.5

8456.2

1.08 %

Austrian Traded Index in EUR

9.75

4117.31

0.24 %

S&P/ASX 200

92.4

8238

1.13 %

Dow Jones Belgium (USD)

0.39

476.01

0.08 %

S&P BSE SENSEX

200.17

80501.99

0.25 %

Cboe UK 100

10.09

857.96

1.19 %

Budapest Stock Index

-767.09

92114.82

-0.83 %

IBOVESPA

-94.91

134972.06

-0.07 %

Dow Jones

349.89

41310.31

0.85 %

Shanghai

0

0

0 %

CAC 40

63.87

7773.95

0.83 %

FTSE 100

105.83

8602.63

1.25 %

DAX PERFORMANCE-INDEX

239.66

23057.84

1.05 %

S&P 500

39.85

5685.73

0.71 %

S&P/TSX Composite index

103.1

25032.74

0.41 %

HANG SENG INDEX

312.17

22504.68

1.41 %

IBEX 35...

14.2

13419.8

0.11 %

NASDAQ

103.02

17972.71

0.58 %

IDX COMPOSITE

4.62

6815.73

0.07 %

FTSE Bursa Malaysia KLCI

5.07

1542.49

0.33 %

KOSPI

2.88

2559.4

0.11 %

KOSPI 200

0.03

338.7

0.01 %

S&P/BMV IPC

-478.52

55824.28

-0.85 %

Euronext 100 Index

29.42

1548.97

1.94 %

Nikkei 225

149.49

36786.04

0.41 %

NIFTY 50

-6.7

24313.65

-0.03 %

NYSE (DJ)

343.64

19393.48

1.8 %

S&P/NZX 50 INDEX GROSS ( GROSS

133.98

12308.14

1.1 %

XCSE:OMX Stockholm 30 Index

3.22

2462.54

0.13 %

Russell 2000

22.83

2020.57

1.14 %

SET_SET Index

-15.16

1198.65

-1.25 %

The CBOE S&P 500 Smile Index

-8.44

2375.61

-0.35 %

S&P 500 VIX

-418.83

17083.7

-2.39 %

STI Index

-6.57

3835.81

-0.17 %

ESTX 50 PR.EUR

79.96

5281.06

1.54 %

TA-125

7

2557.21

0.27 %

Tadawul All Shares Index

-121.65

11542.52

-1.04 %

TSEC weighted index

203.4

20737.48

0.99 %

CBOE Volatility Index

-0.92

22.71

-3.89 %

NYSE AMEX COMPOSITE INDEX

45.15

4998.96

0.91 %

Mã chứng khoán

Thời gian

Xem
exportXuất Excel
* Tính bằng KLGD/ GTGD
Ngày Mua Bán Giao dịch ròng
Khối lượng Giá trị (tỷ VNĐ) Khối lượng Giá trị (tỷ VNĐ) Khối lượng Giá trị (tỷ VNĐ)
{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 = 'Tu doanh ' + startDate + "-" + endDate + '.xls'; a.click(); } return exportExcel(table, name) } }, handleClearMCK() { this.refInputAC.value = ''; tuDoanh.iClose.style.display = 'none' tuDoanh.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()}-4.chn#data`); window.location.href = `${domain}Lich-su-giao-dich-${value.toLowerCase()}-4.chn#data`; this.lsAC.style.display = 'none'; }, APICallRateLimit(func, delay) { clearTimeout(this.timerId); this.timerId = setTimeout(func, delay); }, 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) }, autocomplete() { let currentFocus; const ref = this.refInputAC let search = ''; let resultSearch = []; var timerId; ref.addEventListener('blur', (e) => { if (!ref.value) { ref.value = tuDoanh.prevValue; } if (tuDoanh.refInputAC.value || tuDoanh.prevValue) { tuDoanh.iClose.style.display = 'block' tuDoanh.iSearch.style.display = 'none' tuDoanh.iClose.before.color = 'none' } else { tuDoanh.iClose.style.display = 'none' tuDoanh.iSearch.style.display = 'block' } setTimeout(() => { const list = tuDoanh.lsAC list.style.display = "none"; }, 500) }) ref.addEventListener("focus", (e) => { tuDoanh.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) { tuDoanh.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)"; }); }, renderTableHeader() { let html = ` ${this.refInputAC.value} KLGD (Cổ phiếu) GTGD (VNĐ) Tổng mua ${this.formatNumber(this.data?.Data?.TongKlMua)} ${this.formatNumber(this.data?.Data?.TongGtMua)} Tổng bán ${this.formatNumber(this.data?.Data?.TongKlBan)} ${this.formatNumber(this.data?.Data?.TongGtBan)} Chênh lệch ${this.formatNumber(this.data?.Data?.TongKlMua - this.data?.Data?.TongKlBan)} ${this.formatNumber(this.data?.Data?.TongGtMua - this.data?.Data?.TongGtBan)} ` document.getElementById("wrapper-information-owner-right_table").innerHTML = html let date = this.refInpDate.value || ''; if (this.data?.Data?.ListDataTudoanh?.length > 0) { date = this.data?.Data?.ListDataTudoanh[this.data?.Data?.ListDataTudoanh.length - 1].Date + ' - ' + this.data?.Data?.ListDataTudoanh[0].Date } this.refUnit.innerHTML = `* Tính bằng KLGD/ GTGD${date ? `(được tính từ ngày ${date})` : ''}` }, renderTable() { let html = '' if (this.data?.Data?.ListDataTudoanh.length > 0) { this.data.Data.ListDataTudoanh.forEach((item, index) => { html += ` ${item.Symbol} ${item.Date} ${this.formatNumber(item.KLcpMua)} ${this.formatNumber(item.GtMua/1000000000)} ${this.formatNumber(item.KlcpBan)} ${this.formatNumber(item.GtBan / 1000000000)} ${this.formatNumber(item.KLcpMua - item.KlcpBan)} ${this.formatNumber((item.GtMua - item.GtBan) / 1000000000)} ` }) } else { html = ` KHÔNG CÓ KẾT QUẢ PHÙ HỢP ` } this.refTable.innerHTML = html this.loading.style.display = 'none'; this.isLoading = false; }, async reRender() { if (this.isLoading === false) { tuDoanh.getData() } }, async init() { this.renderDateSpicker() await this.getData() this.renderTableHeader() this.renderTable() this.autocomplete() //this.exportData() } } $(document).ready(function () { tuDoanh.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.