☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
996
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
November 2020
sujith
How to send getHistoricalData to display.php page.
rajatbiswas
November 2020
in
PHP client
Not able to send it to the display page which I created for UI purpose.
$_SESSION['OHLC'] = $data = $kite->getIROIRO_ASHU('340481');
$_SESSION['candels'] = $kite->getHistoricalData('136289796','day','2020-10-06 00:00:00','2020-10-06 23:59:59' );
Response:
Array
(
[OHLC] => eyJzdGF0dXMiOiJzdWNjZXNzIiwiZGF0YSI6eyIzNDA0ODEiOnsiaW5zdHJ1bWVudF90b2tlbiI6MzQwNDgxLCJsYXN0X3ByaWNlIjoyMDg4LjIsIm9obGMiOnsib3BlbiI6MjExMS4xLCJoaWdoIjoyMTM0Ljk1LCJsb3ciOjIwNTYuNCwiY2xvc2UiOjIxMzAuOTV9fX19
[candels] => Array
(
[0] => stdClass Object
(
[date] => DateTime Object
(
[date] => 2020-10-06 00:00:00.000000
[timezone_type] => 1
[timezone] => +05:30
)
[open] => 70.7
[high] => 70.7
[low] => 68.5
[close] => 68.95
[volume] => 8973
)
)
)
when I am redirecting like this , then it's working fine -
window.location = "
http://localhost/markethalchal/test/examples/display.php?res=<?=$_SESSION['OHLC']?>
;";
But not working for this -
window.location = "
http://localhost/markethalchal/test/examples/display.php?res=<?=$_SESSION?>
;";
sujith
November 2020
@rajatbiswas
,
One can't display our data on a third party website. You can speak to the compliance team for more information. You can reach out to them at kiteconnect(at)zerodha.com
Sign In
or
Register
to comment.
One can't display our data on a third party website. You can speak to the compliance team for more information. You can reach out to them at kiteconnect(at)zerodha.com