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

Remove _utils._prepare_returns option in monthly_returns_detailedview #52

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

twkim112
Copy link
Contributor

@twkim112 twkim112 commented Jul 23, 2024

  • The _utils._prepare_returns caculation was already defined in the corresponding core function
  • Removing it from monthly_returns_detailedview to avoid duplication and potential conflicts

Description by Korbit AI

Note

This feature is in early access. You can enable or disable it in the Korbit Console.

What change is being made?

Remove the _utils._prepare_returns option in the monthly_returns_detailedview function.

Why are these changes being made?

The _prepare_returns option was redundant and its functionality is now handled elsewhere in the codebase, simplifying the function signature and reducing unnecessary complexity. This change ensures that the monthly_returns_detailedview function is more streamlined and easier to maintain.

…ew. It is already calculated in corresponding core function.
…ew. It is already calculated in corresponding core function.

- Align code format
Copy link

korbit-ai bot commented Jul 23, 2024

My review is in progress 📖 - I will have feedback for you in a few minutes!

Copy link

korbit-ai bot commented Jul 23, 2024

I have reviewed your code and did not find any issues!


Please note that I can make mistakes, and you should still encourage your team to review your code as well.

@grzesir grzesir merged commit 097f85f into Lumiwealth:main Jul 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants