Need values for the place order function

ZW2914
Hi, As per the documentation, place order has got the following parameters. can you pls provide a sample values for an instrument lets say "NFO:INFY20JANFUT"
def place_order(self,
variety,
exchange,
tradingsymbol,
transaction_type,
quantity,
product,
order_type,
price=None,
validity=None,
disclosed_quantity=None,
trigger_price=None,
squareoff=None,
stoploss=None,
trailing_stoploss=None,
tag=None):
  • rakeshr
    @ZW2914
    Refer to this documentation for all the above order params.
    If any further clarification, you can post it here.Most of the params remains same, you need to change exchange to NFO and product type to NRML/MIS.
  • ZW2914
    Hi, for infy futures, I have given the following values. can you check if the values are correct? and I dont know what values to be given for disclosed_quantity, tag. pls confirm what needs to be given. Thanks

    variety = "bo"
    exchange = "NFO"
    tradingsymbol = "INFY20JANFUT"
    transaction_type = "BUY"
    quantity = "1200"
    product = "MIS"
    order_type = "LIMIT"
    price = 775
    validity = "DAY"
    disclosed_quantity =
    trigger_price = 775
    squareoff = 3
    stoploss = 3
    trailing_stoploss = 7
    tag =
  • sujith
    These are optional fields you can choose not to send those.

    Anyways disclose quantity is only for equity in case if you don't want to disclose your complete quantity.
    Tag is a custom field that can be used to tag your order.
Sign In or Register to comment.