Square Off Position
To get characters you need to make a POST call to the following url :
https://amapi.algomojo.com/v1/SquareOffPosition
QUERY PARAMETERS
Request Parameter
Description
Mandatory
broker
Broker Code
Yes
strategy
Strategy Name
No
exchange
Exchange Segment
Yes
product
Product Code
Yes
symbol
Symbol Name
Yes
-X POST https://amapi.algomojo.com/v1/SquareOffPosition
{
"api_key":"your_api_key",
"api_secret":"your_api_secret",
"data":
{
"broker":"zb",
"strategy":"Test Strategy",
"exchange":"NSE",
"product":"CNC",
"symbol":"YESBANK-EQ"
}
}
{
"status": "success",
"data": {
"symbol": "GRASIM24NOV22C1820",
"status": "closed"
}
}
Last updated
Was this helpful?