Skip to content

A modern, professional web application for Indonesian stock investors. Saham Calculator helps you analyze, calculate, and simulate stock investments with ease, accuracy.

Notifications You must be signed in to change notification settings

Yuukinaesa/Saham

Repository files navigation

📈 Saham IDX - Indonesian Stock Investment Calculator

A modern, professional web application for Indonesian stock investors. Saham IDX helps you analyze, calculate, and simulate stock investments with ease, accuracy, and a beautiful interface—all powered by Streamlit.


✨ Features

📊 Stock Scraper

  • Real-time Data: Fetch live stock data from Yahoo Finance
  • Key Metrics: Price, PBV, PER, DER, ROE, Dividend Yield, EPS
  • Smart Allocation: Calculate optimal lot allocation based on your capital
  • Multiple Stocks: Analyze multiple stocks simultaneously
  • Professional Formatting: Clean, readable data presentation

💰 Stock Transaction Calculator

  • Single Stock Mode: Calculate profit/loss for individual stock trades
  • Multiple Stocks Mode: Calculate portfolio-wide profit/loss for multiple stocks
  • Platform Support: IPOT, Stockbit, BNI Bions, and custom fee configurations
  • Automatic Fee Calculation: Buy/sell fees applied automatically
  • Dividend Integration: Include dividend calculations and yield analysis
  • Flexible Settings: Toggle fee inclusion and dividend calculations

📈 Compound Interest Simulator

  • Growth Simulation: Simulate compound growth for your investments
  • Monthly Investments: Add recurring monthly contributions
  • Detailed Breakdown: View results per month and per year
  • Visual Results: Clean data presentation with formatted currency

🎯 ARA/ARB Price Calculator

  • IDX Compliance: Calculate ARA (Auto Reject Above) and ARB (Auto Reject Below) limits
  • Board Support: Main board and acceleration board calculations
  • Price Fractions: Follows IDX price fraction rules
  • Step-by-Step: View multiple price levels with detailed breakdown
  • Visual Indicators: Color-coded results for easy interpretation

🎫 Warrant Calculator (Stockbit Integration)

  • Platform-Specific: Optimized for Stockbit platform with fixed fees
  • Automatic Fee Application: 0.15% buy fee, 0.25% sell fee
  • Realized Gain Calculation: Professional profit/loss analysis
  • Simplified Interface: Clean, focused input fields
  • Stockbit Format: Results match Stockbit mobile app display

🚀 Quickstart

  1. Clone the repository:

    git clone https://github.com/Yuukinaesa/Saham.git
    cd Saham
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the application:

    streamlit run Saham.py
  4. Open your browser:


🖥️ Requirements

  • Python: 3.8+
  • Streamlit: Web framework
  • Pandas: Data manipulation
  • yfinance: Stock data fetching
  • numpy: Numerical computations

🌐 Live Website


📋 Platform Fee Structure

Platform Buy Fee Sell Fee
IPOT 0.19% 0.29%
Stockbit 0.15% 0.25%
BNI Bions 0.17% 0.27%
Custom Configurable Configurable

🎯 Key Features

Professional UI/UX

  • Modern, responsive design
  • Intuitive navigation
  • Real-time calculations
  • Professional formatting

Accurate Calculations

  • IDX-compliant price fractions
  • Platform-specific fee structures
  • Dividend yield calculations
  • Compound interest simulations

Comprehensive Analysis

  • Multiple stock portfolio analysis
  • ARA/ARB price limit calculations
  • Warrant trading profit analysis
  • Investment growth projections

📄 License

This project is licensed under the MIT License.


🤝 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.


🙋 Support

For questions or support, please open an issue on the repository.


🔗 AI Integration

About

A modern, professional web application for Indonesian stock investors. Saham Calculator helps you analyze, calculate, and simulate stock investments with ease, accuracy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages