Calculating results of Multiple Strategies
8 replies
daveM
10 years ago #114639
I have a strategy which uses ‘risk’ to get the lot size…… and of course the balance is continually changing.
I have the strategy on several currency pairs.
Would there be a way to measure the performance as the trades on the different pairs proceed…… as the balance of equity is increasing?
Thanks
daveM
0
Tomas Matejka
10 years ago #134935
So you mean you would like to consider also OPEN Profit/loss of your current position into risk calculation for next trade?
0
daveM
10 years ago #134940
Well.. lets say EURUSD entry makes a small profit so balance increases……. and then GBPUSD makes an entry using the increased balance….. and etc.
So the balance is increasing as each day passes…..
I can not figure out how to capture the total return using Analyzer. I just wondered if someone knew a way to accumulate the entries based on the revised balances.
Analyzer list of portfolio trades is great….. except when the red entries appear. LOL
I have thought on how to accumulate the account balance and so far only way is to let the strategies trade in a demo to see how the balance increases..
0
nico1969
10 years ago #135300
I have posted a similar question in the “extension” forum and got no answer as well. I’m happy to see that I’m not the only one to see this limitation of analyzer. A portfolio analysis is just completely wrong when you mix several strategies whith money management proportional to the account balance. There is no way to emulate such money management wihen portfolio is created.
Imagine you have 1 strategy that looses 50% from 10.000 to 5000 and another one that wins 50% from 10.000 to 15.000. The way it is when you create a portfolio you endup with 10.000. But in reality when you loose 50% and then you win 50% you endup with 7.500 (10.000 -> 5.000 -> 7.500). See how wrong porrtfolio analysis is.
I hope this is solved quickly in the next release. It’s not much of an issue either. When you build the portoflio, you just have to adapt the lot size/swap/commissions/P&L with coeff: portfolio balance/strategy balance.
It does not look like a complex fix, but that would be a tremendous improvement to the application.
0
Mark Fric
10 years ago #135319
I already replied to a similar question here:
unfortunately, I don’t think you can simulate running account balance accurately with portfolio.
But are you importing backtests to QA or demo account trade history? Because in the second case it already has the behavior you want.
If you are importing backtest that run on one symbol and you want to have accurate portfolio combined of multiple such strategies, it is not possible to do it without running a real backtest.
Mark
StrategyQuant architect
0
mikeyc
10 years ago #135358
I guess there is starting to be a blur between an analyzer of what happened and a backtester of what will happen if…
Of course a backtester can’t operate on a list of historical trades, it needs prices and a strategy, so really some of these features are going to require SQ4 to answer.
0
daveM
10 years ago #135368
You are quite right, I was hoping for more than I could expect.
0
nico1969
10 years ago #135814
This is not rue. To calculate a running balance, you don’t need the currency rates. A balance is only modified when a trade is closed. That information exists in the report. The rates would be required if the money mangement used current equity or free margin.
So to merge strategies in a portfolio that uses a running balance to adapt the trade lots and P&L is absolutely possible. To approach the problem, you need to decompose the trades into trade events. The only events we need are trade entry and trade close.
Once you have the trade events, you have a timeline you cna use to keep track of current running balance (and not equity) modified only when a trade is closed.
This should be easy to modify to make the application a little bit more usefull.
0
Mark Fric
10 years ago #135845
as I replied in another thread, it is possible to recompute trade sizes, but not when you are combining strategies into portfolio.
Use Money Management feature for that.
Mark
StrategyQuant architect
0
Viewing 8 replies - 1 through 8 (of 8 total)