Skip to content

Extreme Unrealized Profit #8797

@AlexCatarino

Description

@AlexCatarino

Expected Behavior

We don't see equity curve jumps due to unrealized profit that aren't real (e.g.: huge bid/ask when the market is closed)

Actual Behavior

Image

Image

Potential Solution

When the market is closed or the bid/price/ask spread is "suspicious" in live mode, use the price instead of the bid or ask.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues

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