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 gm7_forum, Today, 05:51 PM
            0 responses
            2 views
            0 likes
            Last Post gm7_forum  
            Started by cre8able, Today, 03:20 PM
            1 response
            9 views
            0 likes
            Last Post cre8able  
            Started by fiddich, Today, 05:25 PM
            0 responses
            3 views
            0 likes
            Last Post fiddich
            by fiddich
             
            Started by gemify, 11-11-2022, 11:52 AM
            6 responses
            804 views
            2 likes
            Last Post ultls
            by ultls
             
            Started by ScottWalsh, Today, 04:52 PM
            0 responses
            4 views
            0 likes
            Last Post ScottWalsh  
            Working...
            X