getOHLC function not working

sanwonc
Hi,

1.I am using below code, getOHLC function not working leading to fail php file. Can someone help.

$infy = "NSE:INFY";
$tick = $kite->getOHLC("$infy");

echo "this is ohlc".$infy;

2.I even tried entering symbol as "INFY:NSE" but didnt work either

3. Also tried simply $tick = $kite->getOHLC(["NSE:INFY"]);
echo $tick;
is this correct?
Tagged:
Sign In or Register to comment.