Skip to main content
All Projects
04Data / Machine Learning

Gold Price Prediction System

A Streamlit-based gold price prediction app using linear regression, API-fetched gold and exchange-rate data, and manual simulation.

Context
Machine Learning Course Project
gold-price-prediction / Primary screen
Gold Price Prediction System - Prediction Dashboard

Overview

Gold Price Prediction System is a Machine Learning course project built as a Streamlit application. I developed the application and technical implementation, integrating a linear regression model with gold-price and USD/IDR data, automatic currency and unit conversion, next-day prediction, and manual simulation.

Project Focus

  • Use recent gold-price values as inputs for a linear regression prediction model.
  • Combine gold-price and USD/IDR data to present values in IDR per gram.
  • Present a next-day prediction together with its direction and price difference.
  • Provide a manual simulation flow for exploring predictions with custom inputs.

Responsibilities

  • Built the Streamlit interface and application flow.
  • Integrated the trained linear regression model with market and exchange-rate APIs.
  • Implemented currency and unit conversion between USD per troy ounce and IDR per gram.
  • Built the model-driven prediction and manual simulation result flows.

Technology

PythonStreamlitscikit-learnLinear Regression

Key Features

Gold Price Prediction System / Key Features

01

API-Fetched Market Data

MetalPriceAPI and CurrencyAPI provide gold-price and USD/IDR data used by the application.

02

Automatic Conversion

Market values are converted from USD per troy ounce into IDR per gram for user-facing results.

03

Next-Day Prediction

The model generates a next-day price prediction and presents its direction, nominal difference, and percentage change.

04

Manual Simulation

Users can enter their own recent price values to explore a separate prediction scenario.

Selected Screens

Selected Screens.

02 selected screens

gold-price-prediction / desktop

Gold Price Prediction System - Prediction Dashboard

Prediction Dashboard

Application dashboard captured on June 1, 2025, showing API-fetched gold and exchange-rate data together with the next-day prediction.

gold-price-prediction / desktop

Gold Price Prediction System - Manual Prediction Simulation

Manual Prediction Simulation

Manual simulation using custom H-1 and H+0 gold prices to generate a separate next-day prediction.