Skip to content

🎯 Limit-Orders | On-Chain Limit Order Book Matching Logic #701

Description

@Sadeequ

Impact Severity: High

Module: stellarflow-contracts/orders/limit.rs

Description:

Enable users to place limit orders that sit in contract state until executed by fill keepers when target prices are hit.

Technical Requirements:

  • Store limit order structs keyed by (AssetPair, PriceTick, OrderID)

  • Allow partial order fills while maintaining remaining balance state

  • Allow maker to cancel pending limit orders and recover locked assets at any time

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