☰
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
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2018
sushanthrd
February 2018
Vivek
Getting Wrong Method data
sushanthrd
February 2018
in
PHP client
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.
Vivek
February 2018
@sushanthrd
Thanks for reporting. There was bug in one of the method which parses the response. Please pull kite3 branch again and check.
sushanthrd
February 2018
@vivek
i pulled but there is issue not solved. When will be final kite connect API will Get?
Sign In
or
Register
to comment.