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.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Franck Z, Today, 09:49 AM
    0 responses
    6 views
    0 likes
    Last Post Franck Z  
    Started by pvtrader, Today, 08:02 AM
    2 responses
    7 views
    0 likes
    Last Post pvtrader  
    Started by Natoc, Today, 03:04 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by Rudy2323, Today, 02:56 AM
    2 responses
    28 views
    0 likes
    Last Post Rudy2323  
    Started by tonynt, Yesterday, 02:07 PM
    1 response
    38 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X