cinar/indicator

Wash sale protection in strategies

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
A wash sale is a transaction in which an investor sells or trades a security at a loss and purchases "a substantially similar one" 30 days before or 30 days after the sale. A new wrapper strategy is needed to provide wash sale protection on the top of other strategies when needed.

Describe the solution you'd like
New strategy that will wrap one or a composite strategy and provide wash sale protection, by keeping track of transactions.

Describe alternatives you've considered
N/A

Additional context
N/A