-X POST https://amapi.algomojo.com/v1/SquareOffAllPosition
{
"api_key":"your_api_key",
"api_secret":"your_api_secret",
"data":
{
"broker":"sm",
"strategy":"Test Strategy"
}
}
[
{
"status": "success",
"data": {
"symbol": "GRASIM29DEC22F",
"status": "closed"
}
},
{
"status": "success",
"data": {
"symbol": "BHARATFORG29DEC22F",
"status": "closed"
}
},
{
"status": "success",
"data": {
"symbol": "GRASIM24NOV22C1820",
"status": "closed"
}
},
{
"status": "success",
"data": {
"symbol": "NIFTY24NOV22C18000",
"status": "closed"
}
}
]