Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Portfolio Stops / Position Sizing

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

    Portfolio Stops / Position Sizing

    Assuming you have multiple automated strategies across multiple instruments, how would one implement the following in NT7:

    a) Sizing algorithm where you don't take a trade in an automated strategy based on your current portfolio position (max portfolio exposure has been met)?

    b) Portfolio Stop - reduce exposure across strategies after a certain portfolio loss has been exceeded?

    #2
    Hello,

    To access your account value, you can use the GetAccountValue() method. This will give you real-time account value data, so you will need to track the changes within each session in each script that you run.

    http://www.ninjatrader.com/support/h...countvalue.htm

    Alternatively, you can also check trade performance within your script, to limit your strategy to a certain level of loss. We have a reference sample available that will show this in action:

    http://www.ninjatrader.com/support/f...ead.php?t=4084
    Dave I.NinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    47 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    15 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X