Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting IB Account Balance

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

    Getting IB Account Balance

    I trade multiple items in multiple accounts at IB using NinjaScript strategies on charts.

    How can I get the available account equity so that I can dynamically and correctly size the positions. It's available from the DLL, but how is it read in NinjaScript?

    #2
    This post shows all of the information offered by IB when you are connected live:

    http://www.ninjatrader-support.com/vb/showthread.php?p=27729#post27729
    JessicaNinjaTrader Customer Service

    Comment


      #3
      Jessica,

      "It's available from the DLL, but how is it read in NinjaScript? "

      Comment


        #4
        We do not have this function available in NinjaScript. This will be in NT7.
        RayNinjaTrader Customer Service

        Comment


          #5
          NT7 is here now. How can i get the account balance, buying power etc. into Ninjascript? Thank you!

          Comment


            #6
            Hello Cago2,

            Thank you for your post.

            You can use the GetAccountValue() method in order to view your Buying Power, Cash Value or Realized PnL from your broker account.

            MatthewNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            115 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            161 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            83 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            127 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            87 views
            0 likes
            Last Post PaulMohn  
            Working...
            X