☰
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.2K
All Categories
0
Incidents
159
Node JS client
45
Go client
802
.Net API client
386
Kite Publisher
538
.Net / VBA / Excel (3rd party)
466
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
350
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?