How to avoid saving on exit after batch exploration

Hi,
I have managed to run my exploration from an Excel VBA file with success, using the command line method:

broker.exe /runbatch "D:\Trading_nonbackup\2019.3\mybatch.abb" /exit

The batch file is (just in case relevant)

<?xml version="1.0" encoding="ISO-8859-1"?>
<AmiBroker-Batch CompactMode="0">
<Step>
<Action>LoadProject</Action>
<Param>D:\\Trading_nonbackup\\2019.3\\Analysis.apx</Param>
</Step>
<Step>
<Action>LoadDatabase</Action>
<Param>C:\\Program Files\\AmiBroker\\D_Shikiho\\2019.3\\broker.workspace</Param>
</Step>
<Step>
<Action>ImportASCII</Action>
<Param>D:\\Trading_nonbackup\\2019.3\\Ami_names.fun</Param>
</Step>
<Step>
<Action>Explore</Action>
<Param/>
</Step>
<Step>
<Action>Export</Action>
<Param>D:\\Trading_nonbackup\\2019.3\\Explore_results.csv</Param>
</Step>
</AmiBroker-Batch>

But when Amibroker exits it always re-saves all the stock data which takes time.
I would like to exit Amibroker after the batch file runs, without automatic re-saving of the data by Amibroker.
So I wonder if there is a / command line parameter I can add on to acheive this.

Any advice much appreciated.

It only saves data that HAVE CHANGED. If data are not changed, nothing gets saved.

You are using IMPORT so quite obviously you are changing data and the whole purpose of database is to keep data. Don't import if you don't want data to be saved.

Thanks for your quick reply.
I would like to not save the changes when I exit. I just change the group members in the batch operation solely for the purpose of the exploration.
Is it possible to discard changes and not save?

If you don't want data to be saved, don't modify them.

There are other ways to filter symbols than changing group members. You should try watchlists as watchlists are stored in separate files.

OK thanks. Using watchlists was easier than using groups.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.