Order getting rejected

rama
I'm using below command to place order in C# Kite API:

var buyOdrId = kitecon.OrderPlace("NSE", "GMRINFRA", "BUY", "1", "LIMIT", "MIS", "DAY", "15");

But, the order is getting rejected in kite trade. Please help to find out what is wrong with above command.
I'm using redirect URL as http://127.0.0.1 and no post back URL. Is it the reason for rejection of orders?
  • sujith
    Hi @rama,
    Is it getting rejected or you are not able to place order?
    If order is being rejected then, it is because markets are closed now.
  • rama
    Hi,
    I tried during market hours only.
    These are the errors I got during my attempts to place orders:
    rms: auto square off block
    rms:field not found 63002
  • sujith
    Hi @rama,
    If you place MIS order after 3:20 and you don't have enough margin you get this error.
Sign In or Register to comment.