Skip to content

floatingMaker order cancelation behavior #66

@ricardojmendez

Description

@ricardojmendez

On the floatingMaker bot, it looks like the open orders for a given market are canceled only if one has been fully filled.

if (
(openOrders.length > 0 && openOrders.length != 2) ||
marketIndex === 0
) {

This makes sense if the idea is to avoid placing new orders if the market hasn't fully hit one of our ranges. However, it always cancels the orders for SOL-PERP.

What's the rationale?

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