Can LTPC and Full_D30 Feeds Be Subscribed Simultaneously?

Hello Upstox Team,

I am working on a real-time market data application and I need a clarification regarding your WebSocket feed subscription limits.

1. Is it possible to subscribe to the LTPC feed and the Full_D30 feed at the same time?

For example, can one WebSocket connection subscribe to ltpc mode while the other subscribes to full_d30 mode for the same instrument?

2. If not, can I create two separate apps in the Upstox Developer Console and generate two different access tokens — one for LTPC and one for Full_D30 — and run them simultaneously from the same account?

I want to understand whether this is technically supported or restricted.

3. Or does Upstox enforce a rule where I must choose only one type of feed per user/app, and I cannot run LTPC and Full_D30 together under any circumstances?

My goal is to use LTPC exclusively for clean Time & Sales (trade prints) and Full_D30 for market depth analysis, so I want to check what combinations are officially supported.

Any guidance on the recommended approach or limitations would be very helpful.

Thank you!

Yes, this is possible.
You can refer to the Upstox SDK streamer functions for guidance on how to achieve this:

Here is a sample code snippet demonstrating how to subscribe to multiple instruments with different modes:

import upstox_client
import time


def main():
    configuration = upstox_client.Configuration()
    access_token = <ACCESS_TOKEN>
    configuration.access_token = access_token

    streamer = upstox_client.MarketDataStreamerV3(
        upstox_client.ApiClient(configuration))

    def on_open():
        streamer.subscribe(
            ["NSE_EQ|INE020B01018"], "full")

    # Handle incoming market data messages\
    def on_message(message):
        print(message)

    streamer.on("open", on_open)
    streamer.on("message", on_message)

    streamer.connect()

    time.sleep(5)
    streamer.subscribe(
        ["NSE_EQ|INE467B01029"], "ltpc")


if __name__ == "__main__":
    main()

In this example, the instrument NSE_EQ|INE020B01018 is subscribed in full mode initially, and after a short delay, the instrument NSE_EQ|INE467B01029 is subscribed in ltpc mode.

Thanks!