Shanghai

-4.54

3280.22

-0.14 %

SZSE Component B

-4.59

7944.74

-0.06 %

FTSE MIB

145.61

38456.99

0.38 %

PSI

35.45

6999.68

0.51 %

VinFast

0

3.49

0 %

WIG20

-16.11

2784.03

-0.58 %

BIST 100

-52.09

9115.49

-0.57 %

AEX-Index

0.04

896.36

0 %

ALL ORDINARIES

-82.2

8374

-0.97 %

Austrian Traded Index in EUR

54.17

4181.22

1.31 %

S&P/ASX 200

-80.2

8157.8

-0.97 %

Dow Jones Belgium (USD)

0.63

476.57

0.13 %

S&P BSE SENSEX

17.2

80796.84

0.02 %

Cboe UK 100

0

857.96

0 %

Budapest Stock Index

956.11

93152.71

1.04 %

IBOVESPA

-1700.81

133430.5

-1.26 %

Dow Jones

53.97

41227.35

0.13 %

CAC 40

-3.01

7732.58

-0.04 %

FTSE 100

105.83

8602.63

1.25 %

DAX PERFORMANCE-INDEX

270.58

23334.84

1.17 %

S&P 500

-4.12

5651.2

-0.07 %

S&P/TSX Composite index

-42.41

24950.03

-0.17 %

HANG SENG INDEX

312.17

22504.68

1.41 %

IBEX 35...

38.5

13512.1

0.29 %

NASDAQ

26.44

17845.97

0.15 %

IDX COMPOSITE

18.73

6863.1

0.27 %

FTSE Bursa Malaysia KLCI

-2.24

1539.54

-0.15 %

KOSPI

2.88

2559.4

0.11 %

KOSPI 200

0.03

338.7

0.01 %

S&P/BMV IPC

67.62

55821.84

0.12 %

Euronext 100 Index

-1.57

1545.13

-0.1 %

Nikkei 225

149.49

36786.04

0.41 %

NIFTY 50

48.05

24459.5

0.2 %

NYSE (DJ)

-83.3

19303.37

-0.43 %

S&P/NZX 50 INDEX GROSS ( GROSS

70.08

12421.25

0.57 %

XCSE:OMX Stockholm 30 Index

4.21

2464.74

0.17 %

Russell 2000

-0.37

2003.62

-0.02 %

SET_SET Index

-15.16

1198.65

-1.25 %

The CBOE S&P 500 Smile Index

1.91

2395.96

0.08 %

S&P 500 VIX

95.21

17544.57

0.55 %

STI Index

-6.29

3849.73

-0.16 %

ESTX 50 PR.EUR

12.47

5282.81

0.24 %

TA-125

32.2

2587.31

1.26 %

Tadawul All Shares Index

46.22

11438.45

0.41 %

TSEC weighted index

-294.08

20544.96

-1.41 %

CBOE Volatility Index

-0.61

23.64

-2.52 %

NYSE AMEX COMPOSITE INDEX

-60.18

4934.95

-1.2 %

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.