Библиотеки: TicksShort - страница 7

 
amrali #:
All of these libraries provide general-purpose compression similar to zip compression (with variable performance).

For specific compression of time-series data (like MQL rates/ticks), delta-encoding (+/- VLQ encoding) achieves even higher compression ratios and speeds than those libraries above.

The author's library achieves 14000 MB/s for compression (and ratio = 10.0) in my tests.

Где-нибудь считался теоретический предел сжатия тиков?

Приращения тиков распределены примерно по экспоненте, средняя получается 2 пипса.

1 бит на +-1 пипс

2 бита на +-2,3 пипса

3 бита на +-4, 5, 6, 7 пипс

...

50%*1бит+25%*2бит+12%*2бит+6%*3бит+3%*3бит+...

3 бита на ask+bid?