hcc file size too big

 

I use OHLC data to import from Websocket and update it using CustomRatesUpdate


When I import data from 1 jan to 1 aug its file size is 19MB only

but after one day size of file 2021.hcc under <DataFolder> > bases > <symbolname> folder becomes in 1.5GB to 3 GB for each symbol

Its not tick, Its OHLC data so i am wondering why its taking up so much space

Websockets for MetaTrader 5
Websockets for MetaTrader 5
  • www.mql5.com
Before the introduction of the network functionality provided with the updated MQL5 API, MetaTrader programs have been limited in their ability to connect and interface with websocket based services. But of course this has all changed, in this article we will explore the implementation of a websocket library in pure MQL5. A brief description of the websocket protocol will be given along with a step by step guide on how to use the resulting library.
 

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the file.
     How To Ask Questions The Smart Way. (2004
          Be precise and informative about your problem

We can't see your broken code.