Hi,
I am trying to display a DataFrame which have timestamp as the ‘time’ column.
I already displayed the chart at minutes as you can see:
Noticed that the column ‘time’ changed from Timestamp into Unix time.
Now what I am experiencing is the following:
after the conversion for example - “2022-12-30 09:30:00” to Unix time - “1672392600000”
I am getting 7:30 at the time (as you can see at the screen-shoot) while it is 9:30…
can someone explain me how it is possible?
This is the chart configuration in JSON file:
[
{
“width”: 1100,
“height”: 600,
“layout”: {
“background”: {
“type”: “solid”,
“color”: “#222222”
},
“textColor”: “white”
},
“grid”: {
“vertLines”: {
“color”: “rgba(197, 203, 206, 0.5)”
},
“horzLines”: {
“color”: “rgba(197, 203, 206, 0.5)”
}
},
“crosshair”: {
“mode”: 0,
“vertLine”: {
“width”: 8,
“color”: “#C3BCDB44”,
“style”: 0,
“labelBackgroundColor”: “#9B7DFF”
},
“horzLine”: {
“color”: “#9B7DFF”,
“labelBackgroundColor”: “#9B7DFF”
}
},
“priceScale”: {
“borderColor”: “rgba(197, 203, 206, 0.8)”
},
“timeScale”: {
“borderColor”: “#71649C”,
“timeVisible”: true,
“barSpacing”: 20
},
“watermark”: {
“visible”: true,
“fontSize”: 48,
“horzAlign”: “center”,
“vertAlign”: “top”,
“color”: “rgba(171, 71, 188, 0.3)”,
“text”: null
}
},
{
“width”: 1100,
“height”: 200,
“layout”: {
“background”: {
“type”: “solid”,
“color”: “#222222”
},
“textColor”: “black”
},
“grid”: {
“vertLines”: {
“color”: “rgba(42, 46, 57, 0)”
},
“horzLines”: {
“color”: “rgba(42, 46, 57, 0.6)”
}
},
“timeScale”: {
“visible”: false,
“timeVisible”: true
},
“watermark”: {
“visible”: true,
“fontSize”: 18,
“horzAlign”: “left”,
“vertAlign”: “top”,
“color”: “rgba(171, 71, 188, 0.7)”,
“text”: “Volume”
}
}
]
Best regards,
Shoval david