Coverage report:
99%
hide covered
Files
Functions
Classes
coverage.py v7.9.2
, created at 2025-07-05 07:23 +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
1
0
0
100%
src/jquantstats/_data.py
Data.stats
1
0
0
100%
src/jquantstats/_data.py
Data.reports
1
0
0
100%
src/jquantstats/_data.py
Data.date_col
1
0
0
100%
src/jquantstats/_data.py
Data.assets
4
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
4
0
0
100%
src/jquantstats/_data.py
Data.head
1
0
0
100%
src/jquantstats/_data.py
Data.tail
1
0
0
100%
src/jquantstats/_data.py
Data._periods_per_year
6
0
0
100%
src/jquantstats/_data.py
Data.items
3
0
0
100%
src/jquantstats/_data.py
(no function)
32
0
0
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)
10
0
0
100%
src/jquantstats/_reports.py
Reports.metrics
2
0
0
100%
src/jquantstats/_reports.py
(no function)
6
0
0
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
5
1
0
80%
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
8
0
0
100%
src/jquantstats/_stats.py
Stats.profit_factor
3
0
0
100%
src/jquantstats/_stats.py
Stats.value_at_risk
3
0
0
100%
src/jquantstats/_stats.py
Stats.conditional_value_at_risk
5
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
1
0
0
100%
src/jquantstats/_stats.py
Stats.kelly_criterion
3
0
0
100%
src/jquantstats/_stats.py
Stats.best
1
0
0
100%
src/jquantstats/_stats.py
Stats.worst
1
0
0
100%
src/jquantstats/_stats.py
Stats.exposure
1
0
0
100%
src/jquantstats/_stats.py
Stats.sharpe
5
0
0
100%
src/jquantstats/_stats.py
Stats.sortino
4
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
1
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
4
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
11
0
0
100%
src/jquantstats/_stats.py
Stats.r2
1
0
0
100%
src/jquantstats/_stats.py
Stats.information_ratio
9
0
0
100%
src/jquantstats/_stats.py
Stats.greeks
13
0
0
100%
src/jquantstats/_stats.py
(no function)
82
0
0
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
373
2
0
99%
No items found using the specified filter.