fixes #46
fixes #46
Merge pull request #46 from douggie/issue-46

portfolio not set on orders