Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access IB commodities vs securities excess liquidity

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

    Access IB commodities vs securities excess liquidity

    Hello,

    I am using a single IB account to trade securities and futures. IB really has two sub-accounts behind the scenes to manage margin, one for securities and one for commodities (futures). Is there a supported or unsupported way to access these values? I can see the value I want reported regularly in the IB gateway log, with my $ available for trading futures called "ExcessLiquidity-C" and my $ available for trading securities called "AvailableFunds-S". I would LOVE to be able to access these within a strategy to correctly manage my margin, as I use available liquidity to dictate position sizes. Any help is greatly appreciated!

    Thanks

    #2
    Hello RobotSyndicate,

    Thanks for your post.

    There is some limitation to what you can pull from IB regarding account information.

    You can use Account.Get() method and pull various account items.

    Here is a link to Account.Get(): https://ninjatrader.com/support/helpGuides/nt8/?get.htm

    Here is a link to what AccountItems you can pull: https://ninjatrader.com/support/help...ccountitem.htm

    Here is a link to what information you can pull by provider: https://ninjatrader.com/support/help...TheAccountsTab

    Note: We are aware of a current limitation regarding the ability to pull "initial margin" from IB and this is being worked s a bug we expect to resolve by the next release of NinjaTrader8.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X