Backtesting saves a huge amount of data

#1
I noticed that in report explorer the old backtest is saved in a special folder, the problem is that if you do not remember to manually delete it resume permanently and the folder may reach sprawled dimensions, it's strange they did not think to this problem. So I happened that on a slow enough computer I could no longer open the same amibroker, so now every now I have to remember to clean the backtest history; Does anyone know if there is a function to do it automatically? thank you
 

manojborle

Well-Known Member
#2
You can use task scheduler to delete the history at a particular interval( say 1 month)
 

trash

Well-Known Member
#5
task scheduler is in system and not in amibroker
Wrong again. AmiBroker does have a scheduler.
https://www.amibroker.com/guide/h_batch.html

But instead of deleting folders that way just open report explorer within AmiBroker and mark the reports you don't need and click delete button.

Or if you don't need full reports after analysis at all then add line
Code:
SetOption( "GenerateReport", 0);
or for just showing a summary
Code:
SetOption( "GenerateReport", 2);
 
#6
thanks, trash, i will use "setOption" command,I just have to do that :( I tried using the command line but if I can not see anything is not useful, so the problem persists on old versions, for new versions you have to set a limit beyond which amibroker automatically erases the backtest file
 
Last edited:

trash

Well-Known Member
#7
I tried using the command line but if I can not see anything is not useful, so the problem persists on old versions
Nonsense. There is no problem with any version. There is just one problem of incompetence on your end.
Read loudly and clearly to yourself what is written here when you look for "Generate report" field:
https://www.amibroker.com/guide/afl/setoption.html
If you are able to read then in addition try to understand what has been written.

Now next thing is... if having multiple reports and there is no need for (some of) them anymore. What to do? As I said you mark them and delete them within AmiBroker itself! Nothing simpler than that. Two marking options: Left mouse button+CTRL key OR left mouse button+SHIFT key to mark reports. And "Delete" button in Report explorer tool bar is just big enough for two fit eyes.


Accessing Report explorer within AmiBroker analysis tool bar
rep3.png


LMB+CTRL and Delete
rep1.png


OR

LMB+SHIFT and Delete
rep2.png
 
#8
as usual your brass teak you, it's just yours, and as usual you did not understand a xxx , but if i do already what you wrote to me, i told you maybe amibroker could do it AUTOMATICALLY, head, you understand what does it means AUTOMATICALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Last edited:

trash

Well-Known Member
#9
Automatically doing what? So that you can complain afterwards.."Oh AmiBroker has deleted all my reports. All my invested time has been wasted. AmiBroker owes me."
In first post you didn't even know about how to delete reports. So how would you know and remember when auto delete would do its job. A crying out loud coming from the future can be heard from miles away already.

As aside such idiotic feature is possibly asked for by below 1 per mille of entire userbase.
 
#10
you are stubborn , do not you know that 99.99% of people do not even know how to delete old backtests, for the love of the sky: set a limit otherwise the amibroker folder reaches disproportionate dimensions