Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is the Workspace name available in Ninjascript?

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

    Is the Workspace name available in Ninjascript?

    Would like to be able to log events that occur, including the workspace containing the chart, say, that generated it. I have several workspaces... multiple charts on each... so it would be nice if I could log which workspace my event came from.

    Have tried looking at various objects in Visual Studio... nothing including "WorkspaceName" has resulted in success.

    Any pointers? Is it even possible?
    Thanks,
    T.

    #2
    Hello tgn55,

    Thank you for your note.

    I was able to find a way to print the Active workspace name, which can be gotten from NinjaTrader.Core.Globals.ActiveWorkspace - however, I'm not seeing that there's a supported way to get the names of inactive but open workspaces.

    However, I have added a vote for you to a current feature request to automatically log the workspace name that errors and events come from. This request is being tracked under the number SFT-927.

    As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X