☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
February 2022
fortunetrail
February 2022
sujith
kiteConnect.getHistoricalData
fortunetrail
February 2022
in
Java client
getHistoricalData is returning OHLC data when I run my code from my laptop. But when I run the same code from an AWS EC2 instance, located in Oregon, open, high, low and close values are 0.
sujith
February 2022
Can you run with debug log on and paste the complete stack trace?
PS: Make sure to remove app and client specific token.
sujith
February 2022
Did you check local date and time? Is it set to IST?
fortunetrail
February 2022
Hi Sujith, it seems that date and time is set to UTC. Let me reconfigure date and time settings and then check again.
fortunetrail
February 2022
When I (correctly) changed server timezone to Asia/Kolkata, it works fine. Thank you for the hint.
This discussion has been closed.
PS: Make sure to remove app and client specific token.