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

✨ Add profit field to Position model and Portfolio class #107

Merged

Conversation

mingi3314
Copy link
Owner

@mingi3314 mingi3314 commented Mar 31, 2024

TL;DR

The current pull request updates the Position model by introducing a new field profit and modifies unit tests to reflect this change.

What changed?

A new field profit has been introduced in the Position model found in 'pyrb/models/position.py'. Corresponding changes are also made in 'pyrb/repositories/brokerages/ebest/portfolio.py' and test files.

How to test?

Run unit tests to ensure all the changes work as expected.

Why make this change?

This additional field profit can provide more detailed insights about the individual positions held within the portfolio.


Copy link
Owner Author

mingi3314 commented Mar 31, 2024

Copy link
Owner Author

mingi3314 commented Mar 31, 2024

Merge activity

@mingi3314 mingi3314 merged commit 2370b72 into main Mar 31, 2024
2 checks passed
@mingi3314 mingi3314 deleted the 03-31-_add_profit_field_to_position_model_and_portfolio_class branch March 31, 2024 13:18
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.

1 participant