Skip to content

Trading logic #39

@asat232

Description

@asat232

Help me please to understand trading logic.
I'm using type=SYMMETRIC
When "buy" order is filled and filled_price < last_price (where last_price is the current market price)
https://github.com/PyWaves/BlackBot/blob/master/BlackBot.py#L200
So, placing again "buy" order at same grid level, which just before was filled.

The same concern about filled "sell" order, placing again "sell" order at the same grid level which was already filled
https://github.com/PyWaves/BlackBot/blob/master/BlackBot.py#L205

Thanks a lot for your help.

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