☰
Login
Signup
Home
›
Java client
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
403
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
September 2021
NinjaTrader
September 2021
sujith
Not able to place NRML but can place MIS order
NareshTelu
September 2021
edited September 2021
in
Java client
Hi Team
below is my code when i use this code to place an NRML order, am getting error, if the same code is used for MIS order ,it is working but for NRML its giving input exception
please help me resolve this issue.
OrderParams orderParams = new OrderParams();
orderParams.quantity = 25;
orderParams.orderType = Constants.ORDER_TYPE_LIMIT;
orderParams.tradingsymbol = "BANKNIFTY2192338500CE";
orderParams.product = Constants.PRODUCT_NRML; //Note**: Constants.PRODUCT_MIS; working
orderParams.exchange = Constants.EXCHANGE_NFO;
orderParams.transactionType = Constants.TRANSACTION_TYPE_BUY;
orderParams.validity = Constants.VALIDITY_DAY;
orderParams.price = 15.7;
orderParams.triggerPrice = 0.0;
orderParams.tag = "myTag";
This is for Options and i tried with BANKNIFTY2192338500CE.
Am not sure what is wrong with above parameters , its giving me input exception.
Any inputs will be helpful, Thank you.
Tagged:
LIMIT ORDER
javakiteconnect
NRML
sujith
September 2021
Can you run in debug mode and paste the complete stack trace here?
PS: Make sure to remove all client and app specific details.
NinjaTrader
September 2021
it may be the case that NRML orders are blocked for that strike as its very FAR OTM
Sign In
or
Register
to comment.
PS: Make sure to remove all client and app specific details.