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 benmarkal, Yesterday, 12:52 PM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by helpwanted, Today, 03:06 AM
    1 response
    19 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    11 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    244 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    388 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X