☰
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.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
August 2020
nsarup
August 2020
rakeshr
Tags not placed for when GTT Triggered
nsarup
August 2020
in
PHP client
Hi, My GTT triggers are being placedd fine, and orders are being triggered. But, when the order is placed by the trigger, the Tag "MYGTT" is not being placed.
Sample Params
$params = [
"trigger_type" => $kite::GTT_TYPE_OCO,
"tradingsymbol" => "$trading_symbol",
"exchange" => "NFO",
"trigger_values" => array((float)$sl_trigger_price, (float)$tgt_trigger_price),
"last_price" => fetchLTP($trading_symbol),
"orders" => array([
"transaction_type" => $kite::TRANSACTION_TYPE_SELL,
"quantity" => (int)$sl_qty,
"product" => $kite::PRODUCT_NRML,
"order_type" => $kite::ORDER_TYPE_LIMIT,
"price" => (float)$sl_myprice,
"tag" => "MYGTT"
], [
"transaction_type" => $kite::TRANSACTION_TYPE_SELL,
"quantity" => (int)$tgt_qty,
"product" => $kite::PRODUCT_NRML,
"order_type" => $kite::ORDER_TYPE_LIMIT,
"price" => (float)$tgt_myprice,
"tag" => "MYGTT"
])
];
Pl. help
Tagged:
GTT
issue in placegtt
rakeshr
August 2020
@nsarup
Currently, we don't support tag in GTT. It's only for order placement.
nsarup
August 2020
hope you bring this feature soon
This discussion has been closed.
Currently, we don't support tag in GTT. It's only for order placement.