MAINT: Move market minute function into trading environment.

So that the market minutes are more accessible to other modules.