a) I am buying derivatives for the first time via the API, for number of lots can I fill the quantity as below orderParams.quantity for kiteSdk.placeOrder(orderParams, Constants.VARIETY_REGULAR);
b) Also can you please let me know if I am using the right API to buy derivatives? I am making it as "NFO" as exchange.
@naveen278, You can check out documentation to know what params to be sent for placing an order. All the meta data you need for placing order are in the instruments master file. You can again checkout documentation here.
NFO:NIFTY22OCT17000CE
but I am getting the error:-
The instrument you are placing an order for has either expired or does not exist
but I am getting the error:-
The instrument you are placing an order for has either expired or does not exist
You can check out documentation to know what params to be sent for placing an order.
All the meta data you need for placing order are in the instruments master file. You can again checkout documentation here.
Go through the complete API documentation for 10 min, you will know the basics of Kite Connect. Respective methods from python client will be there on the pykiteconnect documentation.