Coverage report:
100%
hide covered
Files
Functions
Classes
coverage.py v7.6.8
, created at 2025-01-10 14:11 +0000
File
function
statements
missing
excluded
coverage
cvx/simulator/__init__.py
(no function)
4
0
0
100%
cvx/simulator/builder.py
Builder.__post_init__
6
0
0
100%
cvx/simulator/builder.py
Builder.valid
1
0
0
100%
cvx/simulator/builder.py
Builder.intervals
1
0
0
100%
cvx/simulator/builder.py
Builder.index
1
0
0
100%
cvx/simulator/builder.py
Builder.current_prices
1
0
0
100%
cvx/simulator/builder.py
Builder.__iter__
4
0
0
100%
cvx/simulator/builder.py
Builder.position
1
0
0
100%
cvx/simulator/builder.py
Builder.position
2
0
0
100%
cvx/simulator/builder.py
Builder.cashposition
1
0
0
100%
cvx/simulator/builder.py
Builder.units
1
0
0
100%
cvx/simulator/builder.py
Builder.cashposition
1
0
0
100%
cvx/simulator/builder.py
Builder.build
1
0
0
100%
cvx/simulator/builder.py
Builder.weights
1
0
0
100%
cvx/simulator/builder.py
Builder.weights
1
0
0
100%
cvx/simulator/builder.py
Builder.aum
1
0
0
100%
cvx/simulator/builder.py
Builder.aum
2
0
0
100%
cvx/simulator/builder.py
Builder.from_returns
2
0
0
100%
cvx/simulator/builder.py
(no function)
47
0
0
100%
cvx/simulator/portfolio.py
Portfolio.__post_init__
6
0
0
100%
cvx/simulator/portfolio.py
Portfolio.index
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.assets
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.nav
6
0
0
100%
cvx/simulator/portfolio.py
Portfolio.profit
3
0
0
100%
cvx/simulator/portfolio.py
Portfolio.highwater
3
0
0
100%
cvx/simulator/portfolio.py
Portfolio.drawdown
3
0
0
100%
cvx/simulator/portfolio.py
Portfolio.cashposition
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.returns
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.trades_units
3
0
0
100%
cvx/simulator/portfolio.py
Portfolio.trades_currency
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.turnover_relative
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.turnover
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.__getitem__
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.equity
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.weights
1
0
0
100%
cvx/simulator/portfolio.py
Portfolio.snapshot
43
0
0
100%
cvx/simulator/portfolio.py
Portfolio.sharpe
2
0
0
100%
cvx/simulator/portfolio.py
Portfolio.from_cashpos_prices
2
0
0
100%
cvx/simulator/portfolio.py
Portfolio.from_cashpos_returns
2
0
0
100%
cvx/simulator/portfolio.py
(no function)
51
0
0
100%
cvx/simulator/state.py
State.cash
1
0
0
100%
cvx/simulator/state.py
State.cash
1
0
0
100%
cvx/simulator/state.py
State.nav
1
0
0
100%
cvx/simulator/state.py
State.value
1
0
0
100%
cvx/simulator/state.py
State.cashposition
1
0
0
100%
cvx/simulator/state.py
State.position
3
0
0
100%
cvx/simulator/state.py
State.position
3
0
0
100%
cvx/simulator/state.py
State.gmv
1
0
0
100%
cvx/simulator/state.py
State.time
1
0
0
100%
cvx/simulator/state.py
State.time
5
0
0
100%
cvx/simulator/state.py
State.days
1
0
0
100%
cvx/simulator/state.py
State.assets
3
0
0
100%
cvx/simulator/state.py
State.trades
1
0
0
100%
cvx/simulator/state.py
State.mask
3
0
0
100%
cvx/simulator/state.py
State.prices
3
0
0
100%
cvx/simulator/state.py
State.prices
5
0
0
100%
cvx/simulator/state.py
State.profit
1
0
0
100%
cvx/simulator/state.py
State.aum
1
0
0
100%
cvx/simulator/state.py
State.aum
1
0
0
100%
cvx/simulator/state.py
State.weights
2
0
0
100%
cvx/simulator/state.py
State.leverage
1
0
0
100%
cvx/simulator/state.py
(no function)
55
0
0
100%
cvx/simulator/utils/__init__.py
(no function)
0
0
0
100%
cvx/simulator/utils/grid.py
iron_frame
2
0
0
100%
cvx/simulator/utils/grid.py
resample_index
3
0
0
100%
cvx/simulator/utils/grid.py
_project_frame_to_grid
4
0
0
100%
cvx/simulator/utils/grid.py
(no function)
7
0
0
100%
cvx/simulator/utils/interpolation.py
interpolate
4
0
0
100%
cvx/simulator/utils/interpolation.py
valid
1
0
0
100%
cvx/simulator/utils/interpolation.py
(no function)
2
0
0
100%
cvx/simulator/utils/metric.py
_periods
2
0
0
100%
cvx/simulator/utils/metric.py
sharpe
5
0
0
100%
cvx/simulator/utils/metric.py
(no function)
4
0
0
100%
cvx/simulator/utils/month.py
_compound_returns
1
0
0
100%
cvx/simulator/utils/month.py
_cumulative_returns
1
0
0
100%
cvx/simulator/utils/month.py
monthlytable
9
0
0
100%
cvx/simulator/utils/month.py
(no function)
11
0
0
100%
cvx/simulator/utils/rescale.py
_rescale
3
0
0
100%
cvx/simulator/utils/rescale.py
returns2prices
2
0
0
100%
cvx/simulator/utils/rescale.py
(no function)
3
0
0
100%
Total
372
0
0
100%
No items found using the specified filter.