Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Assembly Information

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

    Assembly Information

    Hi,

    Is it possible to print any information about the assembly that is executing from within the strategy itself?

    I am working with someone on a strategy and I would like to print the assembly version from within OnStartUp to guarantee we are looking at the same version.

    Thanks in advance

    Scott

    #2
    Hi Scott, perhap I'm not following but if you're working on the same strategy / code - why don't you include a header in the CS with the needed versioning / changes info? This makes it also handy tracking changes being doing done by the involved parties.

    Comment


      #3
      Bertrand,

      Thanks for the reply; I am doing that but what I would like to do is have the information print to Output with something that gets what is actually being executed.

      I am working with some remote traders that are not programmers and who do not get the source. When they have issues, I would like to be able to see their Output to make sure we are absolutely working with the same version.

      The equivalent of this but returning the strategy assembly information, not NinjaTraders

      Print("Strategy Version - " + this.GetType().Assembly.GetName().Version.ToString ());

      Thanks
      Scott

      Comment


        #4
        I see Scott, thanks for the clarification - unfortunately I'm not aware of a way to access it programmatically. I believe you could just add code yourself to raise a log event with the version you designate in a variable for example.

        Comment


          #5
          Thank you, that will work. I appreciate your help.

          Scott

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          110 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          59 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          37 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          41 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          78 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X