rms:field not found 63002

Anuj
Hi,

I am trying to place a bracket order for Relcap (Equity, NSE) using the following:

payload = {}
payload['api_key']=api_key
payload['access_token']=access_token
payload['tradingsymbol']="RELCAP-EQ"
payload['exchange']="NSE"
payload['transaction_type']="BUY"
payload['order_type']="LIMIT"
payload['quantity']=1
payload['product']="MIS"
payload['validity']="DAY"
payload['price']=536.5
payload['squareoff_value']=538
payload['stoploss_value']=0.5
response = requests.post("https://api.kite.trade/orders/regular", data=payload)
print(response)

I am getting the error message: rms:field not found 63002. Can you please help?

I also tried modifying payload['tradingsymbol'] to "RELCAP" but still got the same error. Can you please help?
  • Anuj
    Hi @sujith can you please help with this query? Thanks in advance. :-)
  • sujith
    Hi,
    I think tradingsymbol is RELCAPITAL.
  • Anuj
    Anuj edited October 2017
    Hi @sujith , Thanks.

    That solved it, but now am running into another issue. I placed a bracket order using the following code.

    payload = {}
    payload['api_key']=api_key
    payload['access_token']=access_token
    payload['tradingsymbol']="RELCAPITAL"
    payload['exchange']="NSE"
    payload['transaction_type']="BUY"
    payload['order_type']="LIMIT"
    payload['quantity']=1
    payload['product']="MIS"
    payload['validity']="DAY"
    payload['price']=550
    payload['squareoff_value']=552
    payload['stoploss_value']=0.5
    response = requests.post("https://api.kite.trade/orders/regular", data=payload)
    response_dict=response.json()
    print(response_dict['data']['order_id'])

    I see the order is successfully placed ((order id: 171017000220682) ), but I don't see two corresponding sell orders - one for 552 and other one for stop loss. Am I doing something wrong?

    thanks!
  • sujith
    Hi,
    The successful response means order placement is successful not execution.
    You need to fetch orderbook after that and check for order status or use postbacks to get notified when order is executed.
    You can check out documentation.
    Please post new queries on the new thread, it will help others who are facing the same issue.
This discussion has been closed.