Skip to content

DX-076: Write /concepts/order-types #588

Description

@IbrahimIjai

Context

The interface offers market, limit, and trigger orders. Each carries a different
execution guarantee, and the difference between "this will fill" and "this may
fill" is exactly what a reader needs to understand before relying on a stop.

Scope

  • Each order type: what it does, when it executes, and what is not guaranteed.
  • Trigger orders specifically: take-profit and stop-loss, how trigger price
    relates to execution price, and the conditions under which a stop does not
    protect a position.
  • Order lifecycle: created, pending, executed, cancelled, expired — matching the
    states the interface and indexer actually use.
  • Slippage and how the slippage setting interacts with each type.
  • How each maps to contract calls, linking to the reference pages.

Acceptance criteria

  • Order states match the indexer and apps/web implementations, with file
    paths named.
  • The "what is not guaranteed" content is explicit for every type.
  • The trigger-order section describes the real gap risk without hedging.
  • Cross-linked to the trading guide and liquidation page.

Out of scope

  • The trade-panel walkthrough (DX-077 is oracles; the guide is DX-077+).

Spec: docs/dx_1/003_content_map.md §3 · Depends on: DX-075

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardStellar WaveIssues in the Stellar wave programThird CampaignCampaign: Third CampaigndocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions