Logo von Close Auction Participation Strategy

Close Auction Participation Strategy

Community
HimanshuJ16
close-auction-participation-strategy

Verwenden Sie diesen Skill, wenn Sie bei einer US-Schlussauktion anhand eines veröffentlichten Ungleichgewichts-Feeds Liquidität auf der Gegenseite bereitstellen oder ein Rebalancing zum offiziellen Schlusskurs mit Preisschutz ausführen. Für die Eröffnungsauktion gibt es den Skill opening-auction-imbalance-based-execution.

Add to TypingMind

Übersicht

HerausgeberHimanshuJ16
RepositoryAlgo-Trading-Skills
Skill-Nameclose-auction-participation-strategy
Sterne
50
Forks
7
Mitgelieferte Dateien
5
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 5

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von HimanshuJ16 auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Close Auction Participation Strategy in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/close-auction-participation-strategy
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HimanshuJ16/Algo-Trading-Skills.git /tmp/Algo-Trading-Skills
mkdir -p .claude/skills
cp -r /tmp/Algo-Trading-Skills/skills/close-auction-participation-strategy .claude/skills/close-auction-participation-strategy
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Close Auction Participation Strategy in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Close Auction Participation Strategy automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Close Auction Participation Strategy nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

When to Use

Use this skill when participating in a US equity closing auction (Nasdaq Closing Cross, NYSE Closing Auction) to provide contra-side liquidity against a published imbalance, or to execute a rebalance order at the official closing price with price protection. The strategy consumes closing-auction imbalance data (paired shares, imbalance shares, imbalance side, near/far indicative clearing prices) and derives a Limit-On-Close (LOC) order that is legal to enter at the intended submission time.

When NOT to Use

Do NOT use it for the opening cross (see opening-auction-imbalance-based-execution), for halt/IPO crosses or the Extended Trading Close (different order types and cutoffs — the strategy rejects those NOII cross types), or as a way to take liquidity in the same direction as an imbalance. It is also not a substitute for a venue order-entry gateway: it produces order parameters, it does not submit or cancel orders.

Prerequisites

  • A closing-auction imbalance feed: Nasdaq TotalView-ITCH NOII message (type I, Cross Type C) or the NYSE closing imbalance publication.
  • Timezone-aware timestamps. The module converts everything to America/New_York and rejects naive datetimes — a naive UTC timestamp compared against an ET cutoff is how orders get sent after the deadline.
  • System clock synchronized (PTP/NTP), because every gate in this skill is a wall-clock deadline (see clock-synchronization-ptp-for-trading-hosts).
  • Knowledge of which venue's rules apply — the listing venue's cutoffs, not your broker's, govern acceptance.

Workflow

  1. Feed ingestion: Parse the imbalance message into NoiiMessage. Discard anything whose cross_type is not C; an opening or halt-cross NOII carries different semantics.
  2. Imbalance analysis: Compute the ratio with imbalance_ratio(paired_shares, imbalance_shares) = imbalance / (paired + imbalance). It returns 0.0 on an empty book rather than dividing by zero. Screen with min_imbalance_shares / min_imbalance_ratio so noise imbalances do not trigger orders.
  3. Entry-window gate — this is venue-specific, not a single "3:55 cutoff":
    • Nasdaq: MOC entry ends at 15:55 ET, LOC entry at 15:58 ET. An LOC entered from 15:55 onward may be re-priced to the 15:50/15:55 Reference Price, and is rejected outright if no 15:55 Reference Price exists — the returned order flags this as late_entry_reprice_risk.
    • NYSE: unconditional MOC/LOC entry ends at 15:50 ET. From 15:50 to 16:00 only orders contra to a published MOC/LOC Significant Imbalance are accepted, so set significant_imbalance_published=True only when the venue has actually published one.
    • Both venues freeze cancel/modify of on-close orders at 15:50 ET. Check can_cancel_or_modify(now) before assuming an order can be pulled.
    • Gate on the submission time, not the feed timestamp: pass submission_time so feed lag plus safety_buffer_seconds cannot push the order past the cutoff. An observation older than max_message_age_seconds at submission is refused as stale.
  4. Pricing: Derive the limit from the chosen price_basis. The Far price is the clearing price of the auction-only book; the Near price includes the continuous book. A non-positive far/near price means the venue has not disseminated one — Nasdaq publishes no indicative clearing price for the closing cross before 15:55 ET — and the strategy refuses to price an order rather than submitting a $0.00 limit. price_concession_bps trades price improvement for fill probability, and limits are rounded away from the aggressive side at tick_size.
  5. Sizing: Quantity is the floor of the smallest of max_participation_pct × imbalance_shares, max_auction_volume_pct × (paired + imbalance), and the caller's target_qty.
  6. Post-cross reconciliation: Match execution reports after the 16:00 cross against the official closing price (NOCP / NYSE Official Closing Price) and attribute any unfilled LOC quantity as opportunity cost.

Full procedure: see references/workflows.md. Standards and rule citations: see references/standards.md. Printable pre-flight checklist: see assets/checklist.md.

Common Pitfalls

  • Assuming one cutoff time for all venues: there is no universal 3:55 PM deadline. Nasdaq MOC 15:55 / LOC 15:58, NYSE 15:50 (contra-side to a published imbalance until 16:00). Hard-coding one number either rejects legal orders or sends rejected ones.
  • Pricing off a far/near price that was never disseminated: Nasdaq sends no Near/Far Indicative Clearing Price for the closing cross before 15:55 ET. A naive parser reads the unsigned ITCH price field as 0 and submits a limit of $0.00. Treat any non-positive indicative price as absent.
  • Comparing naive timestamps to an ET cutoff: a UTC-stamped feed at 20:56Z is 15:56 ET, but compared raw it looks like it is well past every cutoff (or, in the other direction, safely before one). Always convert.
  • Checking the cutoff against the feed timestamp: the deadline applies to when the exchange receives the order. Budget for feed lag, strategy latency and broker hops with safety_buffer_seconds.
  • Acting on a stalled feed: closing-cross imbalance data updates every 1–10 seconds. If the last observation is minutes old the book has moved on, and sizing against it commits capital to an imbalance that may no longer exist — max_message_age_seconds blocks that.
  • Forgetting the 15:50 cancel/modify freeze: after 15:50 the contra-side order cannot be pulled on either venue. Size it as capital you are committed to trading at an unknown cross price.
  • Trading an imbalance that isn't one: ITCH imbalance direction O means "insufficient orders to calculate" and P means the security is paused; neither is a tradable side.
  • Adding to the imbalance: an unpriced MOC on the same side as a large institutional imbalance takes the worst of the cross print. This strategy is deliberately contra-side and always limit-priced.

Verification

  • Run python -m unittest discover -s skills/close-auction-participation-strategy/scripts.
  • Feed a Nasdaq NOII with a 100,000-share buy imbalance and 500,000 paired shares at 15:56 ET: expect a SELL LOC for 10,000 shares (10% of the imbalance) priced at the far indicative price, with imbalance_ratio ≈ 0.1667.
  • Feed the same message at 15:52 ET: expect no order and reason INDICATIVE_PRICE_UNAVAILABLE (Nasdaq has not published a far price yet). At 15:58 ET expect PAST_ENTRY_CUTOFF.
  • Feed it with venue=AuctionVenue.NYSE at 15:52 ET: expect ENTRY_FROZEN_NO_PUBLISHED_IMBALANCE unless significant_imbalance_published=True.

Related Skills

  • auction-only-order-types-for-illiquid-names
  • opening-auction-imbalance-based-execution
  • clock-synchronization-ptp-for-trading-hosts
  • minimum-fill-size-and-lot-rounding-logic

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Close Auction Participation Strategy?

Verwenden Sie diesen Skill, wenn Sie bei einer US-Schlussauktion anhand eines veröffentlichten Ungleichgewichts-Feeds Liquidität auf der Gegenseite bereitstellen oder ein Rebalancing zum offiziellen Schlusskurs mit Preisschutz ausführen. Für die Eröffnungsauktion gibt es den Skill opening-auction-imbalance-based-execution.

Warum Close Auction Participation Strategy in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Close Auction Participation Strategy besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Close Auction Participation Strategy in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/close-auction-participation-strategy ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Close Auction Participation Strategy nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Close Auction Participation Strategy verwenden?

So viele Sie möchten. In TypingMind können Sie Close Auction Participation Strategy mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Close Auction Participation Strategy kostenlos?

Ja. Der Skill wird von HimanshuJ16 auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇