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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    116 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    43 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X