Just one more questio, For REST API, Following header is required as per document:
-H "Authorization: token api_key:access_token"
So, Authorization and api_key are these 2 different header or just one?
Also, how do we get this tokens ?
I wanted to try with Nifty Jan Future, "NIFTY21JANFUT" this is the symbol I used...
< button data-kite="API KEY"
data-exchange="NSE"
data-tradingsymbol="NIFTY21JANFUT"
data-transaction_type="BUY"
data-quantity="1"
…
I get this error whenever I put derivative symbol in button control.
For equity, it works fine.
{"status":"error","message":"No valid orders found in payload.","data":null,"error_type":"InputException"}
@rakeshr Yes, its already enabled in my account, but when I was trying with free publisher app (with just html button) it was not working with derivatives.
@sujith also, wanted to confirm about derivatives market, can we trade in derivatives market with API ? because there's no specification about derivatives trading in REST API document.
@sujith Thanks for your response, I have built one strategy on tradingview platform, and they're providing webhooks to make trade according to signal generated from strategy, but the problem is its only possible to provide data in body, and not in h…
@sujith There's not specific information I could find on this APIs. In example they've just mentioned -h and -d, and there's no specification on how this should be.