Market Order

harjee
Hi, while placing a market order using "public void placeOrder(KiteConnect kiteconnect)" function..what values should i put in the "price" & "trigger_price" fields??..Thanks
Tagged:
  • b6arat6
    Guess, market order is not supported by default.

    To achieve it, you can try placing (Buy) limit price > market price, should get executed at best market price.
  • harjee
    thanks @b6arat6 , Sujith is this correct??..
  • sujith
    Hi @harjee,
    Check out example to place order here.
    It has example for stop-loss, to place market order just change order type to MARKET
  • b6arat6
    b6arat6 edited June 2017
    My bad! I just signed for KiteConnect today. Didn't know that MARKET order type is available. Guess, I mixed it up with BO, which does not support MARKET order type.
  • harjee
    Sujith, i understand that..but i repeat what values should i put in the "price" & "trigger_price" fields??. .pls help
  • sujith
    Hi @harjee,
    You can send price as 0 and don't send trigger_price field.
  • harjee
    ok thanks
This discussion has been closed.