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 tsantospinto, 04-12-2024, 07:04 PM
    7 responses
    126 views
    0 likes
    Last Post aligator  
    Started by futtrader, 04-21-2024, 01:50 AM
    5 responses
    56 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by PeakTry, Today, 10:49 AM
    0 responses
    2 views
    0 likes
    Last Post PeakTry
    by PeakTry
     
    Started by llanqui, Today, 10:32 AM
    0 responses
    5 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by StockTrader88, 03-06-2021, 08:58 AM
    45 responses
    3,994 views
    3 likes
    Last Post johntraderuser2  
    Working...
    X