☰
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.7K
All Categories
0
Incidents
147
Node JS client
38
Go client
790
.Net API client
375
Kite Publisher
537
.Net / VBA / Excel (3rd party)
455
Algorithms and Strategies
988
Java client
1.1K
API clients
402
PHP client
3.9K
Python client
344
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2019
sujith
Getting error 400 for BO orders
tusharsapkale
February 2019
edited February 2019
in
PHP client
I am getting the following error for bo order
Fatal error: Uncaught InputException (400) 'Missing or empty field `exchange`'
thrown in /opt/lampp/htdocs/kiteconnect.php on line 899
My Code
$o = $kite->placeOrder("BO", [
"tradingsymbol" => "INFY",
"exchange" => "NSE",
"quantity" => 1,
"transaction_type" => "BUY",
"order_type" => "LIMIT",
"price" => 770,
"product" => "MIS",
"squareoff" => 5,
"stoploss" => 5
]);
Tagged:
BO
bracket orders
php
sujith
February 2019
Can you paste the complete code to reproduce this?
Sign In
or
Register
to comment.