Social Price Correlation is an anomaly signal that measures whether social sentiment and price are behaving in an unusually aligned or unusually decoupled way.
The current implementation runs on 1h data for bitcoin, ethereum, solana, dogecoin, xrp, trx, and cardano.
It uses:
sentiment_positive_ratio_twitter_1hprice_usdData is aggregated hourly as follows:
max(value)argMax(value, dt)The calculation pipeline in the repo is:
dt and asset_id.log1p to social and log to price.(current_fisher_z - rolling_median) / sigma, where sigma = 1 / sqrt(168 - 3).abs(anomaly_score) > 3.In practice, this signal is not just checking whether correlation is positive or negative. It checks whether the current social-price relationship is abnormally different from that asset's own recent baseline.