Get market data as a test for the connection to postgresql.