Fyers V3 API - "Invalid Input" Error Code -50 When Placing Multiple Orders

Hi everyone,

I'm currently integrating the Fyers V3 API into my trading system and have run into an issue when trying to place multiple orders. I'm receiving the following response:

{
    "code": -50,
    "message": "Invalid input",
    "s": "error"
}



Here are the details of the request I'm sending:

[
    {
        "symbol": "NSE:PIIND-EQ",
        "qty": 9,
        "type": 3,
        "side": -1,
        "productType": "BO",
        "limitPrice": 0.0,
        "stopPrice": 4598.25,
        "validity": "DAY",
        "disclosedQty": 0,
        "offlineOrder": false,
        "stopLoss": 15.75,
        "takeProfit": 31.5
    },
    {
        "symbol": "NSE:CHOLAFIN-EQ",
        "qty": 23,
        "type": 3,
        "side": -1,
        "productType": "BO",
        "limitPrice": 0.0,
        "stopPrice": 1487.2,
        "validity": "DAY",
        "disclosedQty": 0,
        "offlineOrder": false,
        "stopLoss": 6.3,
        "takeProfit": 12.65
    }
]

Any help would be greatly appreciated!

Thanks in advance!

1
3 replies