☰
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.2K
All Categories
0
Incidents
127
Node JS client
38
Go client
769
.Net API client
362
Kite Publisher
532
.Net / VBA / Excel (3rd party)
435
Algorithms and Strategies
969
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
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