|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Market Data - ForexMind</title> |
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> |
|
|
<style> |
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); |
|
|
body { |
|
|
font-family: 'Inter', sans-serif; |
|
|
background-color: #0f172a; |
|
|
} |
|
|
.card-gradient { |
|
|
background: linear-gradient(145deg, #1e293b, #0f172a); |
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25); |
|
|
} |
|
|
.market-up { |
|
|
color: #10b981; |
|
|
} |
|
|
.market-down { |
|
|
color: #ef4444; |
|
|
} |
|
|
.table-row:hover { |
|
|
background-color: #1e293b; |
|
|
} |
|
|
</style> |
|
|
</head> |
|
|
<body class="bg-slate-900 text-slate-100"> |
|
|
|
|
|
<nav class="bg-slate-800 border-b border-slate-700"> |
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> |
|
|
<div class="flex items-center justify-between h-16"> |
|
|
<div class="flex items-center"> |
|
|
<div class="flex-shrink-0 flex items-center"> |
|
|
<i data-feather="trending-up" class="text-emerald-500 mr-2"></i> |
|
|
<span class="font-bold text-xl">ForexMind</span> |
|
|
</div> |
|
|
<div class="hidden md:block"> |
|
|
<div class="ml-10 flex items-baseline space-x-4"> |
|
|
<a href="index.html" class="text-slate-300 hover:bg-slate-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a> |
|
|
<a href="#" class="text-slate-300 hover:bg-slate-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Analysis</a> |
|
|
<a href="#" class="text-slate-300 hover:bg-slate-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Education</a> |
|
|
<a href="market-data.html" class="bg-slate-900 text-white px-3 py-2 rounded-md text-sm font-medium">Market Data</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="hidden md:block"> |
|
|
<div class="ml-4 flex items-center md:ml-6"> |
|
|
<button class="bg-slate-800 p-1 rounded-full text-slate-400 hover:text-white focus:outline-none"> |
|
|
<i data-feather="bell"></i> |
|
|
</button> |
|
|
<div class="ml-3 relative"> |
|
|
<div class="flex items-center"> |
|
|
<button class="flex text-sm rounded-full focus:outline-none"> |
|
|
<img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/1" alt="User"> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="-mr-2 flex md:hidden"> |
|
|
<button class="bg-slate-800 inline-flex items-center justify-center p-2 rounded-md text-slate-400 hover:text-white hover:bg-slate-700 focus:outline-none"> |
|
|
<i data-feather="menu"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</nav> |
|
|
|
|
|
|
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"> |
|
|
<div class="mb-8"> |
|
|
<h1 class="text-3xl font-bold mb-2">Market Data</h1> |
|
|
<p class="text-slate-400">Real-time currency pair information and market statistics</p> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="card-gradient rounded-xl p-6 mb-8"> |
|
|
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4"> |
|
|
<div class="flex flex-wrap gap-2"> |
|
|
<button class="bg-emerald-600 text-white px-4 py-2 rounded-lg text-sm">All Pairs</button> |
|
|
<button class="bg-slate-800 hover:bg-slate-700 text-slate-300 px-4 py-2 rounded-lg text-sm">Majors</button> |
|
|
<button class="bg-slate-800 hover:bg-slate-700 text-slate-300 px-4 py-2 rounded-lg text-sm">Minors</button> |
|
|
<button class="bg-slate-800 hover:bg-slate-700 text-slate-300 px-4 py-2 rounded-lg text-sm">Exotics</button> |
|
|
<button class="bg-slate-800 hover:bg-slate-700 text-slate-300 px-4 py-2 rounded-lg text-sm">Commodities</button> |
|
|
</div> |
|
|
<div class="relative"> |
|
|
<input type="text" placeholder="Search pairs..." class="bg-slate-800 text-slate-200 rounded-lg py-2 px-4 pl-10 w-full md:w-64 focus:outline-none focus:ring-2 focus:ring-emerald-500"> |
|
|
<i data-feather="search" class="absolute left-3 top-2.5 text-slate-500 w-4 h-4"></i> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="card-gradient rounded-xl overflow-hidden"> |
|
|
<div class="overflow-x-auto"> |
|
|
<table class="min-w-full divide-y divide-slate-700"> |
|
|
<thead class="bg-slate-800"> |
|
|
<tr> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Pair</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Price</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">24h Change</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">24h High</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">24h Low</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Volume</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Chart</th> |
|
|
</tr> |
|
|
</thead> |
|
|
<tbody class="divide-y divide-slate-800"> |
|
|
|
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded-lg w-8 h-8 flex items-center justify-center mr-3"> |
|
|
<span class="text-xs font-bold">EU</span> |
|
|
</div> |
|
|
<div> |
|
|
<div class="font-medium">EUR/USD</div> |
|
|
<div class="text-slate-500 text-sm">Euro / US Dollar</div> |
|
|
</div> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap font-medium">1.0842</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="market-up font-medium">+0.24%</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.0855</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.0812</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">2.45B</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="h-10 w-24"> |
|
|
<canvas id="eurusd-mini-chart"></canvas> |
|
|
</div> |
|
|
</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded-lg w-8 h-8 flex items-center justify-center mr-3"> |
|
|
<span class="text-xs font-bold">GU</span> |
|
|
</div> |
|
|
<div> |
|
|
<div class="font-medium">GBP/USD</div> |
|
|
<div class="text-slate-500 text-sm">British Pound / US Dollar</div> |
|
|
</div> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap font-medium">1.2728</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="market-down font-medium">-0.12%</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.2750</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.2710</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.87B</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="h-10 w-24"> |
|
|
<canvas id="gbpusd-mini-chart"></canvas> |
|
|
</div> |
|
|
</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded-lg w-8 h-8 flex items-center justify-center mr-3"> |
|
|
<span class="text-xs font-bold">UJ</span> |
|
|
</div> |
|
|
<div> |
|
|
<div class="font-medium">USD/JPY</div> |
|
|
<div class="text-slate-500 text-sm">US Dollar / Japanese Yen</div> |
|
|
</div> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap font-medium">151.85</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="market-up font-medium">+0.38%</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">152.10</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">151.20</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">3.21B</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="h-10 w-24"> |
|
|
<canvas id="usdjpy-mini-chart"></canvas> |
|
|
</div> |
|
|
</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded-lg w-8 h-8 flex items-center justify-center mr-3"> |
|
|
<span class="text-xs font-bold">UC</span> |
|
|
</div> |
|
|
<div> |
|
|
<div class="font-medium">USD/CHF</div> |
|
|
<div class="text-slate-500 text-sm">US Dollar / Swiss Franc</div> |
|
|
</div> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap font-medium">0.9124</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="market-down font-medium">-0.08%</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">0.9135</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">0.9110</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.98B</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="h-10 w-24"> |
|
|
<canvas id="usdchf-mini-chart"></canvas> |
|
|
</div> |
|
|
</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded-lg w-8 h-8 flex items-center justify-center mr-3"> |
|
|
<span class="text-xs font-bold">AU</span> |
|
|
</div> |
|
|
<div> |
|
|
<div class="font-medium">AUD/USD</div> |
|
|
<div class="text-slate-500 text-sm">Australian Dollar / US Dollar</div> |
|
|
</div> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap font-medium">0.6528</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="market-up font-medium">+0.15%</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">0.6540</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">0.6505</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.32B</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="h-10 w-24"> |
|
|
<canvas id="audusd-mini-chart"></canvas> |
|
|
</div> |
|
|
</td> |
|
|
</tr> |
|
|
|
|
|
|
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded-lg w-8 h-8 flex items-center justify-center mr-3"> |
|
|
<span class="text-xs font-bold">UC</span> |
|
|
</div> |
|
|
<div> |
|
|
<div class="font-medium">USD/CAD</div> |
|
|
<div class="text-slate-500 text-sm">US Dollar / Canadian Dollar</div> |
|
|
</div> |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap font-medium">1.3452</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="market-down font-medium">-0.22%</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.3480</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.3425</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1.76B</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="h-10 w-24"> |
|
|
<canvas id="usdcad-mini-chart"></canvas> |
|
|
</div> |
|
|
</td> |
|
|
</tr> |
|
|
</tbody> |
|
|
</table> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="mt-12"> |
|
|
<h2 class="text-2xl font-bold mb-6">Economic Calendar</h2> |
|
|
<div class="card-gradient rounded-xl p-6"> |
|
|
<div class="overflow-x-auto"> |
|
|
<table class="min-w-full divide-y divide-slate-700"> |
|
|
<thead class="bg-slate-800"> |
|
|
<tr> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Time</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Currency</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Event</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Actual</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Forecast</th> |
|
|
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-slate-400 uppercase tracking-wider">Previous</th> |
|
|
</tr> |
|
|
</thead> |
|
|
<tbody class="divide-y divide-slate-800"> |
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap">08:30 AM</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded w-6 h-6 flex items-center justify-center mr-2"> |
|
|
<span class="text-xs">USD</span> |
|
|
</div> |
|
|
USD |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4">Non-Farm Payrolls</td> |
|
|
<td class="px-6 py-4 font-medium">250K</td> |
|
|
<td class="px-6 py-4">200K</td> |
|
|
<td class="px-6 py-4">190K</td> |
|
|
</tr> |
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap">10:00 AM</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded w-6 h-6 flex items-center justify-center mr-2"> |
|
|
<span class="text-xs">EUR</span> |
|
|
</div> |
|
|
EUR |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4">ECB Interest Rate Decision</td> |
|
|
<td class="px-6 py-4 font-medium">3.50%</td> |
|
|
<td class="px-6 py-4">3.50%</td> |
|
|
<td class="px-6 py-4">3.50%</td> |
|
|
</tr> |
|
|
<tr class="table-row"> |
|
|
<td class="px-6 py-4 whitespace-nowrap">02:00 PM</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<div class="flex items-center"> |
|
|
<div class="bg-slate-800 rounded w-6 h-6 flex items-center justify-center mr-2"> |
|
|
<span class="text-xs">USD</span> |
|
|
</div> |
|
|
USD |
|
|
</div> |
|
|
</td> |
|
|
<td class="px-6 py-4">ISM Manufacturing PMI</td> |
|
|
<td class="px-6 py-4 font-medium">52.6</td> |
|
|
<td class="px-6 py-4">51.8</td> |
|
|
<td class="px-6 py-4">51.5</td> |
|
|
</tr> |
|
|
</tbody> |
|
|
</table> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<footer class="bg-slate-800 border-t border-slate-700 mt-12"> |
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"> |
|
|
<div class="grid grid-cols-1 md:grid-cols-4 gap-8"> |
|
|
<div> |
|
|
<div class="flex items-center mb-4"> |
|
|
<i data-feather="trending-up" class="text-emerald-500 mr-2"></i> |
|
|
<span class="font-bold text-xl">ForexMind</span> |
|
|
</div> |
|
|
<p class="text-slate-400 mb-4">Advanced forex analysis and educational platform for traders of all levels.</p> |
|
|
<div class="flex space-x-4"> |
|
|
<a href="#" class="text-slate-400 hover:text-white"> |
|
|
<i data-feather="twitter"></i> |
|
|
</a> |
|
|
<a href="#" class="text-slate-400 hover:text-white"> |
|
|
<i data-feather="facebook"></i> |
|
|
</a> |
|
|
<a href="#" class="text-slate-400 hover:text-white"> |
|
|
<i data-feather="linkedin"></i> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-semibold mb-4">Platform</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li><a href="index.html" class="text-slate-400 hover:text-white">Dashboard</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Market Analysis</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Educational Resources</a></li> |
|
|
<li><a href="market-data.html" class="text-slate-400 hover:text-white">Market Data</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Trading Simulator</a></li> |
|
|
</ul> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-semibold mb-4">Resources</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Trading Courses</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Glossary</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Webinars</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Blog</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Support</a></li> |
|
|
</ul> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-semibold mb-4">Legal</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Privacy Policy</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Terms of Service</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Risk Disclosure</a></li> |
|
|
<li><a href="#" class="text-slate-400 hover:text-white">Disclaimer</a></li> |
|
|
</ul> |
|
|
</div> |
|
|
</div> |
|
|
<div class="border-t border-slate-700 mt-8 pt-8 text-center text-slate-500"> |
|
|
<p>© 2023 ForexMind. All rights reserved. Trading involves substantial risk of loss.</p> |
|
|
</div> |
|
|
</div> |
|
|
</footer> |
|
|
|
|
|
<script> |
|
|
|
|
|
feather.replace(); |
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function() { |
|
|
|
|
|
const ctx1 = document.getElementById('eurusd-mini-chart').getContext('2d'); |
|
|
new Chart(ctx1, { |
|
|
type: 'line', |
|
|
data: { |
|
|
labels: ['9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00'], |
|
|
datasets: [{ |
|
|
data: [1.0812, 1.0825, 1.0830, 1.0838, 1.0840, 1.0845, 1.0842], |
|
|
borderColor: '#10b981', |
|
|
borderWidth: 2, |
|
|
pointRadius: 0, |
|
|
fill: false, |
|
|
tension: 0.4 |
|
|
}] |
|
|
}, |
|
|
options: { |
|
|
responsive: true, |
|
|
maintainAspectRatio: false, |
|
|
plugins: { |
|
|
legend: { |
|
|
display: false |
|
|
} |
|
|
}, |
|
|
scales: { |
|
|
x: { |
|
|
display: false |
|
|
}, |
|
|
y: { |
|
|
display: false |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
const ctx2 = document.getElementById('gbpusd-mini-chart').getContext('2d'); |
|
|
new Chart(ctx2, { |
|
|
type: 'line', |
|
|
data: { |
|
|
labels: ['9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00'], |
|
|
datasets: [{ |
|
|
data: [1.2750, 1.2742, 1.2738, 1.2735, 1.2730, 1.2725, 1.2728], |
|
|
borderColor: '#ef4444', |
|
|
borderWidth: 2, |
|
|
pointRadius: 0, |
|
|
fill: false, |
|
|
tension: 0.4 |
|
|
}] |
|
|
}, |
|
|
options: { |
|
|
responsive: true, |
|
|
maintainAspectRatio: false, |
|
|
plugins: { |
|
|
legend: { |
|
|
display: false |
|
|
} |
|
|
}, |
|
|
scales: { |
|
|
x: { |
|
|
display: false |
|
|
}, |
|
|
y: { |
|
|
display: false |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
const ctx3 = document.getElementById('usdjpy-mini-chart').getContext('2d'); |
|
|
new Chart(ctx3, { |
|
|
type: 'line', |
|
|
data: { |
|
|
labels: ['9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00'], |
|
|
datasets: [{ |
|
|
data: [151.20, 151.35, 151.50, 151.65, 151.72, 151.80, 151.85], |
|
|
borderColor: '#10b981', |
|
|
borderWidth: 2, |
|
|
pointRadius: 0, |
|
|
fill: false, |
|
|
tension: 0.4 |
|
|
}] |
|
|
}, |
|
|
options: { |
|
|
responsive: true, |
|
|
maintainAspectRatio: false, |
|
|
plugins: { |
|
|
legend: { |
|
|
display: false |
|
|
} |
|
|
}, |
|
|
scales: { |
|
|
x: { |
|
|
display: false |
|
|
}, |
|
|
y: { |
|
|
display: false |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
const ctx4 = document.getElementById('usdchf-mini-chart').getContext('2d'); |
|
|
new Chart(ctx4, { |
|
|
type: 'line', |
|
|
data: { |
|
|
labels: ['9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00'], |
|
|
datasets: [{ |
|
|
data: [0.9130, 0.9128, 0.9126, 0.9125, 0.9124, 0.9123, 0.9124], |
|
|
borderColor: '#ef4444', |
|
|
borderWidth: 2, |
|
|
pointRadius: 0, |
|
|
fill: false, |
|
|
tension: 0.4 |
|
|
}] |
|
|
}, |
|
|
options: { |
|
|
responsive: true, |
|
|
maintainAspectRatio: false, |
|
|
plugins: { |
|
|
legend: { |
|
|
display: false |
|
|
} |
|
|
}, |
|
|
scales: { |
|
|
x: { |
|
|
display: false |
|
|
}, |
|
|
y: { |
|
|
display: false |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
const ctx5 = document.getElementById('audusd-mini-chart').getContext('2d'); |
|
|
new Chart(ctx5, { |
|
|
type: 'line', |
|
|
data: { |
|
|
labels: ['9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00'], |
|
|
datasets: [{ |
|
|
data: [0.6505, 0.6512, 0.6518, 0.6522, 0.6525, 0.6527, 0.6528], |
|
|
borderColor: '#10b981', |
|
|
borderWidth: 2, |
|
|
pointRadius: 0, |
|
|
fill: false, |
|
|
tension: 0.4 |
|
|
}] |
|
|
}, |
|
|
options: { |
|
|
responsive: true, |
|
|
maintainAspectRatio: false, |
|
|
plugins: { |
|
|
legend: { |
|
|
display: false |
|
|
} |
|
|
}, |
|
|
scales: { |
|
|
x: { |
|
|
display: false |
|
|
}, |
|
|
y: { |
|
|
display: false |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
|
|
|
|
|
|
const ctx6 = document.getElementById('usdcad-mini-chart').getContext('2d'); |
|
|
new Chart(ctx6, { |
|
|
type: 'line', |
|
|
data: { |
|
|
labels: ['9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00'], |
|
|
datasets: [{ |
|
|
data: [1.3480, 1.3472, 1.3465, 1.3458, 1.3455, 1.3453, 1.3452], |
|
|
borderColor: '#ef4444', |
|
|
borderWidth: 2, |
|
|
pointRadius: 0, |
|
|
fill: false, |
|
|
tension: 0.4 |
|
|
}] |
|
|
}, |
|
|
options: { |
|
|
responsive: true, |
|
|
maintainAspectRatio: false, |
|
|
plugins: { |
|
|
legend: { |
|
|
display: false |
|
|
} |
|
|
}, |
|
|
scales: { |
|
|
x: { |
|
|
display: false |
|
|
}, |
|
|
y: { |
|
|
display: false |
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
</script> |
|
|
</body> |
|
|
</html> |