Skip to content

Wrong number is used as trading days in a year #77

@arh

Description

@arh

Recent commit introduced a bug that mess up with annualized metrics. We should not neglect the period in these methods and blindly calculate the number of trading seconds in the year assuming there is 365 trading days in a year. Most financial markets have 252 trading days in a year which was captured currently in v0.3.3 but v1.0.1 broke it.

Credit goes to our fearless leader in his original discovery: #30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions