access token validity

Pushwinder
what is the duration of access token for the day??
At all are the timings when it changes, does it change after opening of indian market???
  • Pushwinder
    what is the duration of access token for the day??
    What all are the timings when it changes, does it change after opening of indian market???
  • sujith
    Hi @Pushwinder,
    An access token is valid for one trading session. If you log in today, then the session is valid until next day morning.
    All access tokens are flushed before 8:30 AM.
  • Pushwinder
    I am not able to place orders,
    getting this message PUT ORDER REQ RECEIVED on kite orderbook, but trade is not going through

    kite.order_place(tradingsymbol="NATURALGAS17JUNFUT", quantity=1, exchange="MCX", transaction_type="SELL", order_type="MARKET", product="CO",trigger_price=194)
  • Pushwinder
    {'exchange_order_id': None, 'disclosed_quantity': 0, 'market_protection': 0, 'tradingsymbol': 'NATURALGAS17JUNFUT', 'tag': None, 'order_type': 'MARKET', 'trigger_price': 194, 'cancelled_quantity': 0, 'instrument_token': 7, 'status_message': None, 'status': 'PUT ORDER REQ RECEIVED', 'product': 'CO', 'exchange': 'MCX', 'order_id': '170602000731806', 'price': 0, 'pending_quantity': 1, 'validity': 'DAY', 'placed_by': 'RP4766', 'order_timestamp': '2017-06-02 19:52:58', 'parent_order_id': None, 'exchange_timestamp': None, 'average_price': 0, 'variety': 'co', 'transaction_type': 'SELL', 'filled_quantity': 0, 'quantity': 1}

    I cant locate the problem, kindly help
  • sujith
    Hi @Pushwinder,
    Product for an order can be only NRML, MIS or CNC. Check out example for placing cover order here.
  • Pushwinder
    Thanks, got it
This discussion has been closed.