how to add option/Future stock in basket

how to add option or future buttons ? i cant see any option to mention option OR fututre ?

  • sujith
    You can check out example here.
  • UI7661
    UI7661 edited December 2019
    Sujith the above example didn't worked for me. I am getting this error:

    My Input are:
    "variety": "regular",
    "tradingsymbol": "NIFTY15DECFUT",
    "exchange": "NFO",
    "transaction_type": "SELL",
    "order_type": "LIMIT",
    "price": 7845,
    "quantity": 1,
    "readonly": false

    Output I am getting
    {"status":"error","message":"No valid orders found in payload.","data":null,"error_type":"InputException"}
  • sujith
    This is because you seem to be sending an invalid tradingsymbol and invalid quantity. You can get details from the instrument master dump.
    You can refer to the documentation here.
Sign In or Register to comment.