market order

profitbuddy
In Publisher we can't placed market order because there is market protection issue as we pass the market protection parameter but kiteconnect doesn't accept that as backend doesn't have option of market order but you doc says you can place market order via market protection, so please give me solution.

Also in Offsite Order your documentation is said tag have 20 max char but when i do that it gave me error tag have max 8 chars. see i am not telling about JS plugins which have 8 char in doc but in Offsite Orders docs have 20 max. so please clarify that.
  • boobeshwari
    update the kiteconnect to 5.1.0 version
  • profitbuddy
    i tried but same issue can you share me code @boobeshwari
  • boobeshwari
    if you use market_protection parameter, should use order_type as 'market'. this is python code.
    kite.place_order(variety='regular', exchange='NFO', tradingsymbol=symbol, transaction_type='BUY', quantity=65, product='NRML', order_type='MARKET', market_protection=2)
Sign In or Register to comment.