Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception: There already is a market data handler subscribed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unhandled exception: There already is a market data handler subscribed

    Hey,
    I'm trying to work with the NinjaTrader.Client.dll api for my application, but am having issues.
    I'm able to setup a single connection, subscribe to market data, and get market data for a specific instrument.
    But, when I t try to get data for another instrument, I get this error
    Click image for larger version

Name:	image.png
Views:	190
Size:	4.7 KB
ID:	1265782
    How can I handle this? I can't open multiple instances of my application as that also doesn't work. Is the no workaround?
    Seems odd I can only look at a single instrument.

    Thanks​

    #2
    Hello adiza0203 ,

    Thank you for writing in.

    There was a similar conversation here:
    • https://forum[dot]ninjatrader[dot]com/forum/ninjatrader-8/platform-technical-support-aa/1220436-unhandled-error-there-already-is-a-market-data-handler-subscribed


    It looks like unsubscribing to data and resubscribing to data rapidly would be causing this issue.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    28 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X