☰
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
996
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
June 2018
bhumi
June 2018
sujith
Getting the Order Placing Price
bhumi
June 2018
in
PHP client
Using Kite API V3.0 to place an order.
To place the MIS Order at the Market Price, we are using following method.
// Place order.
$ord_val = $kite->placeOrder("regular", [
"tradingsymbol" => "INFY",
"exchange" => "NSE",
"quantity" => "4",
"transaction_type" => "BUY",
"order_type" => "MARKET",
"product" => "MIS",
"validity" => "DAY"
]);
$order_id = $ord_val->order_id;
Can anyone suggest how can I get the price on which order is placed.
sujith
June 2018
You need to fetch order book and check for
average price in the order response
.
bhumi
June 2018
Yes I have tried the same, it returns 0.00; Please suggest.
sujith
June 2018
Can you give an order id which has average_price as 0?
Sign In
or
Register
to comment.