Skip to content

Teach order types and execution timing with one controlled strategy #110

Closed

Description

@stefan-jansen

Affected library: backtest
Current version: 0.1.8
Location: tutorials, docs/user-guide/orders.md, docs/user-guide/execution-semantics.md

Problem

The existing pages describe order and timing settings separately, without a controlled example showing how each changes fills.

Required outcome

Use one strategy and fixed inputs to teach next-bar versus permitted same-bar execution, open versus close fill prices, and market, limit, and stop orders. Show the fill records and explain causal limits.

Acceptance criteria

  • Executed configurations produce the displayed, distinct fill times and prices, including an order that remains unfilled.
  • No example uses future market information for an earlier decision.
  • The tutorial links to relevant book material and the existing task guides.
  • Installed-wheel example checks and the strict MkDocs build pass.

Depends on the tutorial inputs and the first-backtest tutorial.

Activity

  1. added a commit that references this issue on Sep 24, 2026
    742cf2a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions