PlaceSmartOrder
Place Order Smartly by analyzing the current open position. It matches the Position Size with the given position book. Buy/Sell Signal Orders will be traded accordingly to the Position Size
Endpoint URL
Sample API Request
Sample API Response
Parameters Description
apikey
App API key
Mandatory
-
strategy
Strategy name
Mandatory
-
exchange
Exchange code
Mandatory
-
symbol
Trading symbol
Mandatory
-
action
Action (BUY/SELL)
Mandatory
-
product
Product type
Optional
MIS
pricetype
Price type
Optional
MARKET
quantity
Quantity
Mandatory
-
position_size
Position Size
Mandatory
-
price
Price
Optional
0
trigger_price
Trigger price
Optional
0
disclosed_quantity
Disclosed quantity
Optional
0
How PlaceSmartOrder API Works?
PlaceSmartOrder API function, which allows traders to build intelligent trading systems that can automatically place orders based on existing trade positions in the position book.
BUY
100
0
0
No Open Pos Found. Buy +100 qty
BUY
100
100
-100
BUY 200 to match Open Pos in API Param
BUY
100
100
100
No Action. Position matched
BUY
100
200
100
BUY 100 to match Open Pos in API Param
SELL
100
0
0
No Open Pos Found. SELL 100 qty
SELL
100
-100
+100
SELL 200 to match Open Pos in API Param
SELL
100
-100
-100
No Action. Position matched
SELL
100
-200
-100
SELL 100 to match Open Pos in API Param
Last updated