Public token from multiple clients

Rajesh_Alex_Kodees
Hi,
I wanted to receive ticks for two separate set of stocks and updated in my db. For achieving this, I have 2 python program which subscribes to the different set of stocks.
My question is ,
1. What is the expiry for the public token(can it be used from 2 or more different functions) for streaming data
2. Will I face any issue since I will be using the same api_key, access_token and other details in both the functions
Kindly let me know on the above queries. Thanks in advance.
Tagged:
  • tonystark
    1. Expiry of the public token is at the same time as the access token. When you get logged out both expire. And yes you can use the same public token to initialize two instances of the ticker client.

    2. There is no issue with using multiple connections. But there is a limit of 200 token subscriptions per connection.
Sign In or Register to comment.