xchg-rax-rax / crypto_quote_service

A program for obtaining mass market data from from various crypto excahnges for the purpose back-testing and training ML models
0 stars 0 forks source link

Create the StorageManager class #7

Open xchg-rax-rax opened 1 year ago

xchg-rax-rax commented 1 year ago

Overview

The StorageManager class will take ExchangeTick instances passed down to it from a instance of QuoteService, transfer them to an internal buffer until that buffer exceeds a given size threshold at which point it will use compression algorithm (such as gzip) to compress the buffer and write it to disk.

Implementation

The big questions to answer are: