• 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 martyn73, Today, 03:08 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by raffu, Today, 01:16 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by fx.practic, Today, 01:04 PM
    2 responses
    7 views
    0 likes
    Last Post fx.practic  
    Started by fx.practic, Today, 12:35 PM
    2 responses
    8 views
    0 likes
    Last Post fx.practic  
    Started by martyn73, Today, 12:03 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X