☰
Login
Signup
Home
›
PHP 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
June 2018
sujith
June 2018
bhumi
Need Tick Data of Symbol
bhumi
June 2018
in
PHP client
Hi,
I am using the following code to get the last price -
$response = file_get_contents("
https://api.kite.trade/quote/ltp?api_key=XXXXX&access_token=XXXXX&i=NSE:INFY
");
$json_array = json_decode($response);
$filledprice = "";
foreach ($json_array->data as $lpInfo) {
$filledprice = $lpInfo->last_price;
}
Now, I require tick by tick data, please guide.
bhumi
June 2018
Waiting for the resposne
sujith
June 2018
Hi,
You need to use Websockets to fetch live market data. phpkiteconnect doesn't support websockets. You need to use kiteconnectjs to fetch live market data.
You can check out more about
websockets here
and
equivalent javascript documentation here
.
Sign In
or
Register
to comment.
You need to use Websockets to fetch live market data. phpkiteconnect doesn't support websockets. You need to use kiteconnectjs to fetch live market data.
You can check out more about websockets here and equivalent javascript documentation here.