An exploratory data analysis project that studies how Bitcoin Fear & Greed sentiment relates to trader behavior and performance on Hyperliquid trading data.
- Data cleaning and feature engineering
- Daily account-level aggregation
- Sentiment-regime comparison
- Trader segmentation by activity level
- Strategy recommendations from observed behavior
- Lightweight Streamlit dashboard
- Python
- Pandas
- NumPy
- Matplotlib
- Seaborn
- Streamlit
- Load Fear & Greed index data and historical trader execution data.
- Normalize dates and join each trade to the sentiment regime for that day.
- Create behavior and performance features:
- daily PnL
- win rate
- average trade size
- trades per day
- long/short bias
- Compare Fear and Greed periods.
- Segment traders by frequency.
- Generate strategy signals for risk-aware behavior changes.
- Greed days show higher upside but also higher variability.
- Fear days tend to produce more cautious behavior and lower activity.
- Frequent traders are more sensitive to sentiment shifts.
- Position sizing and trade frequency are important risk controls across regimes.
pip install -r requirements.txt
jupyter notebook notebooks/analysis.ipynbRun the dashboard:
streamlit run dashboard.pyoutputs/tables/performance_summary.csv
outputs/tables/dashboard_data.csv
This project is analysis-focused rather than production software. The next upgrade would be adding reproducible pipeline scripts, validation checks, and a clearer model evaluation section.