Skip to content

Add python implementation of LBPs #127

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

Merged
merged 4 commits into from
Jun 23, 2025
Merged

Conversation

brunoguerios
Copy link
Member

@brunoguerios brunoguerios commented Jun 20, 2025

Closes #128

@brunoguerios brunoguerios requested a review from johngrantuk June 20, 2025 13:07
@brunoguerios brunoguerios self-assigned this Jun 20, 2025


class PoolBase(ABC):
@abstractmethod
Copy link
Member

Choose a reason for hiding this comment

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

Can you explain why this is added in this PR?

Copy link
Member Author

@brunoguerios brunoguerios Jun 23, 2025

Choose a reason for hiding this comment

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

Sure! This fixes a lint issue I had missed when instantiating pool_class on _get_pool from vault. Adding the custom __init__ on the abstract class (i.e. interface) makes it clear that pool_base implementations require pool_state to be passed as input.

@brunoguerios brunoguerios merged commit 90a1ea6 into quant-amm-python Jun 23, 2025
2 checks passed
@brunoguerios brunoguerios deleted the lbp-python branch June 23, 2025 12:56
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.

2 participants