Hi,
I installed the 8.7 beta1, and i am experienced a problem with the Extended Backtesting.
I have a chart whith two datas series (ticks for ask series data and ticks for bid series data).
Multicharts returns an error "Extended backtesting mode is not supported when using more than one data series..."... I dont't undersdand because we need at last two datas series for extended backtesting.
Everything worked perfectly with version 8.5.
Is it a bug or should we make special adjustment?
Thanks.
2 datas series and extended backtesting [SOLVED]
-
- Posts: 5
- Joined: 22 May 2013
- Been thanked: 1 time
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: 2 datas series and extended backtesting issue [SOLVED]
Hello philippe33,
Since MultiCharts 8.7 Beta 1 Extended Backtesting is automatically turned off when more than one data series is being referenced in the code. Backtesting mode is automatically switched to classic backtesting with an appropriate warning message.
Please do not reference additional data series from your code in order to use Extended Backtesting.
Since MultiCharts 8.7 Beta 1 Extended Backtesting is automatically turned off when more than one data series is being referenced in the code. Backtesting mode is automatically switched to classic backtesting with an appropriate warning message.
Please do not reference additional data series from your code in order to use Extended Backtesting.
Re: 2 datas series and extended backtesting issue
I just saw this because I was trying to use extended backtesting and have followup questions. If extended backtesting is made more precise by using bid data and ask data, 1) how can it not support two data series? 2) can extended backtesting ever be used? 3) what is the purpose of it if it can specifically NOT be used for the purpose for which it is intended?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: 2 datas series and extended backtesting issue
Hello whammer,I just saw this because I was trying to use extended backtesting and have followup questions. If extended backtesting is made more precise by using bid data and ask data, 1) how can it not support two data series? 2) can extended backtesting ever be used? 3) what is the purpose of it if it can specifically NOT be used for the purpose for which it is intended?
Probably you are mixing up using extended backtesting and referencing multiple data series from the code. Extended Backtesting does not allow referencing more than one data series in the code.
Still Extended backtesting works as it was originally designed to work. I would recommend you to have a look at Understanding Precise Backtesting article that says:
MultiCharts will use these two data series to determine realistic fill prices. The bar's close will have a bid and an ask price associated with it. MultiCharts will use the ask price to fill a market buy order and the bid price to fill a market sell order.
That is not required to have Extended Backtesting turned on in order to reference multiple data series in the code.
-
- Posts: 5
- Joined: 22 May 2013
- Been thanked: 1 time
Re: 2 datas series and extended backtesting issue
Hi Henry,
I don't understand your explanations.
When a strategy works whith 2 data series in ticks (bid and ask), and when this strategy need this two values for calculations(mid tick, variance of an array of bid/ask values, distribution calculation, and so on)... Now you can't backtesting in extended mode; like it was possible whith the 8.5 release !
It's a big regression for me, and clearly a big issue whitch forbids me to upgrade my lifetime licence.
It's a little bit "bizarre"... A strategy can't base his calculations on bid / ask ticks datas series for calculactions, but the backtesting himself can do. And if you want your stategy works whith bid / ask ticks datas series for calculactions, you can't backtesting it in extended mode, and so, whe loose all the precision.
It is an issue which must be added at least in correction to be taken into account for the next versions.
I don't understand your explanations.
When a strategy works whith 2 data series in ticks (bid and ask), and when this strategy need this two values for calculations(mid tick, variance of an array of bid/ask values, distribution calculation, and so on)... Now you can't backtesting in extended mode; like it was possible whith the 8.5 release !
It's a big regression for me, and clearly a big issue whitch forbids me to upgrade my lifetime licence.
It's a little bit "bizarre"... A strategy can't base his calculations on bid / ask ticks datas series for calculactions, but the backtesting himself can do. And if you want your stategy works whith bid / ask ticks datas series for calculactions, you can't backtesting it in extended mode, and so, whe loose all the precision.
It is an issue which must be added at least in correction to be taken into account for the next versions.
-
- Posts: 1
- Joined: 01 Oct 2013
Re: 2 datas series and extended backtesting issue
Awesome information.. Even my problem was solved and light bulb went on.. Very useful thread indeed..Light bulb went on! Thanks Henry.
Re: 2 datas series and extended backtesting issue
What I believe Henry is saying is that you cannot use more than one data series - in the code - however you can still add other data series to the chart which can then be referenced in your strategy>properties>backtesting when you use extended backtesting. I completely agree that precision backtesting absolutely needs to be valid across any number of data series (with any resolutions) that are referenced --in the code.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: 2 datas series and extended backtesting issue
philippe33, whammer,
Implementation of the precise backtesting + referencing multiple data series from the code is not a trivial task and it requires significant changes in current implementation of MultiCharts components.
We will consider adding this functionality in the future. However there is no ETA yet. We will keep you updated.
Implementation of the precise backtesting + referencing multiple data series from the code is not a trivial task and it requires significant changes in current implementation of MultiCharts components.
We will consider adding this functionality in the future. However there is no ETA yet. We will keep you updated.
-
- Posts: 5
- Joined: 22 May 2013
- Been thanked: 1 time
Re: 2 datas series and extended backtesting issue
Henry,
What I do not understand is that the 8.5 version can do this.
It is better to have an imperfect but possible precise backtest (whitch is perfectly usable in v8.5) that no longer able to process whith two data series in ticks, bid and ask, in the code.
This is a major malfunction for all those working in ticks data, and who need to analyze and take into account the spread or place précise orders "in" the spread.
I repeat. What I do not understand is that all these things were possible until then 8.5 version , and they are gone now.
It is so necessary to process two data streams of the code, that I do not understand it does not make a big scandal whith the users.
We must renounce the function that is able to works with two data feeds, or renounce then fonction that is able to perform precise bactest.
These are two major functions that make all interest and strength of Multicharts.
What I do not understand is that the 8.5 version can do this.
It is better to have an imperfect but possible precise backtest (whitch is perfectly usable in v8.5) that no longer able to process whith two data series in ticks, bid and ask, in the code.
This is a major malfunction for all those working in ticks data, and who need to analyze and take into account the spread or place précise orders "in" the spread.
I repeat. What I do not understand is that all these things were possible until then 8.5 version , and they are gone now.
It is so necessary to process two data streams of the code, that I do not understand it does not make a big scandal whith the users.
We must renounce the function that is able to works with two data feeds, or renounce then fonction that is able to perform precise bactest.
These are two major functions that make all interest and strength of Multicharts.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: 2 datas series and extended backtesting issue
philippe33,
In the next version of MultiCharts we will improve this behavior. That will be possible to reference multiple data series from the code when extended backtesting mode is used.
Unfortunately extended backtesting mode + referencing multiple data series from the code cannot be done when the bar magnifier is used due to the asynchronous calculation upon multiple data series. This is something we are looking into improving in the future.
In the next version of MultiCharts we will improve this behavior. That will be possible to reference multiple data series from the code when extended backtesting mode is used.
Unfortunately extended backtesting mode + referencing multiple data series from the code cannot be done when the bar magnifier is used due to the asynchronous calculation upon multiple data series. This is something we are looking into improving in the future.
-
- Posts: 5
- Joined: 22 May 2013
- Been thanked: 1 time
Re: 2 datas series and extended backtesting issue
Henri,
This is great news. Really !
There was an impermissible limitation no longer able to process two data feeds, ask and bid, in ticks in the code and, in the same time, backtest strategies.
So thank you very much for taking into account my claims.
Personally, I work with ticks datas feeds and I do not use the barmagnifier. This and less important and urgent for me.
I am looking forward to enjoying the new version that fixes the bug.
Thank you again for your efforts and your work, and I renew my satisfaction Multicharts continually evolve toward greater perfection.
Philippe
This is great news. Really !
There was an impermissible limitation no longer able to process two data feeds, ask and bid, in ticks in the code and, in the same time, backtest strategies.
So thank you very much for taking into account my claims.
Personally, I work with ticks datas feeds and I do not use the barmagnifier. This and less important and urgent for me.
I am looking forward to enjoying the new version that fixes the bug.
Thank you again for your efforts and your work, and I renew my satisfaction Multicharts continually evolve toward greater perfection.
Philippe
Re: 2 datas series and extended backtesting issue
Henry,
I've finally upgraded to 8.7 myself, found myself presented with this problem, and thus arrived at this thread. As Phillipe put it, "it's a big regression for me" also. When you say "the next version of MultiCharts" is that 8.8 or 9.0, and when do you expect the promised fix to be delivered?
Assuming the only reason for having more than one data series is to gain access to both bid and ask prices in the code (in which case it seems highly likely you'd also want them both available in a backtest!) what's the workaround? Rewrite your strategy to use ticks/bars that provide sufficient resolution for hopefully "precise backtesting" in your own particular circumstances and thus eliminate the need to use the bar magnifier?
A quick test suggests even that won't work. With the bar magnifier turned off I still get the error message "Extended backtesting mode is not supported when using more than one data series."
I've finally upgraded to 8.7 myself, found myself presented with this problem, and thus arrived at this thread. As Phillipe put it, "it's a big regression for me" also. When you say "the next version of MultiCharts" is that 8.8 or 9.0, and when do you expect the promised fix to be delivered?
Assuming the only reason for having more than one data series is to gain access to both bid and ask prices in the code (in which case it seems highly likely you'd also want them both available in a backtest!) what's the workaround? Rewrite your strategy to use ticks/bars that provide sufficient resolution for hopefully "precise backtesting" in your own particular circumstances and thus eliminate the need to use the bar magnifier?
A quick test suggests even that won't work. With the bar magnifier turned off I still get the error message "Extended backtesting mode is not supported when using more than one data series."
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: 2 datas series and extended backtesting issue
Jim, it will be MultiCharts 8.8 Release. This version is expected in November this year. There is no ETA for this version yet, but we are doing our best to deliver it to our users as soon as possible.When you say "the next version of MultiCharts" is that 8.8 or 9.0, and when do you expect the promised fix to be delivered?
That is exactly what will be changed in 8.8 Release. That will be possible to reference multiple data series from the code when extended backtesting mode is used (but with the bar magnifier turned off).A quick test suggests even that won't work. With the bar magnifier turned off I still get the error message "Extended backtesting mode is not supported when using more than one data series."
Re: 2 datas series and extended backtesting issue
I just tried 8.8 beta 2, which still has the same behavior. 8.8 sounds a lot better than 9.0 though!Jim, it will be MultiCharts 8.8 Release. This version is expected in November this year. There is no ETA for this version yet, but we are doing our best to deliver it to our users as soon as possible.
So even when that change makes it into 8.8 Release it will still be necessary to rewrite trading strategies that currently rely on the bar magnifier to achieve "precise backtesting"? Not an ideal situation from my perspective! Any chance that functionality will be restored in 9.0?That is exactly what will be changed in 8.8 Release. That will be possible to reference multiple data series from the code when extended backtesting mode is used (but with the bar magnifier turned off).
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: 2 datas series and extended backtesting issue
As I have already said before - this is something we are looking into improving in the future. Unfortunately there is no ETA for this improvement yet. Once it is targeted to any particular version - this thread will be updated.So even when that change makes it into 8.8 Release it will still be necessary to rewrite trading strategies that currently rely on the bar magnifier to achieve "precise backtesting"? Not an ideal situation from my perspective! Any chance that functionality will be restored in 9.0?
-
- Posts: 5
- Joined: 22 May 2013
- Been thanked: 1 time
Re: 2 datas series and extended backtesting
Hello the Team,
I just installed version 8.8.
Thank you for taking into account our comments.
The extended backtest works great now with two data feeds in the code.
Real improvement for those who work with two ticks data feeds, bid and ask, for précision autotrading.
Philippe
I just installed version 8.8.
Thank you for taking into account our comments.
The extended backtest works great now with two data feeds in the code.
Real improvement for those who work with two ticks data feeds, bid and ask, for précision autotrading.
Philippe