Pease provide sample code for futures ( stock, nifty & bank nifty) order place and
how to get instrument_token for futures
You can fetch the list of instrument keys using the instrument files available here: Instruments Documentation.
Place order samples can be found here: Place Order Samples.
The provided samples are applicable for FO stocks with a slight modification in the payload. Please refer to the following FO sample payload:
{
"quantity": 1,
"product": "D",
"validity": "DAY",
"price": 10,
"instrument_token": "NSE_FO|35000",
"order_type": "LIMIT",
"transaction_type": "BUY",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false
}
I hope that was helpful.
Thanks!