Skip to content

This app calculates Gold portfolio performance metrics such as the Sharpe Ratio, showing risk and return metrics.

Notifications You must be signed in to change notification settings

gahoccode/Goldfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goldfolio Analysis

A Streamlit-based web application for analyzing financial portfolio data with a focus on performance metrics and visualizations.

Features

  • CSV file upload functionality
  • Configurable risk-free rate
  • Comprehensive performance metrics:
    • Annualized returns
    • Volatility
    • Sharpe ratio
    • Maximum drawdown
  • Interactive visualizations:
    • Price charts
    • Returns distribution
    • Returns over time

Installation

  1. Clone this repository
  2. Install the required dependencies:
pip install -r requirements.txt

Usage

  1. Run the Streamlit app:
streamlit run st.py
  1. Using the app:

    • Upload your CSV file using the sidebar uploader
    • Select the price column from your data
    • Adjust the risk-free rate using the slider
    • View the analysis results and visualizations
  2. Default behavior:

    • If no file is uploaded, the app will use the default "Gold Price.csv" data
    • The default risk-free rate is set to 3%

Data Format

Your CSV file should contain at least one column with price data. The app will automatically detect columns and allow you to select the appropriate price column for analysis.

About

This app calculates Gold portfolio performance metrics such as the Sharpe Ratio, showing risk and return metrics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published