Skip to content

MarketDataStreamerV3 error #119

@AniketWathore

Description

@AniketWathore

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. 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()``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions