Submitted by cmichel
DateTime.getMarketIndex can be called with a maxMarketIndex < 10 but the inner DateTime.getTradedMarket(i) function will revert for any values i > 7.
Valid maxMarketIndex values above 7 will break and return with an error.
The upper bound on maxMarketIndex should be set to 7.
jeffywu (Notional) confirmed
