Finance Train LogoFinance Train
Learning LibraryTemplatesBlog
Data Science Bundle
Finance TrainFinance Train
Learning LibraryTemplatesBlog
Data Science Bundle
    Learning LibraryInvestment Risk and Return Analysis In Python
    Ebook

    Investment Risk and Return Analysis In Python

    Learn how to evaluate investment risks and returns using Python. Covers financial risk fundamentals, return calculations, statistical measures (mean, variance, skewness, kurtosis), and practical analysis techniques for real-world investment data.

    This book is designed for finance students and investment professionals who want a practical understanding of how to evaluate investment risks and returns using Python.

    Starting from the foundational concepts of risk and return, the book walks you through step-by-step calculations using real stock data. You will learn how to measure different types of returns, understand the statistical properties of return distributions, and apply formal normality tests — all using Python's scientific computing ecosystem.

    What You Will Learn

    • Calculate simple (discrete) and logarithmic returns from stock price data
    • Visualise the distribution of returns using histograms
    • Understand and compute the four moments of a distribution: mean, variance, skewness, and kurtosis
    • Test whether financial returns follow a normal distribution using the Shapiro-Wilk test
    • Apply these techniques to real stock data using pandas, numpy, scipy, matplotlib, and seaborn

    Prerequisites

    A basic familiarity with Python and introductory statistics is helpful but not required. Every concept is introduced from first principles.

    What's Included

    PDF Ebook

    Instant download, read on any device

    Jupyter Notebook

    Interactive notebook with all examples

    Real Stock Data

    Sample stock_data.csv used throughout

    Python Code Files

    pandas, numpy, scipy, matplotlib, seaborn

    Book sample

    Read a sample chapter before you buy

    Ebook

    Get the ebook and included resources for Investment Risk and Return Analysis In Python.

    One-time purchase - yours to keep forever

    Investment Risk and Return Analysis In Python

    $10 · ebook

    Finance Train

    Learn data science and AI skills for finance through practical courses and tutorials.

    Learn

    • Learning Library
    • Course Directory
    • Blog

    Resources

    • Templates & Downloads
    • Tools
    • Tables
    • Calculators

    Company

    • About
    • Contact
    • Privacy
    • Terms

    © 2026 Finance Train. All rights reserved.

    What's Included

    PDF Ebook

    Jupyter Notebook

    Real Stock Data

    Python Code Files