Thanks Sujith. I changed the variety parameter to regular and it worked.
A suggestion - if a parameter in the api call is not valid, giving more specific error would help in avoiding these kind of issues.
@vishnus,
Let me correct this a bit. It is the issue of publisher.js operating in angular environment.
And my issue is I do not know what is happening inside publisher.js. Nor I am able to see the generated payload nor I am able to see which para…
@vishnus, I have gone thru your code. I guess the issue is w.r.t. the angular environment.
Please refer the below link where I have simulated the issue.
https://plnkr.co/edit/eoZw5IS2ULq3FlA2vjGN?p=preview
The first button uses html (and it works…
tradingsymbol is getting generated. Here is what I see in chrome developer console.
< a href="" data-kite="my-api-key"
data-exchange="NFO"
data-tradingsymbol="DCBBANK17FEBFUT"
data-transaction_type="BUY"
data-quantity="4500"
data-order_typ…
@sujith,
I would not be able to move away from angularjs as that is the platform for my web application.
If I hardcode, how do I generate the symbol dynamically? I do not want my application users to always buy the same stock!!
I tried your suggest…