Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added number of winner trades #21

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Conversation

jmoreira-valory
Copy link
Collaborator

@jmoreira-valory jmoreira-valory commented Sep 14, 2023

Added number of winner trades per market state on trades.py summary script.
Added ROI to markets finalizing. Example:

--------------------------
Summary (per market state)
--------------------------

                        Open       Pending    Finalizing   Arbitrating        Closed         TOTAL
--------------------------------------------------------------------------------------------------
Num. trades                7            15            16             0           104           142
Winner trades              0             0             8             0            55            63
Invested            0.42 DAI      0.92 DAI      0.98 DAI      0.00 DAI      6.34 DAI      8.66 DAI
Fees                0.01 DAI      0.02 DAI      0.02 DAI      0.00 DAI      0.13 DAI      0.17 DAI
Earnings            0.00 DAI      0.00 DAI      0.96 DAI      0.00 DAI      6.25 DAI      7.21 DAI
Net earnings       -0.43 DAI     -0.94 DAI     -0.04 DAI      0.00 DAI     -0.21 DAI     -1.62 DAI
Redeemed            0.00 DAI      0.00 DAI      0.00 DAI      0.00 DAI      2.61 DAI      2.61 DAI
ROI              -102.00 %     -102.00 %       -4.17 %        0.00 %       -3.37 %      -18.72 %  

@DavidMinarsch DavidMinarsch merged commit 48c4a9e into main Sep 15, 2023
@DavidMinarsch DavidMinarsch deleted the feat/improve_statistics_2 branch September 15, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants