Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Account margin parameters not updating

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

    Account margin parameters not updating

    I'm posting this under Strategy Development since that is the angle I'm approaching it from, but feel free to move it if another location makes more sense.

    My question is about the account parameters that can be viewed under the Accounts tab. The obvious things like Cash Value work fine for me. However, when I am in a trade things such as Intraday Margin do not update and remain at $0 on my live account. These columns work as expected when trading against a simulated account. I would like my strategy to reference these and be able to determine if sufficient margin is available at any point in time. Any idea why these values are not available?

    Thanks!

    #2
    Hello aworldnervelink,

    The Account information can be retrieved with Account.Get(AccountItem.IntradayMargin).

    Below are links to the help guide.


    Whether this account information is available (including on the Accounts tab of the Control Center) depends on the connection type you are connecting to.

    Below is a link to the help guide on the Accounts tab. Please see the chart 'Account Values Supported by Provider'. (The connections are subject to change by the brokerage)
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    41 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by port119, Today, 02:43 PM
    0 responses
    8 views
    0 likes
    Last Post port119
    by port119
     
    Started by Philippe56140, Today, 02:35 PM
    0 responses
    7 views
    0 likes
    Last Post Philippe56140  
    Started by 00nevest, Today, 02:27 PM
    0 responses
    7 views
    0 likes
    Last Post 00nevest  
    Working...
    X