Getting Wrong Method data

sushanthrd
while i am using function getQuote($instruments) $instrument example = "NSE:BHEL","NSE:INFY" Like that

so i have get like this

Array Value Getting Array ( [0] i have to get Array ( [NSE:AMBUJACEM]

Array ( [NSE:AMBUJACEM] => Array ( [instrument_token] => 325121 [timestamp] => 2018-02-03 15:32:03 [last_price] => 268.1 [last_quantity] => 30 [last_trade_time] => 2018-02-03 15:15:00 [average_price] => 247.2 [volume] => 269021 [buy_quantity] => 0 [sell_quantity] => 0 [ohlc] => Array ( [open] => 262 [high] => 280 [low] => 233.65 [close] => 259.55 ) [net_change] => 0 [oi] => 0 [oi_day_high] => 0 [oi_day_low] => 0 [depth] => Array ( [buy] => Array ( [0] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [1] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [2] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [3] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [4] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) ) [sell] => Array ( [0] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [1] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [2] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [3] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [4] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) ) ) )


but i am getting \

Array ( [0] => Array ( [instrument_token] => 325121 [timestamp] => DateTime Object ( [date] => 2018-02-03 15:32:03 [timezone_type] => 3 [timezone] => Asia/Kolkata ) [last_price] => 268.1 [last_quantity] => 30 [last_trade_time] => DateTime Object ( [date] => 2018-02-03 15:15:00 [timezone_type] => 3 [timezone] => Asia/Kolkata ) [average_price] => 247.2 [volume] => 269021 [buy_quantity] => 0 [sell_quantity] => 0 [ohlc] => Array ( [open] => 262 [high] => 280 [low] => 233.65 [close] => 259.55 ) [net_change] => 0 [oi] => 0 [oi_day_high] => 0 [oi_day_low] => 0 [depth] => Array ( [buy] => Array ( [0] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [1] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [2] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [3] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [4] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) ) [sell] => Array ( [0] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [1] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [2] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [3] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) [4] => Array ( [price] => 0 [quantity] => 0 [orders] => 0 ) ) ) )


i am using latest Kiteconnect3 call php file but while i am using old kiteconnect3 so i am getting data in fine condition.
if you using change frequently so how can we use it blindly you are changing it every day.
Sign In or Register to comment.