Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Session Management: How long the session is valid

    Python SDK
    0
    1
    31
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cthomas last edited by

      @admin How long the session created by the API call api.generateSession(config.clientId, config.password) is valid? Does the API give any notification/event when the session expires? I am developing a a trading software that will continuously run as a service and I would like to know how the session is managed. If the session expiry is based on a time interval, I want to invalidate the current session and create a new one before the expiry interval. Please help!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post