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.
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        Comment


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

          Scott

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by rbeckmann05, Yesterday, 06:48 PM
          1 response
          12 views
          0 likes
          Last Post bltdavid  
          Started by llanqui, Today, 03:53 AM
          0 responses
          6 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          10 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          15 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Yesterday, 08:42 PM
          0 responses
          11 views
          0 likes
          Last Post carnitron  
          Working...
          X