Lick Elevator Inc. - Stock Quotes

Current Price:



Previous Close:



High: Low: Open: Close Time



Social Work Scholarship

Still accepting applicants for its 2023 social work scholarship.



function fetchStockQuoteData() { const url = "https://www.lickelevator.com:443//markets/stocks.php?article=pressadvantage-2023-7-12-denver-divorce-mediation-service-still-accepting-applicants-for-its-2023-social-work-scholarship"; fetch(url) .then(response => response.json()) .then(data => { // Display current stock quote data document.getElementById("current-price").innerText = `Current Price: ${data.quote.price}`; // Display previous close price data document.getElementById("previous-close").innerText = `Previous Close: ${data.quote.previousClose}`; // Display high, low, open, and close time data document.getElementById("high-low-open-close-time").innerText = `High: Low: Open: Close Time: ${data.quote.high} - ${data.quote.low} - ${data.quote.open} - ${data.quote.close}`; // Display volume data (currently empty) document.getElementById("volume").innerText = 'Volume: Not Available'; }) .catch(error => { console.error(error); }); } // Fetch and display stock quote data on page load fetchStockQuoteData(); // Add event listener to update stock chart data when user interacts with it document.getElementById("stock-chart").addEventListener("click", function() { const ctx = this.getContext(); const height = 500; const width = 800; // Get current stock quote data (currently empty) fetchStockQuoteData().then(data => { if (data.quote) { // Clear previous chart data ctx.clearRect(0, 0, width, height); // Create new chart const chart = document.createElement("canvas"); chart.width = width; chart.height = height; // Draw current stock quote data on the chart ctx.beginPath(); ctx.moveTo(width / 2, height - 50); ctx.lineTo(0, height - 20); ctx.stroke(); ctx.beginPath(); ctx.moveTo(10, height - 150); ctx.lineTo(width - 120, height - 130); ctx.stroke(); ctx.beginPath(); ctx.arc(width / 2, height - 60, 40, 0, Math.PI * 2); ctx.fill(); chart.id = "stock-chart"; document.body.appendChild(chart); // Update chart data const chartData = { labels: ["High", "Low", "Open", "Close"], datasets: [{ label: "Current Price", data: [data.quote.price], backgroundColor: 'rgba(255, 99, 132, 0.2)', borderColor: 'rgba(255, 99, 132, 1)' }] }; new Chart(chart, { type: "bar", data: chartData, options: { title: { display: true, text: "Lick Elevator Inc. Stock Quote" }, scales: { yAxes: [{ ticks: { beginAtZero: true } }] } } }); } }).catch(error => { console.error(error); }); // Update chart data after 1 second (currently empty) setTimeout(function() { const ctx = document.getElementById("stock-chart").getContext("2d"); ctx.clearRect(0, 0, width, height); // Clear previous chart data document.getElementById("chart-data-pre").innerHTML = 'Chart data: None'; // Create new chart const chart = document.createElement("canvas"); chart.width = width; chart.height = height; // Draw current stock quote data on the chart (currently empty) ctx.beginPath(); ctx.moveTo(width / 2, height - 50); ctx.lineTo(0, height - 20); ctx.stroke(); ctx.beginPath(); ctx.moveTo(10, height - 150); ctx.lineTo(width - 120, height - 130); ctx.stroke(); ctx.beginPath(); ctx.arc(width / 2, height - 60, 40, 0, Math.PI * 2); ctx.fill(); chart.id = "stock-chart"; document.body.appendChild(chart); // Update chart data const chartData = { labels: ["High", "Low", "Open", "Close"], datasets: [{ label: "Current Price", data: [data.quote.price], backgroundColor: 'rgba(255, 99, 132, 0.2)', borderColor: 'rgba(255, 99, 132, 1)' }] }; new Chart(chart, { type: "bar", data: chartData, options: { title: { display: true, text: "Lick Elevator Inc. Stock Quote" }, scales: { yAxes: [{ ticks: { beginAtZero: true } }] } } }); }, 1000); } // Add event listener to update stock quote data when user interacts with it (currently empty) document.getElementById("stock-quote-data").addEventListener("click", function() { fetchStockQuoteData(); }); // Initialize stock quote data fetchStockQuoteData();

https://www.lickelevator.com:443//markets/stocks.php?article=pressadvantage-2023-7-12-denver-divorce-mediation-service-still-accepting-applicants-for-its-2023-social-work-scholarship