chain-bot / prices

API-Scraper + API for crypto prices built in Go
MIT License
2 stars 2 forks source link

Migrate OHLC Data to Postgress #60

Closed zahin-mohammad closed 2 years ago

zahin-mohammad commented 2 years ago

For the purpose of this project, we don't actually need all the pricing data all the time. If the goal is to use the data for training a model, then we can store the data, train, and then flush the data on a set schedule. It should be enough to store the past 60 days worth of data, a big enough overlap of the last training time.

Pros:

zahin-mohammad commented 2 years ago

We'd lose the ability to backtest without historical data.