Coverage report:
98%
hide covered
Files
Functions
Classes
coverage.py v7.13.2
, created at 2026-02-03 02:21 +0000
File
function
statements
missing
excluded
coverage
src / jquantstats / __init__.py
(no function)
3
0
0
100%
src / jquantstats / _data.py
Data.__post_init__
9
0
0
100%
src / jquantstats / _data.py
Data.plots
2
0
0
100%
src / jquantstats / _data.py
Data.stats
2
0
0
100%
src / jquantstats / _data.py
Data.reports
2
0
0
100%
src / jquantstats / _data.py
Data.date_col
1
0
0
100%
src / jquantstats / _data.py
Data.assets
3
0
0
100%
src / jquantstats / _data.py
Data.all
3
0
0
100%
src / jquantstats / _data.py
Data.resample
5
0
0
100%
src / jquantstats / _data.py
Data.resample.resample_frame
2
0
0
100%
src / jquantstats / _data.py
Data.copy
3
0
0
100%
src / jquantstats / _data.py
Data.head
2
0
0
100%
src / jquantstats / _data.py
Data.tail
2
0
0
100%
src / jquantstats / _data.py
Data._periods_per_year
8
1
0
88%
src / jquantstats / _data.py
Data.items
3
0
0
100%
src / jquantstats / _data.py
(no function)
31
0
4
100%
src / jquantstats / _plots.py
_plot_performance_dashboard
34
0
0
100%
src / jquantstats / _plots.py
_plot_performance_dashboard.hex_to_rgba
3
0
0
100%
src / jquantstats / _plots.py
Plots.plot_snapshot
2
0
0
100%
src / jquantstats / _plots.py
(no function)
12
0
2
100%
src / jquantstats / _reports.py
Reports.metrics
2
0
0
100%
src / jquantstats / _reports.py
(no function)
8
0
2
100%
src / jquantstats / _stats.py
Stats.__post_init__
1
0
0
100%
src / jquantstats / _stats.py
Stats._mean_positive_expr
1
0
0
100%
src / jquantstats / _stats.py
Stats._mean_negative_expr
1
0
0
100%
src / jquantstats / _stats.py
Stats.columnwise_stat
3
0
0
100%
src / jquantstats / _stats.py
Stats.columnwise_stat.wrapper
1
0
0
100%
src / jquantstats / _stats.py
Stats.to_frame
3
0
0
100%
src / jquantstats / _stats.py
Stats.to_frame.wrapper
1
0
0
100%
src / jquantstats / _stats.py
Stats.skew
1
0
0
100%
src / jquantstats / _stats.py
Stats.kurtosis
1
0
0
100%
src / jquantstats / _stats.py
Stats.avg_return
1
0
0
100%
src / jquantstats / _stats.py
Stats.avg_win
1
0
0
100%
src / jquantstats / _stats.py
Stats.avg_loss
1
0
0
100%
src / jquantstats / _stats.py
Stats.volatility
6
1
0
83%
src / jquantstats / _stats.py
Stats.payoff_ratio
3
0
0
100%
src / jquantstats / _stats.py
Stats.win_loss_ratio
1
0
0
100%
src / jquantstats / _stats.py
Stats.profit_ratio
10
0
0
100%
src / jquantstats / _stats.py
Stats.profit_factor
5
0
0
100%
src / jquantstats / _stats.py
Stats.value_at_risk
5
0
0
100%
src / jquantstats / _stats.py
Stats.conditional_value_at_risk
7
0
0
100%
src / jquantstats / _stats.py
Stats.win_rate
3
0
0
100%
src / jquantstats / _stats.py
Stats.gain_to_pain_ratio
6
0
0
100%
src / jquantstats / _stats.py
Stats.risk_return_ratio
3
0
0
100%
src / jquantstats / _stats.py
Stats.kelly_criterion
3
0
0
100%
src / jquantstats / _stats.py
Stats.best
2
0
0
100%
src / jquantstats / _stats.py
Stats.worst
2
0
0
100%
src / jquantstats / _stats.py
Stats.exposure
2
0
0
100%
src / jquantstats / _stats.py
Stats.sharpe
7
0
0
100%
src / jquantstats / _stats.py
Stats.sharpe_variance
14
2
0
86%
src / jquantstats / _stats.py
Stats.prob_sharpe_ratio
14
3
0
79%
src / jquantstats / _stats.py
Stats.hhi_positive
5
1
0
80%
src / jquantstats / _stats.py
Stats.hhi_negative
5
1
0
80%
src / jquantstats / _stats.py
Stats.sortino
6
0
0
100%
src / jquantstats / _stats.py
Stats.rolling_sortino
5
0
0
100%
src / jquantstats / _stats.py
Stats.rolling_sharpe
3
0
0
100%
src / jquantstats / _stats.py
Stats.rolling_volatility
2
0
0
100%
src / jquantstats / _stats.py
Stats.drawdown
3
0
0
100%
src / jquantstats / _stats.py
Stats.prices
1
0
0
100%
src / jquantstats / _stats.py
Stats.max_drawdown_single_series
5
0
0
100%
src / jquantstats / _stats.py
Stats.max_drawdown
1
0
0
100%
src / jquantstats / _stats.py
Stats.adjusted_sortino
2
0
0
100%
src / jquantstats / _stats.py
Stats.r_squared
12
0
0
100%
src / jquantstats / _stats.py
Stats.r2
1
0
0
100%
src / jquantstats / _stats.py
Stats.information_ratio
12
0
0
100%
src / jquantstats / _stats.py
Stats.greeks
15
0
0
100%
src / jquantstats / _stats.py
(no function)
91
0
2
100%
src / jquantstats / api.py
build_data
23
0
0
100%
src / jquantstats / api.py
build_data.subtract_risk_free
7
1
0
86%
src / jquantstats / api.py
(no function)
4
0
0
100%
Total
454
10
10
98%
No items found using the specified filter.