Improving returns calculation.
Improving returns calculation.
Improved testcases.
Improved returns analyser.
Merge branch 'position-resize'