☰
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
403
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
November 2017
hareesh
November 2017
sujith
previous day's close
hareesh
November 2017
in
Java client
Hello there,
I am looking to get the previous day's close of a stock using Java API. I don't see anything in the Java docs. any pointers?
Thanks in advance!
Tagged:
previous day close
sujith
November 2017
Hi
@hareesh
,
You can check out
websockets
API.
hareesh
November 2017
@sujith
but looks like the websocket doesn't give the previous day's close or I missed something?
sujith
November 2017
Hi
@hareesh
,
The close price in the websockets refers to yesterday's close price.
hareesh
November 2017
Thanks
@sujith
Is there a way get the previous day's OHLC ( I already have the close) without the historical subscription?
sujith
November 2017
Hi
@hareesh
,
Previous day's OHLC is only available in historical data.
An alternate solution would be to generate candles at your end using live market data from websockets.
hareesh
November 2017
@sujith
is there a way to get the time stamp along with the OHLC data?
sujith
November 2017
Hi,
Historical data does provide timestamp with data. You can check out
sample response
.
Sign In
or
Register
to comment.
You can check out websockets API.
The close price in the websockets refers to yesterday's close price.
Is there a way get the previous day's OHLC ( I already have the close) without the historical subscription?
Previous day's OHLC is only available in historical data.
An alternate solution would be to generate candles at your end using live market data from websockets.
Historical data does provide timestamp with data. You can check out sample response.