Skip to content

Update reports.py#279

Merged
ranaroussi merged 2 commits into
ranaroussi:mainfrom
kartiksubbarao:patch-1
Jul 18, 2025
Merged

Update reports.py#279
ranaroussi merged 2 commits into
ranaroussi:mainfrom
kartiksubbarao:patch-1

Conversation

@kartiksubbarao
Copy link
Copy Markdown
Contributor

Fix how the active variable is set, closes #278

Fix how the active variable is set.
@minhmanminhman
Copy link
Copy Markdown

Please accept this pull request. The default setting for active_returns makes monthly returns for the strategy misleading.

@grzesir
Copy link
Copy Markdown

grzesir commented Jan 31, 2024

Since this library no longer seems to be maintained, we have created a duplicate of it that we plan to maintain and improve over time. If you'd like to use our version check it out here: https://github.com/Lumiwealth/quantstats_lumi

Please feel free to fork and send your pull request to this new library, we will be actively monitoring the library and approving PRs

@ranaroussi ranaroussi closed this Jul 13, 2025
@kartiksubbarao
Copy link
Copy Markdown
Contributor Author

@ranaroussi Can you tell me why this was closed? The corresponding issue #278 is still present in the current code.

@ranaroussi ranaroussi reopened this Jul 14, 2025
@ranaroussi ranaroussi merged commit a9ded9e into ranaroussi:main Jul 18, 2025
2 of 53 checks passed
Comment thread quantstats/reports.py
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes it back to the string version "False" which is incorrect.

Copy link
Copy Markdown
Contributor Author

@kartiksubbarao kartiksubbarao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like one of the lines was inadvertently reverted back to the incorrect "False" version.

@kartiksubbarao kartiksubbarao deleted the patch-1 branch July 18, 2025 15:44
@kartiksubbarao
Copy link
Copy Markdown
Contributor Author

In addition to this, I found some other places in reports.py where an incorrect "False" string is used, I will open another issue for that.

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.

Monthly heatmap improperly defaults to Active returns

4 participants