Skip to content

Rename MatchEngine::add_order to MatchEngine::execute #15

@SuperFluffy

Description

@SuperFluffy

Summary

Rename MatchEngine::add_order to MatchEngine::execute for better API clarity.

Rationale

  • The method doesn't just "add" orders - it executes them (fills, placements, rejections)
  • Matches the underlying Book::execute naming
  • "Execute" is standard terminology in trading systems

Implementation

Simple method rename in src/engine.rs and update tests. Breaking change but minimal impact.

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