Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

exception while binding dynamic operation

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

    exception while binding dynamic operation

    I'm trying to debug this error in the assembly version of my strategy:
    Error on calling 'OnStateChange' method: An unexpected exception occurred while binding a dynamic operation

    Any specific gotchas that can cause this? No errors when using the source code version of my strategy but when I try to activate the imported assembly version, I get that error. I tried adding debug prints in various places and nothing else logs except for that. Nothing inside OnStateChange is run at all.
    ​

    #2
    Hello iantriestrading,

    As this relates to your other post I will continue to assist in the other post for this message. There is not a specific reason that would be presented so we still need to figure out which part of your code is being called when you get the error. Using prints or the comment out method is going to be the best approach here.

    Comment


      #3
      Hey Jesse,

      Can you delete this new thread then? I'll keep it in there, sorry

      Comment

      Latest Posts

      Collapse

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