The purpose of the internal database is to manage and ensure the consistency of tick data downloaded from Dukascopy servers. It should automatically identify and download any missing data while efficiently reusing existing data already stored on disk to avoid redundant downloads.
The internal database should also monitor the integrity and completeness of the tick data, verifying that all required data is present and correctly aligned in time. This ensures that any gaps, corruption, or anomalies in the data are detected and handled appropriately.