☰
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
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.