Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add some elements from another workspace without complete restore

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

  • NinjaTrader_Jim
    replied
    Hello TazoTodua,

    There is not any documented way to achieve this.

    You may wish to use intellisense/intelliprompt to give some clues for using WorkspaceOptions which offers some methods that may help to achieve the goal, but as this item is not documented, we could not offer any support for its usage.

    We have a feature request to expand documentation on WorkspaceOptions and I will add a vote on your behalf, citing your feedback. The ticket ID is SFT-3346.

    Please let me know if we can be of further assistance.

    Leave a comment:


  • ttodua
    replied
    many thanks!
    yes, i was thinking about same. 1 question, is there any way to open another workspace (not partial elements from worskpace, but as NT does normally) BUT without closing the currently opened workspace?

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Hello TazoTodua,

    Thanks for your message.

    We do not have a documented/supported way to programmatically add specific elements to a workspace in NinjaScript. Since the workspace files are XML files, you may wish to work around this by saving a new workspace file with XML injected into it the file, and adjusting your workflow to use the workspace files that you are saving on your own.

    This would take a fair bit of understanding the XML layout for the workspace file, which we do not document, but observing how NinjaTrader creates these files would be a good way to observe how you may work with these files.

    Please let me know if there is anything else we can do to help.


    Leave a comment:


  • Add some elements from another workspace without complete restore

    on page:
    https://ninjatrader.com/support/help...t_overview.htm

    it's shown how to save/restore workspace.

    Is there any way, that when you have already open a workspace, and if i want to add only one window from another workspace, how can I do that programatically?

    because what i understand with the above example , is that you fully restore the other workspace (causing to close your current open workspace).

Latest Posts

Collapse

Topics Statistics Last Post
Started by Lando Calrissian, Today, 08:43 AM
1 response
4 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by daqu40, Today, 08:50 AM
0 responses
5 views
0 likes
Last Post daqu40
by daqu40
 
Started by aslane, Today, 07:30 AM
2 responses
13 views
0 likes
Last Post NinjaTrader_Jesse  
Started by SilverSurfer1, 09-25-2020, 12:01 PM
4 responses
22 views
0 likes
Last Post NinjaTrader_Dennis  
Started by Hyper, Yesterday, 09:02 PM
2 responses
12 views
0 likes
Last Post Hyper
by Hyper
 
Working...
X