olywwe commited on
Commit
9b1dbed
·
verified ·
1 Parent(s): a752007

criar grafico de candles e moostrar onde esta realizando os traders - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +25 -0
index.html CHANGED
@@ -65,6 +65,22 @@
65
  50% { transform: scale(1.2); box-shadow: 0 0 25px rgba(16, 185, 129, 0.8); }
66
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(99, 102, 241, 0.5); }
67
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  </style>
69
  </head>
70
  <body class="bg-gray-900 text-white min-h-screen">
@@ -155,6 +171,15 @@
155
  </div>
156
  </div>
157
 
 
 
 
 
 
 
 
 
 
158
  <!-- Gráfico de Evolução de Saldo -->
159
  <div class="bg-gray-800 p-6 rounded-xl shadow-lg mt-8">
160
  <h2 class="text-xl font-semibold mb-4 text-purple-300">Evolução do Saldo</h2>
 
65
  50% { transform: scale(1.2); box-shadow: 0 0 25px rgba(16, 185, 129, 0.8); }
66
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(99, 102, 241, 0.5); }
67
  }
68
+ .trade-marker {
69
+ position: absolute;
70
+ width: 10px;
71
+ height: 10px;
72
+ border-radius: 50%;
73
+ z-index: 10;
74
+ transform: translate(-50%, -50%);
75
+ }
76
+ .trade-marker.buy {
77
+ background-color: #10b981;
78
+ box-shadow: 0 0 10px #10b981;
79
+ }
80
+ .trade-marker.sell {
81
+ background-color: #ef4444;
82
+ box-shadow: 0 0 10px #ef4444;
83
+ }
84
  </style>
85
  </head>
86
  <body class="bg-gray-900 text-white min-h-screen">
 
171
  </div>
172
  </div>
173
 
174
+ <!-- Gráfico de Candlesticks -->
175
+ <div class="bg-gray-800 p-6 rounded-xl shadow-lg mt-8">
176
+ <h2 class="text-xl font-semibold mb-4 text-purple-300">Gráfico de Candlesticks</h2>
177
+ <div class="h-80 relative">
178
+ <canvas id="candlestickChart"></canvas>
179
+ <div id="tradeMarkers" class="absolute top-0 left-0 w-full h-full pointer-events-none"></div>
180
+ </div>
181
+ </div>
182
+
183
  <!-- Gráfico de Evolução de Saldo -->
184
  <div class="bg-gray-800 p-6 rounded-xl shadow-lg mt-8">
185
  <h2 class="text-xl font-semibold mb-4 text-purple-300">Evolução do Saldo</h2>