Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Holdings Value / Capping Margin

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

    Holdings Value / Capping Margin

    Hello,

    From reading the forums I understand that right now importing total account value is not supported at this time.

    However, my question is, is there ANY kind of value available for importing and using as part of a strategy?

    For example, I've defined my account value as $XX in my strategy. My brokerage allows me to trade on margin, which I do. However, I would like to set a maximum amount of margin to use, even though my broker may allow me to use more.

    Is there any way to, say, import the total value of current holdings? That way, if value of current holdings is, for example, > 1.5x my defined account value, the strategy will not trade anymore, until one or more holdings gets sold, thereby bringing total value of holdings < 1.5x my defined account value.

    Is there anything I can do with NT that would allow me to cap the amount of margin I'm using?

    Hope this makes sense!

    Regards,

    Edwin

    #2
    Edwin, unfortunately I'm not aware of another way - you would need to have access to live account stats, which will be possible with NinjaTrader 7 from NinjaScript (varies per provider of course) -

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    649 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    370 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    576 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X