Cannot find constants for order_type, transaction_type, product, exchange in pykiteconnect lib

chethan_kumar
chethan_kumar edited December 2017 in Python client
Hello,
I don't find any class constants for the parameters order_type, transaction_type, product, exchange in KiteConnect class for order_place() method. How do I make sure I'm sending proper values for all these parameters? Do I hard code every string like 'NSE', 'MIS', 'BUY', 'SELL' 'BO' etc... like this?

If so, what is the proper argument value for order type 'bracket order'? Is it 'bo' or 'BO'?

Also for trailing_stoploss do I provide value in number of ticks or points?

Please reply soon and thanks in advance;
  • sujith
    Hi,
    For bracket orders, variety is 'bo' and trailing stop-loss is in points.
    The minimum value for trailing stop-loss is 1 post that it has to be multiple of tick size.
Sign In or Register to comment.