Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using "Available Trading Funds" INSTEAD OF. "Cash balance" to determine risk - IB

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

    Using "Available Trading Funds" INSTEAD OF. "Cash balance" to determine risk - IB

    I'm having an Issue with my bot using the "available cash" instead of "available to trade funds " figure to determine risk. I have a margin account and I have to have so much cash on hand to have open margin positions. So the bot needs to use the other figure from available to trade funds. Does anybody know how to get ninja to get access to that figure from my IB account? (see figures for clarification)

    #2
    Hello coingiant,

    Thanks for your post.

    You can use Account.Get() method and pull various account items. I am not sure what would match up with "Current available funds" so it may be a matter of pulling multiple items and performing math to determine what that IB value is.

    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

    Comment

    Latest Posts

    Collapse

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