'generated source for method getFields'

@classmethod
def getFields(cls):

    totalFields = 2
    fields = ([None] * totalFields)
    i = 0
    while (i < totalFields):
        fields[i] = MarketDataType.getField((i + 1))
        i += 1
    return fields
