Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Set Entry Size Based on Current Account Size

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

    Set Entry Size Based on Current Account Size

    When backtesting a strategy, I would like to set a beginning account balance and have each trade enter with a variable number of shares/contracts equal to ~100% of the current account value, where the account value is (ideally) growing over time, so the number of shares/contracts is also often growing over time. I tried setting the "account value" to $10,000 and "Set order quantity" to "by account size" in the backtest options, but this does not invest up to 100% of the current account value each entry, but instead appears to invest up to $10,000 each time (the initial account value, not the current account value). Maybe these options should be renamed from "by account size" to "by initial account size" and from "account size" to "initial account size" for clarity?

    Is what I want only possible by custom programming inside each strategy? Some past threads actually seem to say this won't be supported until NT7.

    One semi-related note is that I find the forum search restriction on <4 letter words to be fairly limiting. I can't do a search for things like "set order quantity", "by account size", "ATR", etc. It also does not allow exact phrase searches, as far as I can tell.
    Last edited by Anagoge; 10-30-2008, 03:49 AM.

    #2
    Can I access the account's current cash value from the strategy so I can set the number of shares per entry to be X% of my account value? I can get the gross profit/loss of the past trades, but I don't see any account access methods yet. Is this available in NT 6.5?

    Comment


      #3
      Accessing brokerage account values is not supported in NT 6.5 or earlier. This will be supported in our next major release, NT7.
      RayNinjaTrader Customer Service

      Comment


        #4
        Account Position Sizing

        Hi - For the current version 6.5 I understand that Broker account size cannot be used as a reference. So is it possible to set a $ limit per position taken? In addition, is it possible to set an overall limit for $ exposure for all of my positions? (This could either be net positions (long/short) and gross exposure (longs exposure + shorts exposure). Thanks alot.

        Comment


          #5
          Welcome to our forums here MKTTHOTS - this is unfortunately not possible to limit through the GUI.
          BertrandNinjaTrader Customer Service

          Comment


            #6
            Wrong button

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by The_Sec, Today, 02:29 PM
            0 responses
            1 view
            0 likes
            Last Post The_Sec
            by The_Sec
             
            Started by tsantospinto, 04-12-2024, 07:04 PM
            4 responses
            62 views
            0 likes
            Last Post aligator  
            Started by michi08, 10-05-2018, 09:31 AM
            3 responses
            740 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by sightcareclickhere, Today, 01:55 PM
            0 responses
            1 view
            0 likes
            Last Post sightcareclickhere  
            Started by Mindset, 05-06-2023, 09:03 PM
            9 responses
            259 views
            0 likes
            Last Post ender_wiggum  
            Working...
            X