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 david720, 10-01-2022, 08:24 PM
              2 responses
              65 views
              0 likes
              Last Post david720  
              Started by Jonny_DM, 10-02-2022, 03:37 PM
              9 responses
              201 views
              3 likes
              Last Post NinjaTrader_Jason  
              Started by AndyM, Yesterday, 11:51 AM
              6 responses
              91 views
              0 likes
              Last Post AndyM
              by AndyM
               
              Started by isataris, 06-23-2022, 04:29 AM
              20 responses
              226 views
              4 likes
              Last Post FatCanary  
              Started by Alesiosc, Today, 02:57 AM
              1 response
              26 views
              0 likes
              Last Post NinjaTrader_Jason  
              Working...
              X