The PR returned the total margin realized in trades summary and add a new line titled Average per trade that averaged the total trades. This was as result of users request to include the total margin realized in all trades.
Fixes # (issue)
Type of change
Please make your selection.
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change requires a new dependency
Code Maintainability / comments
Code Refactoring / future-proofing
How Has This Been Tested?
The test was done by viewing the result of trade summary at different time range and all shows the total margin incurred and the average per trade.
Checklist:
My code follows the style guidelines of this project
I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
My changes generate no new warnings
[ ] I have added pytest unit tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
I have checked my code and corrected any misspellings
Description
The PR returned the total margin realized in trades summary and add a new line titled Average per trade that averaged the total trades. This was as result of users request to include the total margin realized in all trades.
Fixes # (issue)
Type of change
Please make your selection.
How Has This Been Tested?
The test was done by viewing the result of trade summary at different time range and all shows the total margin incurred and the average per trade.
Checklist: