Logo di Algo Parameter Defaults By Instrument Liquidity Tier

Algo Parameter Defaults By Instrument Liquidity Tier

Community
HimanshuJ16
algo-parameter-defaults-by-instrument-liquidity-tier

Usalo per inizializzare l'esecuzione VWAP, TWAP o implementation shortfall con vincoli iniziali specifici per strumento, classificando un dato convalidato sul volume medio giornaliero in una fascia di liquidità e restituendo un profilo versionato.

Add to TypingMind

Panoramica

Pubblicato daHimanshuJ16
RepositoryAlgo-Trading-Skills
Nome della skillalgo-parameter-defaults-by-instrument-liquidity-tier
Stelle
50
Fork
7
File inclusi
5
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 5

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da HimanshuJ16 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Algo Parameter Defaults By Instrument Liquidity Tier in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/algo-parameter-defaults-by-instrument-liquidity-tier
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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/algo-parameter-defaults-by-instrument-liquidity-tier .claude/skills/algo-parameter-defaults-by-instrument-liquidity-tier
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Algo Parameter Defaults By Instrument Liquidity Tier in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Algo Parameter Defaults By Instrument Liquidity Tier non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Algo Parameter Defaults By Instrument Liquidity Tier non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

When to Use

Use this skill when initializing VWAP, TWAP, or Implementation Shortfall execution with instrument-specific starting constraints. The manager classifies a validated Average Daily Volume (ADV) observation into HIGH, MEDIUM, or LOW and returns an immutable, versioned ExecutionProfile.

The profiles are defaults and caps for a downstream execution system. They are not a live liquidity model, best-execution decision, venue permission, or substitute for pre-trade risk controls.

When NOT to Use

  • Do not classify an instrument from stale, mixed-unit, split-affected, or unverified ADV data.
  • Do not use ADV alone to authorize spread crossing, market orders, participation, or urgency; current spread, depth, volatility, order size, venue state, and risk limits are required.
  • Do not use static tiers for intraday liquidity migration, news events, auctions, halts, or flash volatility without a separate market-state overlay.
  • Do not treat the illustrative 5%/10%/20% defaults as regulatory, venue, or universal institutional limits.
  • Do not conflate these internal tiers with a regulatory liquidity classification such as ESMA's annual liquid/illiquid determination, which governs transparency obligations and not execution parameters — see references/standards.md.
  • Do not bypass independent market-access, price-band, credit, position, notional, or kill-switch controls.

Prerequisites

  • A documented ADV definition: instrument, units, session calendar, corporate-action treatment, lookback, and as-of timestamp.
  • A configured high/medium threshold pair with high > medium and a maximum permitted ADV age.
  • Current market-state data for spread, depth, volatility, venue status, and order-size impact checks.
  • An EMS that can enforce participation, price, notional, credit, position, and cancellation controls independently.
  • A versioned calibration process using TCA, walk-forward evaluation, and rollback approvals.
  • Python 3.10+.

Workflow

  1. Define calibration: Set validated ADV thresholds, max_adv_age_days, profile values, and a calibration version. Store the unit and factor source outside the manager.
  2. Decide whether freshness is mandatory: adv_age_days is optional, and omitting it skips the staleness check entirely rather than failing. If the strategy cannot tolerate an unverified age, construct the manager with require_adv_age=True so a missing timestamp raises instead of classifying silently.
  3. Validate ADV: Pass a finite, non-negative ADV value and, when available, its observation age. Reject stale or malformed values; do not silently classify them as LOW. A zero ADV logs a warning and is a data-quality stop, not a genuine LOW instrument — the manager cannot distinguish "never trades" from "the feed broke".
  4. Classify the tier: Call classify_tier(adv, adv_age_days=...) or get_profile(...). Threshold boundaries are deterministic: high is inclusive, medium is inclusive below high.
  5. Retrieve the profile: Use the immutable ExecutionProfile as a starting constraint. Record its tier, algorithm, participation cap, buffer, and calibration version. Read the calibrated set through manager.profiles, a read-only mapping proxy.
  6. Read the participation cap in the right direction: The shipped ceiling widens as liquidity falls (5%/10%/20%). That is a fill-feasibility allowance for orders large relative to a thin name's volume, not a discount — impact scales with sigma * sqrt(Q/ADV), so the LOW row is the most impact-sensitive, not the most forgiving. Approach it only when completion risk demands it.
  7. Apply live gates: Before each child order, independently check current spread/depth, volatility, order size versus displayed/expected liquidity, venue status, price bands, credit, position, and parent-order limits.
  8. Handle spread crossing: cross_spread_allowed is only a profile capability. requires_live_market_check remains true; the EMS must make the actual crossing decision from current protected quotes and risk policy.
  9. Supply the urgency policy the LOW profile omits: The LOW default is IS with cross_spread_allowed=False. An IS schedule front-loads to cut timing risk, which a never-cross posture cannot do, so define outside this module who may escalate to crossing, on what residual, and at what point in the horizon. Without that policy the order rests passively and accrues timing risk while every metric here still reads healthy.
  10. Monitor and tune: Track implementation shortfall, spread capture, fill rate, participation, rejects, signaling indicators, and residual risk by tier. Retune only through versioned walk-forward/TCA review.
  11. Rollback: If TCA, data freshness, or risk metrics breach limits, restore the last approved calibration and pause affected profiles until reconciled.

Common Pitfalls

  • ADV unit mismatch: Comparing shares/day, currency/day, contracts/day, or split-unadjusted volume against the same threshold. ESMA's average daily turnover is a currency-per-day figure and is not interchangeable with a shares/day threshold.
  • Stale ADV: Applying a 30-day observation during a material corporate action, regime shift, or recent listing without an age/data-quality gate. Note that passing no adv_age_days at all disables the gate silently — require_adv_age=True is what closes that hole.
  • Reading the widening participation cap as permission: Assuming a 20% ceiling in the LOW tier means thin names tolerate more participation. Under the square-root impact law the same fraction of ADV costs more there, because those names carry higher volatility.
  • An IS profile that can never cross: Treating the LOW tier as a complete IS algorithm. It is a passive starting posture; the urgency escalation that makes IS an IS algorithm has to come from the integration.
  • False spread permission: Treating high ADV as proof that crossing the spread is cheap or safe.
  • Participation overreach: Applying a percentage cap without checking parent notional, remaining quantity, displayed depth, and market impact.
  • Mutable calibration: Returning profiles that callers can modify and silently diverge from the reviewed calibration. Profiles are frozen, the calibrated mapping is a read-only proxy, and the caller's source mapping is copied — but a profile built directly must still be validated, which is why ExecutionProfile enforces its own invariants at construction.
  • Confusing a tier with a regulatory liquidity status: An instrument ESMA classifies as having a liquid market may be LOW here, and the reverse. The tier is not evidence of a transparency obligation, and a transparency classification is not an execution parameter.
  • Treating a zero ADV as a tier: Zero volume classifies as LOW and yields a profile whose participation cap is 20% of nothing. It is a broken or suspended instrument, not a tradable one.
  • Static tiering during shocks: Keeping a normal profile during volatility, halts, auctions, or liquidity withdrawal.

Verification

Run the focused tests:

text
python -m unittest discover -s skills/algo-parameter-defaults-by-instrument-liquidity-tier/scripts

The tests cover tier boundaries on both sides of each threshold, invalid ADV and configuration, ADV freshness (including the inclusive age boundary and the require_adv_age gate), the zero-ADV warning, construction-time profile invariants, calibration versioning, immutability of both the profile and the calibrated mapping, and live-market gating metadata. Production sign-off additionally requires historical TCA, walk-forward calibration, stress scenarios, and EMS enforcement tests.

Related Skills

  • implementation-shortfall-minimization
  • participation-of-volume-pov-execution
  • liquidity-adjusted-position-sizing
  • transaction-cost-analysis-tca-integration
  • execution-algo-twap-vwap-slicing

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Algo Parameter Defaults By Instrument Liquidity Tier?

Usalo per inizializzare l'esecuzione VWAP, TWAP o implementation shortfall con vincoli iniziali specifici per strumento, classificando un dato convalidato sul volume medio giornaliero in una fascia di liquidità e restituendo un profilo versionato.

Perché usare Algo Parameter Defaults By Instrument Liquidity Tier su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Algo Parameter Defaults By Instrument Liquidity Tier è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Algo Parameter Defaults By Instrument Liquidity Tier in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/algo-parameter-defaults-by-instrument-liquidity-tier. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Algo Parameter Defaults By Instrument Liquidity Tier?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Algo Parameter Defaults By Instrument Liquidity Tier?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Algo Parameter Defaults By Instrument Liquidity Tier: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Algo Parameter Defaults By Instrument Liquidity Tier è gratuita?

Sì. È pubblicata su GitHub da HimanshuJ16 con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇