PlaceSmartOrder

To get characters you need to make a POST call to the following url : https://amapi.algomojo.com/v1/PlaceSmartOrder

QUERY PARAMETERS

# Here is a curl example
-X POST https://amapi.algomojo.com/v1/PlaceSmartOrder

Request example :
 {
     "api_key":"your_api_key",
     "api_secret":"your_api_secret",
     "data":
     {
         "broker":"zb",
         "strategy":"Test Strategy",
         "exchange":"NSE",
         "symbol":"YESBANK-EQ",
         "action":"BUY",
         "product":"CNC",
         "pricetype":"MARKET",
         "quantity":"7",
         "price":"0",
         "position_size":"7",
         "trigger_price":"0",
         "disclosed_quantity":"0",
         "amo":"NO",
         "splitorder":"NO",
         "split_quantity":"2"
     }
 }

Response example:
 {
         "status": "success",
         "data": {
             "broker": "ZB",
             "orderid": "221115000019082"
                 }
 } 

Last updated