Skip to content

Add weekly/monthly rebalancing option #4

@ayushkrtiwari

Description

@ayushkrtiwari

Check out this issue under .github/ISSUE_TEMPLATE/good-first-issue-2

Summary

Teach VectorizedBacktest to rebalance weekly or monthly via a rebalance_freq parameter.

Tasks

  • Update _should_rebalance to respect W and M frequencies.
  • Add tests in tests/test_backtest.py.
  • Document in README.

Definition of Done

  • Tests pass; daily default unchanged.

Metadata

Metadata

Assignees

Labels

Type:Mediumjunior developers talksenhancementNew feature or requestfeaturenew feature added

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions