☰
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
15.1K
All Categories
0
Incidents
178
Node JS client
52
Go client
853
.Net API client
399
Kite Publisher
554
.Net / VBA / Excel (3rd party)
501
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
410
PHP client
4.3K
Python client
361
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
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