trade-date-rules

Community

Infer Taiwan futures trading dates from times

AuthorJunxwan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill converts a datetime input into the corresponding Taiwan futures trading date by applying the day/night session rules and holiday adjustments, reducing manual tracking errors.

Core Features & Use Cases

  • Determine the trading day for a given datetime input, including handling of day, night, and post-midnight session boundaries.
  • Adjust results when the calculated date falls on weekends or market holidays using a predefined holiday list (ALL_MISSING_DATES) when available.
  • Use case: Given a timestamp like 2022-06-27 15:00:00, derive the correct trading date (the next trading day) after applying night-session rules.

Quick Start

Provide a datetime string and return the corresponding Taiwan futures trading date following the rules.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: trade-date-rules
Download link: https://github.com/Junxwan/agoG/archive/main.zip#trade-date-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.