Hello all,
I would like to know if it is possible to know the price time in UTC? In fact, Esignal API returns me, via the the Event OnBarsChanged,
the local time or precisely the time set in my machine.
Any ideas are welcome.
Thanks and best regards
Here is some line of codes:
Private Sub esignal_OnBarsChanged(ByVal lHandle As Integer) Handles esignal.OnBarsChanged
FillHistory(lHandle)
End Sub
Private Sub FillHistory(ByVal historyHandle As Integer)
Dim baritem As IESignal.BarData
Dim dt as DateTime
...
dt = baritem.dtTime
...
end sub
I would like to know if it is possible to know the price time in UTC? In fact, Esignal API returns me, via the the Event OnBarsChanged,
the local time or precisely the time set in my machine.
Any ideas are welcome.
Thanks and best regards
Here is some line of codes:
Private Sub esignal_OnBarsChanged(ByVal lHandle As Integer) Handles esignal.OnBarsChanged
FillHistory(lHandle)
End Sub
Private Sub FillHistory(ByVal historyHandle As Integer)
Dim baritem As IESignal.BarData
Dim dt as DateTime
...
dt = baritem.dtTime
...
end sub
Comment