Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception: Exception has been thrown by the target of an invocation

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

    Unhandled Exception: Exception has been thrown by the target of an invocation

    I ran a strategy overnight. It was run on 4 instruments and was running fine. In the middle of the night when executions came back, it started throwing exceptions. These seem to be OnExectionUpdate() related. I have nothing in that handler myself.

    I have uploaded my trace file that shows the exception. Let me know if you need my NTBroker file as well. I thought there might be sensitive information in that file so I didn't attach it publicly.
    Attached Files

    #2
    Seems like this is happening on every Market Entry/Exit on the strategies. I am using the Managed EnterLong/Short() functions...

    Comment


      #3
      Hello NJA_MC,

      Thank you for your patience.

      Can you send us the strategy you are running that generates the exceptions? If so, please send to platformsupport[at]ninjatrader[dot]com with this thread in the subject line "http://www.ninjatrader.com/support/forum/showthread.php?t=74465".

      Comment


        #4
        Beta2

        This issue is still present under BETA2.

        Comment


          #5
          Hello NJA_MC,

          Thank you for your response.

          Can you send us the strategy you are running that generates the exceptions? If so, please send to platformsupport[at]ninjatrader[dot]com with this thread in the subject line "http://www.ninjatrader.com/support/forum/showthread.php?t=74465".

          Comment


            #6
            Originally posted by NinjaTrader_PatrickH View Post
            Hello NJA_MC,

            Thank you for your response.

            Can you send us the strategy you are running that generates the exceptions? If so, please send to platformsupport[at]ninjatrader[dot]com with this thread in the subject line "http://www.ninjatrader.com/support/forum/showthread.php?t=74465".
            It is the same one I sent yesterday, but I did change a few things in the strategy and haven't seen the exception....

            I disabled the IsEnabled=true; (this seems to be an evil think under NT8 Beta right now). Also added a StartBehavior = StartBehavior.ImmediatelySubmit;

            I also commented out the "sub Callbacks for Data/Depth/Orders". Not sure exactly which one solve the problem, but suspect it might be the Callback or the Evil IsEnabled....

            I can email you this functional version of the same strategy.

            Comment


              #7
              Hello NJA_MC,

              Thank you for sending over those files.

              I will test on my end again and update you when I have more information.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by rocketman7, Today, 01:00 AM
              0 responses
              1 view
              0 likes
              Last Post rocketman7  
              Started by wzgy0920, 04-20-2024, 06:09 PM
              2 responses
              27 views
              0 likes
              Last Post wzgy0920  
              Started by wzgy0920, 02-22-2024, 01:11 AM
              5 responses
              32 views
              0 likes
              Last Post wzgy0920  
              Started by wzgy0920, 04-23-2024, 09:53 PM
              2 responses
              74 views
              0 likes
              Last Post wzgy0920  
              Started by Kensonprib, 04-28-2021, 10:11 AM
              5 responses
              193 views
              0 likes
              Last Post Hasadafa  
              Working...
              X