Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Better Logging to help understand trade logic #1352

Copy link
Copy link
@gregoryteach

Description

@gregoryteach
Issue body actions

Enhancement description

Currently, it is impossible to know why a position was closed or opened without clear logs explaining the reasons.

Also, a trade id to identify all trades is needed.

Code sample

self.buy(log="The position was opened")

self.sell(log="The position was opened")

self.position.close(log="The position was closed because???")

trade.sl(price=???, log="Take stop loss was reached")

trade.tp(price=???, log="Take profit was reached")

Additional info, images

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.