quantstatsEasy Examples

Portfolio analytics and reporting: tearsheets, benchmarks

Getting started with quantstats

Installation and basic usage of quantstats.

python
# Install: pip install quantstats
import quantstats

# Basic quantstats usage
print(f"Using quantstats")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: quantstats)

quantstats is a third-party package. Portfolio analytics and reporting: tearsheets, benchmarks. Install with: pip install quantstats

Common quantstats operations

Frequently used features of quantstats.

python
# Install: pip install quantstats
import quantstats

# Common quantstats patterns
print(f"quantstats version: {quantstats.__version__}")

These are the most commonly used features of quantstats in everyday development.

Want to try these examples interactively?

Open Easy Playground