skfolio/skfolio-cost-periodicity
| Pack | Severity | Fix | Versions |
|---|---|---|---|
| skfolio | info | none, edit by hand | skfolio 1.14.4+ |
skfolio management fees use the period of each return observation. Transaction costs apply to differences from previous holdings.
Portfolio(returns, weights, transaction_costs=0.01)Portfolio(returns, weights, previous_weights=starting_weights, transaction_costs=0.01)What the rule reports
Section titled “What the rule reports”An initial purchase can intentionally start with zero holdings. Supply previous weights for a rebalance and express transaction costs per traded amount. Convert annual management fees to the return period before passing them.
Diagnostic message
Section titled “Diagnostic message”skfolio applies management fees on each return observation. Confirm that management_fees uses the same period as the data.See all rules in the skfolio pack.