☰
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
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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.