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 geddyisodin, Today, 05:20 AM
    5 responses
    32 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by bmartz, Today, 09:30 AM
    2 responses
    12 views
    0 likes
    Last Post bltdavid  
    Started by f.saeidi, Today, 11:02 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by geotrades1, Today, 10:02 AM
    4 responses
    12 views
    0 likes
    Last Post geotrades1  
    Started by rajendrasubedi2023, Today, 09:50 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X