A primitive Python script to analyse basic silver futures price statistics of July.
Silver Sep 26 (SI=F) Stock Price, News, Quote & History - Yahoo Finance
Added a primitive linear regression prediction.
See if you can beat the statistics:


Statistics for July 2026
-----------------------------------------------------------------
Monthly maximum based on daily high: $62.62
Median of the month's daily highs: $59.12
Median of the month's daily lows: $57.64
Monthly minimum based on daily low: $55.01
Primitive linear projection
-----------------------------------------------------------------
Regression source period: July 2026 only
Prediction period: August 2026
Last actual observation: 2026-07-31
Prediction ending date: 2026-08-31
Daily-high regression slope: $-0.1582 per observation
Daily-low regression slope: $-0.0893 per observation
Projected daily high at period end: $55.88
Projected daily low at period end: $55.47
Statistics for July 2026
-----------------------------------------------------------------
Monthly maximum based on daily high: $62.62
Median of the month's daily highs: $59.12
Median of the month's daily lows: $57.64
Monthly minimum based on daily low: $55.01
Primitive linear projection
-----------------------------------------------------------------
Regression source period: July 2026 only
Prediction period: August 2026
Last actual observation: 2026-07-31
Prediction ending date: 2026-08-31
Daily-high regression slope: $-0.1582 per observation
Daily-low regression slope: $-0.0893 per observation
Projected daily high at period end: $55.88
Projected daily low at period end: $55.47
============================================================
SUMMARY OF CALCULATED VALUES:
============================================================
1. Monthly Maximum (Daily High): $62.62
2. Monthly Maximum Median (Daily High): $59.12
3. Monthly Minimum Median (Daily Low): $57.64
4. Monthly Minimum (Daily Low): $55.01
5. Predicted End of Next Month (High): $54.08
6. Predicted End of Next Month (Low): $55.00
============================================================
============================================================
PRIMITIVE LINEAR PROJECTION
============================================================
Latest actual observation: 2026-07-31
Projection ending date: 2026-08-24
Daily-high regression slope: $-0.1582 per observation
Daily-low regression slope: $-0.0893 per observation
Projected daily high at period end: $54.08
Projected daily low at period end: $55.00
============================================================