Fix comments and unittest for market.py and style

Trying to make the right commit to  the develop branch.
I did. [Quote](http://legacy.python.org/dev/peps/pep-0008/#id3):

Hanging indentation is a type-setting style where all the lines in a paragraph are indented except the first line. In the context of Python, the term is used to describe a style where *the opening parenthesis of a parenthesized statement is the **last** non-whitespace character of the line*, with subsequent lines being indented until the closing parenthesis.