We are getting stock market data from an commercial API, currently using AWS Lambda scheduled to run every minute to store and we store the recent data in MongoDB.
Th