Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Please extend Log() with category

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

    Please extend Log() with category

    Hello!

    NT7 is offering the possibility to write directly to the Log Tab of the main window using the Log() function. The Log tab shows 3 columns: Date, Category and Message, but the Log() function is not able to set the category.
    Please add another overload: Log(string message, LogLevel loglevel, Category category)

    Why?
    I prefer writing my own Log tab entry when I start an automated strategy, or when it gets disabled (by the code or manually).

    The original Log tab message reads like this:
    "Disabling NinjaScript strategy 'MyStratName/4df375e47ae0443e9784088c134d5e74'"
    I prefer writing e.g.:
    "Disabling strategy MyStrategyName v1.0.0 (YYYY-MM-DD) on InstrumentID, account AccountID"
    This should be marked as Category = Strategy, too.

    Thanks,
    Nathamus

    #2
    Hi Nathamus,

    Thanks for posting this suggestion to improve NinjaTrader. I will submit to our product development team so that it can be considered for a future version. This is assigned ID # 1669.
    Last edited by NinjaTrader_RyanM1; 04-02-2012, 10:13 AM.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Kaledus, Today, 01:29 PM
    0 responses
    3 views
    0 likes
    Last Post Kaledus
    by Kaledus
     
    Started by PaulMohn, Today, 12:36 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by yertle, Yesterday, 08:38 AM
    8 responses
    37 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by rdtdale, Today, 01:02 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by alifarahani, Today, 09:40 AM
    3 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X