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

rebase
This may be better reformatted using a defaultdict.