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

Local Host   :  http://127.0.0.1:5000/api/v1/placesmartorder
Ngrok Domain :  https://<your-ngrok-domain>.ngrok-free.app/api/v1/placesmartorder
Custom Domain:  https://<your-custom-domain>/api/v1/placesmartorder

Sample API Request

{
    "apikey": "<your_app_apikey>",
    "strategy": "Test Strategy",
    "exchange": "NSE",
    "symbol": "IDEA",
    "action": "BUY",
    "product": "MIS",
    "pricetype": "MARKET",
    "quantity": "1",
    "position_size": "5",
    "price": "0",
    "trigger_price": "0",
    "disclosed_quantity": "0"
}

Sample API Response

{
    "orderid": "240307000616990",
    "status": "success"
}

Parameters Description

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.

Last updated