☰
Login
Signup
Home
›
Kite Publisher
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
December 2019
UI7661
December 2019
sujith
how to add option/Future stock in basket
keerthan24051993
January 2019
in
Kite Publisher
Hello,
how to add option or future buttons ? i cant see any option to mention option OR fututre ?
Regards
keerthan
Tagged:
kite publisher
future and option
option
sujith
January 2019
You can check out
example here
.
UI7661
December 2019
edited December 2019
Sujith the above example didn't worked for me. I am getting this error:
My Input are:
kite.add({
"variety": "regular",
"tradingsymbol": "NIFTY15DECFUT",
"exchange": "NFO",
"transaction_type": "SELL",
"order_type": "LIMIT",
"price": 7845,
"quantity": 1,
"readonly": false
});
Output I am getting
{"status":"error","message":"No valid orders found in payload.","data":null,"error_type":"InputException"}
sujith
December 2019
This is because you seem to be sending an invalid tradingsymbol and invalid quantity. You can get details from the instrument master dump.
You can refer to the documentation
here
.
Sign In
or
Register
to comment.
My Input are:
kite.add({
"variety": "regular",
"tradingsymbol": "NIFTY15DECFUT",
"exchange": "NFO",
"transaction_type": "SELL",
"order_type": "LIMIT",
"price": 7845,
"quantity": 1,
"readonly": false
});
Output I am getting
{"status":"error","message":"No valid orders found in payload.","data":null,"error_type":"InputException"}
You can refer to the documentation here.