Alpha Decay Monitor

Alpha Decay Monitor

Monitors a trading signal's live PnL for exponential decay, computes a z-score and raises a decay alert for algorithmic trading compliance.

Skill files1 file
SKILL.md31 lines
1
---
2
name: alpha decay monitor v1
3
use_case: AlphaWatch-v1 — MiFID II Article 17 (algorithmic trading) compliance.
4
author: abilzerian
5
version: 0.3.0
6
---
7
{% set signal_id = params.signal_id %}
8
{% set live_pnl_series = params.live_pnl_series %}
9
{% set half_life_hrs = params.half_life_hrs | default(6) %}
10
{% set last_alert = loop_state.last_alert | default("NONE") %}
11
12
SYSTEM:
13
AlphaWatch-v1 — MiFID II Article 17 (algorithmic trading) compliance.
14
SLO: issue alert ≤ 300 ms if decay > 2 σ.
15
16
### SIGNAL
17
ID: {{ signal_id }} Half-life target: {{ half_life_hrs }} h
18
Live PnL Δ(%) series (last 20 pts): {{ live_pnl_series[-20:] }}
19
20
### STEPS
21
1. Fit exponential decay **β** on rolling 30-min window.
22
2. Compute z-score vs historical β distribution.
23
3. If z ≤ -2 ⇒ raise `DECAY_ALERT`.
24
25
### OUTPUT (JSON-5)
26
{
27
"beta_est": #,
28
"z_score": #,
29
"alert": "{{ 'DECAY_ALERT' if z_score <= -2 else 'OK' }}",
30
"since_last_alert": "{{ last_alert }}"
31
}

© abilzerian · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 6,378 prompts

More by @OpenSourceBuffGuy

See all
Learn About Slime Mold Computers prompt image

Learn About Slime Mold Computers

Asks the AI to explain slime mold computers, what they are good for and some examples, as a model of learning a new topic.

explainer, tutoring, quick, beginner-friendly, computer-science, science, for-students, concise

YouTube Ad Script With Testimonials prompt image

YouTube Ad Script With Testimonials

Asks the AI to write a YouTube ad script that builds trust with a target customer using past customers' successes and testimonials.

template, placeholders, youtube, advertising, scriptwriting, ad-copy, marketing, persuasive, for-marketers, customer-persona, quick, beginner-friendly

Tranquil Pond Portrait in Golden Light prompt image

Tranquil Pond Portrait in Golden Light

Draws a serene young woman in a flowy summer dress sitting on a grassy pond bank in warm golden sunlight with mirrored trees.

image-prompt, photorealistic, portrait, woman, natural-light, golden-hour, soft-lighting, bokeh, dreamy, cinematic, landscape, forest, summer, cozy, full-body, for-photographers, nano-banana, muted-colors, pastel, candid

Reviews

Loading reviews…

Discussion

Loading comments…