Policy · critical
Restrict execution to market hours
MiFID II Article 48 — Trading venue requirements: algorithmic trading must operate within defined parameters. This policy restricts agent execution to European market hours (08:00-18:00 CET).
The policy
A few lines of YAML in your repository.
Part of Financial services: DORA and MiFID II. Assign the pack, or copy this policy into a manifest of your own.
- Verdict
- Critical: the step is blocked before it runs, and an incident is opened.
- Checked
- Before every step, against everything the agent did earlier in the task.
- Rule
- working_hours_only
- name: "Restrict execution to market hours" description: | MiFID II Article 48 — Trading venue requirements: algorithmic trading must operate within defined parameters. This policy restricts agent execution to European market hours (08:00-18:00 CET). Adjust start_hour, end_hour, and timezone for your market. rule_type: working_hours_only params: start_hour: 8 end_hour: 18 timezone: "Europe/Amsterdam" severity: critical enforcement_point: step_executionNot legal advice. This policy is Kyvvu's interpretation of DORA and MiFID II. It isn't reviewed or endorsed by a regulator, and using it doesn't on its own make you compliant: it gives you technical controls, and a record that they ran, to support your compliance work.
Why it matters
Adjust start_hour, end_hour, and timezone for your market.
How the rule works
working_hours_only: Checks that the behaviour's timestamp (recorded when the intent was formed) falls within a permitted time window. Supports overnight wraparound and timezones.
start_hour:8. Start of the permitted window (hour).end_hour:18. End of the permitted window (hour).timezone:Europe/Amsterdam. Timezone for the window (default UTC).
In these packs
- Financial services: DORA and MiFID II, version 1.0.2
From Kyvvu's open policy library at github.com/Kyvvu/manifests, Apache 2.0.
Next
Watch it decide.
In your browser
Try it in the playground
The policy is loaded. Add the steps your agent takes and watch the engine decide, step by step.
On your machine
Five minutes, no account
kyvvu try runs a demo agent against the bundled baseline. Then assign this pack from the dashboard or the CLI.
For security teams
See it on your agents
A 30-minute demo on the agents you actually run, with the policies that fit them.