Allowed h5py to write the file every 25 stocks