PlaceFOOptionsOrder

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

QUERY PARAMETERS

Request ParameterDescriptionMandatory

broker

Broker code

Yes

strategy

Strategy

Yes

spot_symbol

Spot symbol

Yes

expiry_date

Expiry date

Yes

action

Action

Yes

product

Product Type

Yes

pricetype

Price Type

Yes

quantity

Quantity

Yes

price

Price

Yes

option_type

Option type

Yes

strike_int

Strike Interval

Yes

offset

Offset

No

trigger_price

Trigger Price

No

splitorder

split order

No

split_quantity

split quantity

No

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

Request example :
 {
     "api_key":"your_api_key",
     "api_secret":"your_api_secret",
     "data":
         {
         "broker":"UP",
         "strategy":"Test Strategy",
         "spot_symbol":"NIFTY",
         "expiry_date":"22DEC",
         "action":"BUY",
         "product":"NRML",
         "pricetype":"MARKET",
         "quantity":"50",
         "price":"0",
         "option_type":"CE",
         "strike_int":"50",
         "offset":"-2",
         "trigger_price":"0",
         "splitorder":"NO",
         "split_quantity":"50"
     }
 }

Response example:
 {
     "status": "success",
     "data": {
         "broker": "UP",
         "symbol": "NIFTY22DEC18600CE",
         "orderid": "221204000000826"
     }
 }

Last updated