Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overwriting codes in compiled assemblies

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

    Overwriting codes in compiled assemblies

    Hi, I'm facing following issue:

    I put Strategy1 into a compiled assembly CA1 and imported it on another computer, I used the strategy with no problems.
    I had then to send over other strategies so I put these into a compiled assembly with a different name CA2 and into that I also put Strategy1 again but with some changes in its inputs, I then imported CA2 on the second computer.
    My concern is that if I put Strategy1 on a chart I get the setup I originally exported as if it had not been overwritten by the new version in the new assembly. How should I have it done properly?
    Also can I simply delete the DLL of CA1 on the second computer to get the right version working or am I risking to transform it into a bomb?
    Thanks.
    Smodato

    #2
    Hi Smodato, I would suggest removing the standalone CA1 assembly and using both strategies from your updated assembly CA2. An overwriting / updating as with source files would not be possible via the compiled assembly version, here you would need to be mindful what you export and how it's grouped together.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi Smodato, I would suggest removing the standalone CA1 assembly and using both strategies from your updated assembly CA2. An overwriting / updating as with source files would not be possible via the compiled assembly version, here you would need to be mindful what you export and how it's grouped together.
      Thanks Bertrand,
      by "removing" you mean canceling the DLL file in the folder?

      Comment


        #4
        Either this, or use the supplied function under the File Menu > Utilities > Remove NinjaScript assembly.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,606 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        8 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        4 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        13 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X