☰
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.6K
All Categories
0
Incidents
143
Node JS client
38
Go client
784
.Net API client
375
Kite Publisher
537
.Net / VBA / Excel (3rd party)
452
Algorithms and Strategies
985
Java client
1.1K
API clients
402
PHP client
3.9K
Python client
344
Mobile and Desktop apps
1.3K
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?