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 Philippe56140, Today, 02:35 PM
          0 responses
          1 view
          0 likes
          Last Post Philippe56140  
          Started by 00nevest, Today, 02:27 PM
          0 responses
          1 view
          0 likes
          Last Post 00nevest  
          Started by Jonafare, 12-06-2012, 03:48 PM
          5 responses
          3,986 views
          0 likes
          Last Post rene69851  
          Started by Fitspressorest, Today, 01:38 PM
          0 responses
          2 views
          0 likes
          Last Post Fitspressorest  
          Started by Jonker, Today, 01:19 PM
          0 responses
          2 views
          0 likes
          Last Post Jonker
          by Jonker
           
          Working...
          X