Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception when load an assembly

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

    Unhandled exception when load an assembly

    Hello, im trying to incorporate to an existing strategy mqtt protocol, ive added and when I compile it, it seems to be ok, but when I enable the strategy a black screen popup saying that cant find assembly.
    Iv looked for it and seems to be there in the ..\Documents\NinjaTrader 8\bin\Custom\packages\M2Mqtt.4.3.0.0 directory.
    Can anybody telll me the problem?
    Thanks
    Last edited by espacioint; 11-26-2023, 03:50 PM.

    #2
    Hello espacioint,

    Was this imported using the proper steps in Tools -> Import -> NinjaScript Addon?

    If so, this might indicate an issue with the export. Is this a script you have created or one that you have obtained from a 3rd party?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      NinjaTrader_ChelseaB Customer appears to be referring to a NuGet package https://www.nuget.org/packages/M2Mqtt/.
      Bruce DeVault
      QuantKey Trading Vendor Services
      NinjaTrader Ecosystem Vendor - QuantKey

      Comment


        #4
        Hello Bruce,

        Thanks for that info, that helps.

        espacioint,

        If this is an assembly from NuGet, this must target .NET 4.8.

        Place the file in Documents\NinjaTrader 8\bin\Custom (and not in a subfolder), then add a reference from the NinjaScript Editor.

        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thanks for your help.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          50 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          127 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X