Skip to content

Feat/performance fee automation#12

Merged
ahmedhamedaly merged 12 commits intomasterfrom
feat/performance-fee-automation
Apr 28, 2026
Merged

Feat/performance fee automation#12
ahmedhamedaly merged 12 commits intomasterfrom
feat/performance-fee-automation

Conversation

@ahmedhamedaly
Copy link
Copy Markdown
Collaborator

Performance fee to Moonward

Examples (starting baseline $20,000, hurdle ~1.25%/quarter):
  - End of quarter = $19,500 → lost money → fee = $0. New baseline = $20,000 × 1.0125 = $20,250.
  - End of quarter = $20,200 → up 1%, under the hurdle → fee = $0. New baseline = $20,250.
  - End of quarter = $22,000 → profit of $2,000 → fee = $600 (30% × $2,000) sent to your wallet. New baseline = $21,400.
  - End of quarter = $25,000 → profit of $5,000 → fee = $1,500 sent. New baseline = $23,500.

@ahmedhamedaly ahmedhamedaly requested a review from matevz April 25, 2026 10:30
Copy link
Copy Markdown
Member

@matevz matevz left a comment

Choose a reason for hiding this comment

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

A few smaller suggestions, otherwise looks good.

Comment thread rofl.yaml
Comment thread scripts/performance_fee_dry_run.py Outdated
Comment thread src/wt3/__main__.py Outdated
Comment thread src/wt3/core/performance_fee/hwm_state.py Outdated
Comment thread src/wt3/core/performance_fee/hwm_state.py Outdated
Comment thread src/wt3/core/performance_fee/hwm_state.py
Comment thread src/wt3/core/performance_fee/nav_source.py
Comment thread src/wt3/core/performance_fee/transfer.py Outdated
Comment thread src/wt3/core/performance_fee/scheduler.py Outdated
Comment thread src/wt3/core/performance_fee/config.py
@ahmedhamedaly ahmedhamedaly merged commit 24024c0 into master Apr 28, 2026
@ahmedhamedaly ahmedhamedaly deleted the feat/performance-fee-automation branch April 28, 2026 11:03
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