Skip to content

Leverage implementation #814

@anteqkois

Description

@anteqkois

I have tried to implement leverage implementaion, but any options from my ideas works.

So i have tried

  • replace returns
  • portoflio from hold
  • replace inner variables

But only what I have achieved were:

  • I was able to have correct equity when I have simply used new returns or scaled equity and passed to from_hold. But now I'm missing proper trades and orders and some stats
  • When i tried to use for example size 2.0 etc. they were cutted to 1.0 so I can not imitate for example leverage 10x

Is there any idea how to do this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions