Skip to content

Commit 4884a75

Browse files
committed
Fix incorrect param comments
1 parent 6e6826d commit 4884a75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kiteconnect.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,13 @@ public function getMargins($segment = null) {
350350
* $params string "tradingsymbol" Tradingsymbol of the instrument (ex. RELIANCE, INFY).
351351
* $params string "transaction_type" Transaction type (BUY or SELL).
352352
* $params string "product" Product code (NRML, MIS, CNC).
353-
* $params string "order_type" Order type (NRML, SL, SL-M, MARKET).
353+
* $params string "order_type" Order type (SL, SL-M, MARKET).
354354
* $params int "quantity" Order quantity
355355
* $params int|null "disclosed_quantity" (Optional) Disclosed quantity
356356
* $params float|null "price" (Optional) Order Price
357357
* $params float|null "trigger_price" (Optional) Trigger price
358-
* $params float|null "squareoff" (Optional) Square off value (only for bracket orders)
359-
* $params float|null "stoploss" (Optional) Stoploss value (only for bracket orders)
358+
* $params float|null "squareoff" (Mandatory only for bracker orders) Square off value
359+
* $params float|null "stoploss" (Mandatory only for bracker orders) Stoploss value
360360
* $params float|null "trailing_stoploss" (Optional) Trailing stoploss value (only for bracket orders)
361361
* $params float|null "tag" (Optional) Order tag
362362
* $params string|null "validity" (Optional) Order validity (DAY, IOC).
@@ -374,7 +374,7 @@ public function placeOrder($variety, $params) {
374374
* @param string $order_id "order_id" Order id.
375375
* @param array $params [Order modify parameters](https://kite.trade/docs/connect/v3/orders/#regular-order-parameters_1).
376376
* $params string "parent_order_id" (Optional) Parent order id if its a multi legged order.
377-
* $params string "order_type" (Optional) Order type (NRML, SL, SL-M, MARKET).
377+
* $params string "order_type" (Optional) Order type (SL, SL-M, MARKET)
378378
* $params int "quantity" (Optional) Order quantity
379379
* $params int|null "disclosed_quantity" (Optional) Disclosed quantity
380380
* $params float|null "price" (Optional) Order Price

0 commit comments

Comments
 (0)