• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting Position Size of another Strategy trading another Instrument

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

    Getting Position Size of another Strategy trading another Instrument

    Getting Position Size of another Strategy trading another Instrument.
    i.e.
    I'm running 3 strategies on 3 different instruments.

    StratA - EURUSD
    StratB - USDCHF
    StratC - JPYUSD

    i.e.
    Is there a way to code StratA to get StratC position size?

    Thank you!






    #2
    Hello johnnybegoode,

    Thanks for your post.

    You would need to add the account class to the strategy and through that you can check the other strategies position and position quantity.

    Please see the help guide here: https://ninjatrader.com/support/help...ount_class.htm

    A close example is shown on this page: https://ninjatrader.com/support/help...es_account.htm
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by barbic, Today, 03:01 AM
    0 responses
    4 views
    0 likes
    Last Post barbic
    by barbic
     
    Started by GARZONJ, Yesterday, 11:22 PM
    0 responses
    6 views
    0 likes
    Last Post GARZONJ
    by GARZONJ
     
    Started by GARZONJ, Yesterday, 09:41 PM
    0 responses
    4 views
    0 likes
    Last Post GARZONJ
    by GARZONJ
     
    Started by mike09, Yesterday, 07:37 PM
    0 responses
    14 views
    0 likes
    Last Post mike09
    by mike09
     
    Started by bebbus, Yesterday, 04:03 PM
    3 responses
    17 views
    0 likes
    Last Post bebbus
    by bebbus
     
    Working...
    X