Saving Bar and Time and Sales Data Locally (Disk Cache)

If you often build the same bars, you can build them much faster by saving bar data in a local disk cache file. The same is true for time and sales data.

While you’re using CQG, this data is saved in memory. When you exit the system, the data stored in memory is moved to the disk cache. The system saves all historical time and sales quotes it receives.

Saved data:

      non-regular bars - TFlow, CVB, Tick, Point and Figure, and No Gap

      regular bars - intraday and historical for a single contract

      regular and non-regular bars for synthetic spread contracts

      regular and non-regular continuation bars

      regular and non-regular bars for inverted contracts

      regular bars for expired contracts

      regular bars for delayed contracts

      time and sales data

You decide how much data to save and where to save it.

Data is not included in the import or export of components and pacs.

Data is deleted if you uninstall the software or if you change versions.

This feature requires an enablement.

To set disk cache parameters

Disk cache parameters tell the system where to save the cache and how much space to dedicate to it.

1.  Click the Setup button.

2.  Click System Preferences.

3.  Click the Browse button to select a location for the disk cache, or use the default:

C:\Documents and Settings\All Users\Documents\CQGNet\temp\diskcache.

4.  Type a number for the maximum amount of space you want to allot to the disk cache.

This number is limited by the total available virtual memory. The default is either 10240 MB or 25% of available disk space, whichever is smaller. The minimum is 500 MB.

If the maximum size of the cache is exceeded, then 10% is deleted from the most unused data.

To clear the disk cache

You can clear the disk cache in two ways:

1.  Click the Setup button.

2.  Click System Preferences.

3.  On the Limits tab, click the Clear Cache button.

and

1.  Click the Support or System button.

2.  Point to Data, then Clear Data.

3.  Click Disk Cache.

 

When you clear the data, the system deletes all bar and time and sales data from both the memory and disk cache and refreshes any open windows.

Refresh and RefrWnd buttons remove data only in the memory cache. Only data in the memory cache is saved to the disk cache.