Hello Team Upstox API, so while using the MarketDataStreamerV3, the response is printing for 1, 2 time, but afterwards it’s just running and not printing anything just executing the code. Is there any rate limit with this particular endpoint because I used MarketQuoteApi and it is working fine. Please let me know. Thanks.
Here’s the code :
import upstox_client
def on_message(message):
print(message)
def main():
configuration = upstox_client.Configuration()
# access_token = <ACCESS_TOKEN>
configuration.access_token = access_token
streamer = upstox_client.MarketDataStreamerV3(
upstox_client.ApiClient(configuration), [f"{best_call_key}",f"{best_put_key}"], "full")
streamer.on("message", on_message)
streamer.connect()
if __name__ == "__main__":
main()