☰
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
14K
All Categories
0
Incidents
156
Node JS client
40
Go client
794
.Net API client
383
Kite Publisher
537
.Net / VBA / Excel (3rd party)
462
Algorithms and Strategies
1K
Java client
1.1K
API clients
405
PHP client
4K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
March 2018
abhivin123
Convert Position Throwing Error
abhivin123
March 2018
in
PHP client
Hi
@sujith
,
The convertPosition in PHPClient is throwing error. We are using kiteconnect 3 php file.
Code:
$kite->setAccessToken($_POST['access_token']);
$kite->convertPosition([
"exchange" => $exchange,
"tradingsymbol" => $tradingsymbol,
"transaction_type" => $transaction_type,
"position_type" => $position_type,
"quantity" => $quantity,
"old_product" => $old_product,
"new_product" => $new_product,
]);
Error:
Insufficient permission for that call.
Tagged:
kiteconnect
php
Convert
abhivin123
March 2018
The same is true with cancel order as well ...
Code:
$kite->setAccessToken($_POST['access_token']);
$kite->cancelOrder($variety,$id,null);
Error:
Insufficient permission for that call.
@sujith
can you please advice ... when is this error thrown?
Sign In
or
Register
to comment.
Code:
$kite->setAccessToken($_POST['access_token']);
$kite->cancelOrder($variety,$id,null);
Error:
Insufficient permission for that call.
@sujith can you please advice ... when is this error thrown?