Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access to account info Through DLL functions

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

    Access to account info Through DLL functions

    Is there a way to access account info like in TS , I always check not to exceed my buying power and use a daily StopLoss for the whole account:

    RTGetNumPositions = GetNumPositions(AccountID);
    RTUnrealizedPL = GetRTUnrealizedPL (AccountID);
    RTRealizedPL = GetRTRealizedPL (AccountID);
    RTAccountNetWorth = GetRTAccountNetWorth(AccountID);
    RTOvernightBuyPower = GetRTOvernightBuyingPower(AccountID);
    RTDaytradingBuyPower = GetRTDaytradingBuyingPower(AccountID);
    RTPositionQuantity = GetPositionQuantity(vSymbolName, AccountID);


    Do you know of a way to gain access to this info through Ninja?
    Is there a way to access these properties of the account for Interactive Brokers? If not can you add this functionality in the future?

    These functions are highly important for me since they allow me to manage risk for the whole account and manage a large portfolio of different symbols.


    #2
    Hello ashaman,

    Welcome to the NinjaTrader forums!

    Access to some of these properties has been added for version 7.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    31 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    227 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    309 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X