본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트37k · #7551

seasonal

하는 일

이 스킬은 특정 달에 매수하는 식의 달력 기준 매매가 통하는지 시험합니다. 중국 A주의 봄 랠리나 '5월에 팔라'는 격언 같은 패턴을 믿는 트레이더를 위한 스킬입니다.

사용하는 경우

  • ✓중국 A주의 봄 랠리처럼 계절성 아이디어를 시험하고 싶을 때.
  • ✓월요일 수익률이 약하다는 요일 패턴이 의심될 때.
  • ✓월 신호와 요일 필터를 결합하고 싶은 경우.

스킬 링크

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/seasonal/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/seasonal/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 지수에서 1월부터 3월까지만 매수하고 나머지 기간에는 시장을 떠나 있었다면 효과가 있었을지 시험해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 강세와 약세의 월 또는 요일을 설정한 뒤, 달력에 따라 매수, 매도, 관망을 정합니다. 월과 요일 규칙을 결합해서 두 조건이 모두 일치할 때만 거래하도록 할 수도 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Seasonal / Calendar Effect Strategy

Purpose

Uses time-based regularities in financial markets (month effects, day-of-week effects, and similar patterns) to generate trading signals. Examples include the China A-share "spring rally" (January-March) and the "sell in May" effect.

Signal Logic

Month Effect (Default)

  • Specified bullish months → go long
  • Specified bearish months → go short / stay out
  • All other months → stay flat

Day-of-Week Effect (Optional Overlay)

  • Monday / Friday effects
  • Start-of-month / end-of-month effects

Combined Mode

Month signal × weekday signal; open a position only when both confirm.

Common Calendar Effects Reference

Effect Description Reference Configuration
Spring rally Higher probability of gains in China A-shares from January to March bullish_months=[1,2,3]
Sell in May Weaker performance from May to October bearish_months=[5,6,7,8,9,10]
Year-end effect Institutional rebalancing in December bullish_months=[11,12]
Monday effect Lower returns on Mondays bearish_weekdays=[0]
Friday effect Higher returns on Fridays bullish_weekdays=[4]

Parameters

Parameter Default Description
bullish_months [1, 2, 3, 11, 12] Bullish months
bearish_months [5, 6, 7, 8, 9] Bearish months
use_weekday False Whether to enable weekday effects
bullish_weekdays [4] Bullish weekdays (0=Monday, 4=Friday)
bearish_weekdays [0] Bearish weekdays

Common Pitfalls

  • pd.DatetimeIndex.month starts from 1 (1=January)
  • pd.DatetimeIndex.weekday starts from 0 (0=Monday, 4=Friday)
  • Seasonal strategies are statistical regularities, not deterministic signals, so pay attention to sample size in backtests
  • Neutral months (neither in bullish nor bearish) should output 0 and must not be skipped

Dependencies

pip install pandas numpy

Signal Convention

  • 1 = long (bullish window), -1 = short (bearish window), 0 = stand aside
자주 묻는 질문

'5월에 팔라' 효과란 무엇인가요?

시장이 5월부터 10월까지 더 나쁜 성과를 내는 경향이 있다는 생각입니다. 스킬은 약세 월 세트로 이를 시험할 수 있습니다.

달력 패턴이 항상 통하나요?

아닙니다. 달력 효과는 믿기 어려우므로, 믿기 전에 과거 데이터로 시험해야 합니다.

암호화폐나 주식에도 쓸 수 있나요?

주식, ETF, 암호화폐 등 표준 OHLCV 형식의 모든 가격 데이터에 적합합니다.

상세 정보

작성자의 원본 설명

Seasonal/calendar-effect strategy. Generates trading signals from time-based patterns such as month-of-year effects and day-of-week effects. Suitable for any OHLCV data.

repo: HKUDS/Vibe-Trading

인기도

GitHub 스타
37k
순위
#7551
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬