qis documentation¶
[author / affiliation / date — placeholder]
qis — Quantitative Investment Strategies is a Python library for performance analytics, portfolio backtesting, risk analysis and factsheet reporting. It works with price and NAV time series and externally constructed portfolio weights. These guides explain the methods, calculation conventions and runnable examples behind its reports.
Software citation: CITATION.cff.
Start here¶
Install qis. The core installation command is
python -m pip install qis.Follow the offline quickstart for a first chart, portfolio backtest, performance table and benchmark-relative results.
Browse the factsheet gallery to choose a report, and read the reproducibility guide before interpreting or comparing results.
After installation, the quickstart calculations use fixed synthetic data without network access
or optional extras. The complete portfolio workflow lives in
examples/getting_started/offline_quickstart.py.
The quickstart page includes that source and provides links for Markdown viewers.
Performance and reporting¶
Performance analytics and Sharpe conventions: return, volatility, drawdown and risk-adjusted performance measures.
Reporting-frequency methodology: sampling grids, annualisation and interpretation of reported statistics.
Factsheets and reporting: inputs, report types and the calculation conventions used by the reporting workflow.
Factsheet reference: call patterns, configuration, output objects and PDF saving.
Portfolio accounting and risk¶
Portfolio backtesting: decisions, execution timing, held units and portfolio histories.
Turnover conventions: traded notional, transaction costs and turnover reporting.
Portfolio breadth: effective instrument counts and concentration.
Tracking error and benchmark-relative risk: ex-ante risk estimates and realised tracking error and information ratio.
Brinson attribution: allocation, selection and interaction effects against a benchmark.
Estimation and market data¶
Model-layer attribution: risk, signal and integration layers, with factor and feature contribution methods.
Factor stress testing: specified factor shocks, valuation changes and prediction bands.
Stress testing with options: five stocks, ten short VOP-priced options and a four-ETF EWMA risk model.
Incomplete and mixed-frequency data: missing observations, instrument lifetimes and differing reporting schedules.
Private-asset unsmoothing: serial correlation, return reconstruction and estimation limitations.
FX hedging and market data: currency conversion, hedging assumptions and data contracts.
Implementation and reference¶
Software design: module ownership, public API and dependency boundaries.
Package comparison: documented workflows in qis and related libraries.
API reference: function and class documentation. Public API source catalog.
API migration history: renamed and removed symbols, with current module imports.
Documentation standard: article, equation, citation and figure rules.
The following compact notes also ship with the Python package. Site builds render them alongside the articles; the source links remain usable when reading this page in a checkout.
Convention |
Site note |
Packaged source |
|---|---|---|
Sharpe ratios |
||
Reporting grids |
||
Plot styling |