RMS :field not found 63002

Sowmay
Sowmay edited April 2017 in API clients
I executed an order using following compulsory params on NodeJS env:

kc.orderPlace({
exchange:"NSE",
tradingsymbol:"ICICI",
transaction_type:"BUY",
quantity:"10",
product:"MIS",
order_type:"MARKET"
})

However, in my Kite Account, the order status is "rejected" and the message is "RMS :field not found 63002"

Where am I lacking?
Tagged:
  • Sowmay
    Got the solution. I was using the wrong stock symbol. Instead of ICICI, I would have used ICICIBANK. Consider this thread closed.
  • sujith
    @Sowmay,
    scrip name is ICICIBANK and you need to pass validity also.
    You can check out example for placing order here
  • Sowmay
    Why need to put "validity "? I run a script without validity and it order executed successfully.
  • sujith
    Validity is used to specify the system that order's validity should be day or IOC(immediate or cancel).
    If validity is DAY, your order stays in the system till it finds a counter party for the whole day.
    If validity is IOC, your order will be either executed immediately if a counter-party is available or it will be canceled.
  • sujith
    sujith edited April 2017
    You can fetch orderbook and check, it will have validity as DAY for that order.
Sign In or Register to comment.