• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error in order size

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

    Error in order size

    I'm using Ninja Trade Brokerage with Continuum.

    double myAccountSize = GetAccountValue(AccountItem.CashValue);
    double sharesToBuy = myAccountSize / Close[0];
    int quantityToBuy = (int)sharesToBuy;

    My account is $1000, and I'm using the above code. Ninja Trader says I'm trying to make an order of $2000. Am I not seeing something? Is there some weird broker rule I'm not aware of? Thanks.

    #2
    Hello CriticalMind,

    Thanks for your post.

    What instrument did you apply this to that produces those results?
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      RB 12-15 Future GLOBEX

      Comment


        #4
        Hello CriticalMind,

        Thanks for your reply.

        The instrument RB has an intraday margin requirement of $2000.00 usd. You would not be able to purchase 1 contract unless you had > $2000.00 usd in your account.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Where can I find a list of instruments and their minimum requirements?

          Comment


            #6
            Hello,

            Thanks for your reply.

            Please go to the Ninjatrader website (www[dot]NinjaTrader[dot]com) , scroll to the bottom of the home page, in the section "Trade Futures" left click on "Margin".
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Alright. So now, I am using 6N, which has a limit of 1000.

              I am getting the following error message:
              Ninja Trader Continuum, Insufficient margin
              Available margin: USD 1000
              Used margin USD 1000
              Total portfolio margin including this order: USD2000
              This order increases margin by USD 1000 affected Order Sell 1 Limit @ 0.7823

              It did place a short order of quantity 1 apparently, but besides that I have no other open positions so I shouldn't have any used margin.

              Sorry to be such trouble over something goofy like this.

              Comment


                #8
                Hello CriticalMind,

                Thanks for your post.

                Please contact the brokerage directly to discuss this as they can best provide clarity on trading at margin. They can be reached by phone directly or e-mail. The contact info can be found on the same website, at the bottom, in the section "Contact us". On the "Contact us" page, look for Brokerage Support and call them on the 1-800 number or e-mail them directly at the e-mail address listed there.
                Paul H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by rontronimous, Today, 05:55 PM
                0 responses
                8 views
                0 likes
                Last Post rontronimous  
                Started by bcgeek, Today, 03:43 PM
                2 responses
                6 views
                0 likes
                Last Post bcgeek
                by bcgeek
                 
                Started by Mberg, Today, 04:05 PM
                0 responses
                10 views
                0 likes
                Last Post Mberg
                by Mberg
                 
                Started by dkbyond, Today, 03:52 PM
                0 responses
                5 views
                0 likes
                Last Post dkbyond
                by dkbyond
                 
                Started by Newtrader101, Today, 03:09 PM
                2 responses
                7 views
                0 likes
                Last Post Newtrader101  
                Working...
                X