| kmcintyre Elite ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 890 Joined: 10/11/2012 Location: Portland, OR User Profile | I have a DP that I created using a dedicated account. The account has a simulation start date that reflects the date I want the DP to rebalance strategies. The account also has other settings the ECA uses when generating strategy equity curves, and hence estimated candidate portfolio curves, and hence the strategy selections for each given interval. Realizing that automatic DP rebalancing isn't working (yet), I have been selecting the dedicated account (used to test and create (Save As..) the DP) on the dedicated accounts interval anniversary, drilling down to Portfolios, clicking the DP to go to PW, then running Analyze to generate the strategies for the next interval. I've even Save'd the DP over the exiting DP. Having developed my DP and manually rebalancing it, I wanted to trade it in a couple live accounts. So I selected the DP into two existing accounts. The problem is - 1) if I drill down through the Live trading account | Portfolios | But I have TWO Live trade accounts, with different settings and historical start dates, different starting equities, different settings, maybe even different broker commissions. I don't want PW to be recreating a unique run for each account the DP is selected into. What I want is for the DP to just serve up strategies to my Live accounts. I want the strategies to be determined based on the settings of the dedicated account I used when creating the DP. I want all settings used to generate (and maintain) the DP to reside with the DP. I want the DP to rebalance based on it's own anniversary, not the anniversary of the account the DP is selected into. But it's worse. When I look at the Trades for the two Live accounts that have the DP selected, the existing trades and historical trades show strategies that haven't been selected by either ECA runs! I.E. if I run ECA using the Live account, the Output page shows strategies in force that don't match the Live account's trade history. If I use the dedicated account (the one I first used to Save As... the DP) I get different strategies, but they don't match the Live account's trade history either. So I'm really at a loss. In order to make PW/ECA/DPs more understandable and predictable, I would suggest - 1) make DPs self-contained objects that maintain all their own anniversary (rebalance date) and trade settings. 2) disconnect simulation from strategy selection. The best performing combo of strategies last interval should be independent of anything that occurred prior to last interval. So start fresh each interval, based on the setting contained in the DP - not the Account. (Maybe that's the way it works now...) 3) when drilling down to PW via the Portfolios page, have PW always display Output based on the DPs settings (item 1). Never require the user to regen the DPs output because the Account in force is different from the one used when the DP was originally created. If a regen is required, use the DPs settings, not the active Account. The DP should maintain it's own persistent store of historic strategy combos. 4) trade the strategies selected by the DP. (Duh) Don't trade strategies not selected by the DP. (Duhhh) 5) Auto-rebalance DPs based on their anniversary (item 1). The trade date or simulation date range of the active Account should not effect the DPs rebalance date. 6) The active Account settings (including simulation date range) should be used when running simulations, but should not control DP strategy selection. I.E. the simulation logic should ask the DP "which strategies should I use on date X". The DP should figure that out, based on it's own settings (item 1), and return said strategies. The Account simulation should then use it's own settings to determine trade selection and sizing, commission costs, etc. for it's simulation run. At least that's the way I would design and implement it. (Object oriented. Low coupling.) Cheers Keith [Edited by kmcintyre on 9/6/2014 6:39 PM] | |