SquareOffPosition

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

QUERY PARAMETERS

Request ParameterDescriptionMandatory

broker

Broker Code

Yes

strategy

Strategy Name

No

exchange

Exchange Segment

Yes

product

Product Code

Yes

symbol

Symbol Name

Yes

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

Request example :
{
"api_key":"your_api_key",
"api_secret":"your_api_secret",
"data":
{
 "broker":"zb",
 "strategy":"Test Strategy",
 "exchange":"NSE",
 "product":"CNC",
 "symbol":"YESBANK-EQ"
}
}

Response example:
{
"status": "success",
"data": {
  "symbol": "GRASIM24NOV22C1820",
  "status": "closed"
 }
}

Last updated