Docstrings
Remove distinction between open and closed positions in Portfolio
Renamed some functions