Can I run multiple Algo scripts simultaneously using Shoonya API?

Yes, you can run multiple Algo scripts simultaneously.

  1. You must log in first Algo script to Shoonya and generate the ‘susertoken’.
  2. The subsequent Algo scripts must re-use the ‘susertoken’ generated from the first Algo. Please find below the link for your reference – https://github.com/Shoonya-Dev/ShoonyaApi-py/blob/master/tests/test_multiple_sessions.py

Please note that logging in again while the session is active will terminate the previous session and begin a new session. So, login should be performed only once at the beginning of the day (after 8:30 AM). After that, the login session remains active till midnight unless you re-login using the API.

Still Have Doubts? Talk to Us

If your question wasn’t answered above, we’re here for you. Reach out to our team for assistance.

Chat with us

Got questions? Get answers instantly

Contact us

Reach out to our customer care team for quick assistance

Customer Support