☰
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
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.