Shanghai

-5.39

3378.31

-0.16 %

SZSE Component B

-14.09

8099.73

-0.17 %

FTSE MIB

-121.79

40244.13

-0.3 %

MOEX Russia Index

17.02

2705.85

0.63 %

PSI

58.76

7375.78

0.8 %

RTS Index

17.02

2705.85

0.63 %

VinFast

0.05

3.55

1.43 %

BIST 100

78.89

9477.82

0.84 %

AEX-Index

-1.37

925.62

-0.15 %

ALL ORDINARIES

-40.3

8571.4

-0.47 %

Austrian Traded Index in EUR

-27.93

4393.94

-0.63 %

S&P/ASX 200

-38.1

8348.7

-0.45 %

OMX Baltic Industrial Goods and

-1062.22

81186.42

-1.29 %

Dow Jones Belgium (USD)

-1

1602.31

-0.06 %

S&P BSE SENSEX

-304.65

80951.99

-0.37 %

Cboe UK 100

-6.67

870.03

-0.76 %

IBOVESPA

-403.11

137478.16

-0.29 %

Dow Jones

85.39

41849.07

0.2 %

CAC 40

-15.26

7855.31

-0.19 %

FTSE 100

-56.41

8730.05

-0.64 %

DAX PERFORMANCE-INDEX

-8.6

24008.46

-0.04 %

S&P 500

-0.26

5841

0 %

S&P/TSX Composite index

-6.16

25850.26

-0.02 %

HANG SENG INDEX

-204.27

23544.31

-0.86 %

IBEX 35...

37

14266.1

0.26 %

NASDAQ

26.82

18916.33

0.14 %

IDX COMPOSITE

1.88

7166.98

0.03 %

FTSE Bursa Malaysia KLCI

-14.44

1527.02

-0.94 %

KOSPI

-20.36

2594.3

-0.78 %

KOSPI 200

-2.91

344.75

-0.84 %

S&P/BMV IPC

-548.51

57849.08

-0.94 %

Euronext 100 Index

-10.53

1590.55

-0.66 %

Nikkei 225

54.04

36985.93

0.15 %

NIFTY 50

-95.35

24637

-0.39 %

NYSE (DJ)

-49.43

19558.37

-0.25 %

S&P/NZX 50 INDEX GROSS ( GROSS

-66

12650.24

-0.52 %

XCSE:OMX Stockholm 30 Index

-36.42

4419.89

-0.82 %

Russell 2000

2.86

2044.89

0.14 %

SET_SET Index

-4.79

1173.06

-0.41 %

STI Index

-1.42

3875.82

-0.04 %

ESTX 50 PR.EUR

-23.95

5424.37

-0.44 %

TA-125

-21.14

2625.66

-0.8 %

Tadawul All Shares Index

-83.83

11186.45

-0.74 %

TSEC weighted index

-63.39

21670.43

-0.29 %

CBOE Volatility Index

-0.35

20.27

-1.7 %

NYSE AMEX COMPOSITE INDEX

-31.98

5126.36

-0.62 %

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.