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 GussJ, 03-04-2020, 03:11 PM
        11 responses
        3,227 views
        0 likes
        Last Post xiinteractive  
        Started by andrewtrades, Today, 04:57 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        7 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        440 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        12 views
        0 likes
        Last Post FAQtrader  
        Working...
        X