• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 MNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by vivekniwas, Today, 04:56 PM
    0 responses
    6 views
    0 likes
    Last Post vivekniwas  
    Started by dtl-saw, Today, 03:36 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by williamzz, Today, 02:04 PM
    2 responses
    11 views
    0 likes
    Last Post williamzz  
    Started by jtrading82, Today, 01:55 PM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_Tyler  
    Started by StevenNelson, Today, 01:00 PM
    4 responses
    19 views
    0 likes
    Last Post StevenNelson  
    Working...
    X