We need to solve the problem of storing the DEB data efficiently into the MongoDB databse so that the following use cases are covered -
- For a given ticker. fetch the data from all the indicators
- For a given indicator, fetch all the data from each ticker.
Let's say we have m tickers, call them {ticker_1, ticker_2, ..., ticker_m} and n indicators, call them {indicator_1, indicator_2, ..., indicator_n}