[FEATURE] Fix logging-not-lazy  to market.p...

rebase
"""Select contracts for market from database"""