TradeViaPython / Kite_Zerodha

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I am getting exchange value not given although I have given the value

yogesh249 opened this issue · comments

URL: https://api.kite.trade/orders/regular
HTTP METHOD USED : POST
Authorization: enctype RXh5wUmztLGjGbrGSN/92Gd
PayLoad:
{
"variety": "regular",
"exchange": "NSE",
"tradingsymbol": "NIFTY23SEP19300PE",
"transaction_type": "BUY",
"quantity": 1,
"product": "NRML",
"order_type": "MARKET",
"price": null,
"validity": null,
"disclosed_quantity": null,
"trigger_price": null,
"squareoff": null,
"stoploss": null,
"trailing_stoploss": null
}

Response received:

{
"status": "error",
"message": "Missing or empty field exchange",
"data": null,
"error_type": "InputException"
}

Can someone help?