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 vantojo, Today, 09:32 AM
    0 responses
    1 view
    0 likes
    Last Post vantojo
    by vantojo
     
    Started by FelipeRXP, Today, 08:40 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by petedian, Today, 08:44 AM
    0 responses
    12 views
    0 likes
    Last Post petedian  
    Started by J0shTrader, Yesterday, 12:29 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by bc24fl, Today, 08:07 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X