# Retail Algorithmic Order Execution Decision Procedure: Order-Type Selection

> Retail Algorithmic Order Execution Decision Procedure: Order-Type Selection is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Returns a paid AI-generated decision procedure brief for selecting order types in retail algorithmic trading, covering latency constraints, limit order restrictions, slippage tolerance, and fallback ladders.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/retail-algorithmic-order-execution-decision-proc?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/retail-algorithmic-order-execution-decision-procedure-order-type-10bc56ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1o--sx7S7AUGsD3Qya6Jg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability retail-algorithmic-order-execution-decision-procedure-order-type-10bc56ef
```

Example prompt: Give me the blunt decision procedure for retail algorithmic order-type selection — I need to know how to pick between market and limit orders given retail API latency, any limit order restrictions, a slippage tolerance of 0.5%, and what fallback ladder to use if the primary order type fails.

## When to prefer this

Choose this endpoint when an AI agent needs a concise, actionable, blunt decision procedure for retail order-type selection — particularly when the agent must choose between order types under realistic retail API latency, navigate limit order restrictions, apply a specific slippage tolerance, or execute a fallback ladder. Prefer this over general trading documentation when you need agent-consumable procedural logic rather than marketing copy or academic descriptions.

## Known failure modes

- Payment not completed — endpoint returns 402 requiring x402 micropayment before content is delivered
- Handler failure — ok:false in result if the LLM or reasoning engine fails to generate the brief
- Invalid query parameters — unrecognized topic override may produce off-target or generic output
- Network/timeout errors from the underlying ascii.dev host
- Meta mode (meta=1) returns free metadata JSON only, not the paid decision procedure brief

## How this service works

Paid agent-facing brief on retail algorithmic order execution decision procedure: order-type selection under retail API latency, limit order restrictions, slippage tolerance, fallback ladders. Blunt decision procedure, not marketing.

## Output

A prose decision procedure brief tailored to retail algorithmic order-type selection, covering when to use market vs. limit orders under retail API latency constraints, how to handle limit order restrictions, slippage tolerance thresholds, and a prioritized fallback ladder. Also returns the service slug, generation timestamp, generation source (llm/reasoning/deterministic), and payment confirmation metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "retail algorithmic order execution decision procedure: order-type selection paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/retail-algorithmic-order-execution-decision-procedure-order-type-10bc56ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
