ドル円アノマリー追記:データが暴く「公務員の給料」も刈り取られる日 前回の記事では、「毎月25日の給料日」を起点としたシステム的な円売り・ドル買いアノマリーについて解説しました。今回はさらに解像度を上げ、「毎月1日〜31日の日付別」でドル円の平均変化率(リターン)を可視化してみました。 使用したPythonコードは以下の通りです。 ‘’’Python import yfinance as yf import matplotlib.pyplot as plt import pandas as pd import seaborn as sns # 分析期間の設定 dateStart = "2015-01-01" dateEnd = "2026-05-23" ticker = "JPY=X" # ドル円 df = yf.download( ticker, start=dateStart, end=dateEnd, auto_adjust=False, progress=False ) if isinstance(df.columns, pd.MultiIndex): close = df["Close"][ticker].dropna() else: close = df["Close"].dropna() daily_return = close.pct_change() * 100 analysis_df = pd.DataFrame({"Return": daily_return}) analysis_df.index = pd.to_datetime(analysis_df.index) analysis_df["Day_of_Month"] = analysis_df.index.day analysis_df = analysis_df[analysis_df.index.dayofweek < 5] pivot_table = analysis_df.groupby("Day_of_Month")["Return...
This repository explores global system architectures, AI-era dynamics, attention, trust (Emotionics), and the transition protocols shaping our future. It serves as an open archive of observations and frameworks for understanding structural shifts beyond daily news and short-term reactions. The guiding belief here is simple: Sustainable futures do not rely on charismatic leaders, but on resilient systems and careful design today. Disclaimer: On this blog, “the world” does not include Japan.