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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    19 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X