Update index.js
Browse files
index.js
CHANGED
|
@@ -165,7 +165,7 @@ app.post('/chart/candle', async (req, res) => {
|
|
| 165 |
const chartX = 20;
|
| 166 |
const chartY = 60;
|
| 167 |
const chartW = 1050;
|
| 168 |
-
const chartH =
|
| 169 |
|
| 170 |
const minPrice = Math.min(...candles.map(c => c.low));
|
| 171 |
const maxPrice = Math.max(...candles.map(c => c.high));
|
|
|
|
| 165 |
const chartX = 20;
|
| 166 |
const chartY = 60;
|
| 167 |
const chartW = 1050;
|
| 168 |
+
const chartH = 530;
|
| 169 |
|
| 170 |
const minPrice = Math.min(...candles.map(c => c.low));
|
| 171 |
const maxPrice = Math.max(...candles.map(c => c.high));
|