Skip to content

Code Efficiency of Strategies #740

@meatballs

Description

@meatballs

It might be interesting to have a measure of how efficient a strategy is in terms of its code complexity.

e.g. If two strategies have similar scores but one does so in 12 lines of code whereas the other has 250 lines, the first could be considered more efficient.

It's perhaps best to use the inpsect module to look at the amount of byte code produced for a strategy, rather than its actual python code as I wouldn't want to encourage poor readability.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions