Skip to content

Commit 28e520a

Browse files
committed
fix: better clarify market_protection as mandatory only for MARKET orders in placeOrder docblock
1 parent 3e2a55d commit 28e520a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KiteConnect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ public function getMargins(?string $segment = null): mixed
468468
* $params int|null "auction_number" A unique identifier for a particular auction
469469
* $params float|null "tag" (Optional) Order tag
470470
* $params string|null "validity" (Optional) Order validity (DAY, IOC).
471-
* $params float "market_protection" Set to -1 for system-default market protection, or a percentage value greater than 0 up to 100
471+
* $params float "market_protection" (Mandatory only for MARKET orders) Set to -1 for system-default market protection, or a percentage value greater than 0 up to 100
472472
* @return mixed|null
473473
* @throws DataException
474474
* @throws GeneralException

0 commit comments

Comments
 (0)