Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I get calculate excess margin required?

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

    How can I get calculate excess margin required?

    Hello there,

    I believe for MES the contract cost is $50. Which means if I buy or sell 1 contract, the excess margin is reduced by $50.

    I experimented and I could buy prettu much until the excess intraday margin is almost exhausted.

    When this happens, no more orders can be submitted untill the position is flattened/reduced.

    Is this the expected behaviour?

    Also how can I get an instument's cost, e.g. MES is $50?

    Many Thanks, Caesar.

    #2
    Hello, thanks for writing in. There are pre-defined Risk settings set up for the Sim101 account which will prevent a contract from being bought/sold but there is no NinjaScript access to this, unfortunately. When using a live account, the risk settings would be defined on your broker's end and therefore there would be no access to this via NinjaScript.

    Comment


      #3
      Many Thanks, I'll just have to add this as a parameter.

      Comment


        #4
        This may be of interest: https://forum.ninjatrader.com/forum/...tegy?p=1205105 ... but only for Sim accounts. For live accounts, we're out of luck.

        Thanks.
        Multi-Dimensional Managed Trading
        jeronymite
        NinjaTrader Ecosystem Vendor - Mizpah Software

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X