Skip to content

is the lossprice wrong? #307

Open
Open
@315960451

Description

@315960451

In the app file trading.py:

lossprice = stopprice - (stopprice * self.stop_loss / 100)

I think it should be

lossprice = stop_order['price'] - (stop_order['price'] * self.stop_loss / 100)

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