☰
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
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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?