(df: pl.DataFrame, *, volume_per_bar: float = 100_000.0)
| 105 | |
| 106 | |
| 107 | def build_volume_bars(df: pl.DataFrame, *, volume_per_bar: float = 100_000.0) -> pl.DataFrame: |
| 108 | if volume_per_bar <= 0: |
| 109 | raise ValueError("volume_per_bar must be > 0") |
| 110 | return _build_by_symbol(df, _core.bars.build_volume_bars, volume_per_bar) |
| 111 | |
| 112 | |
| 113 | def build_dollar_bars( |
nothing calls this directly
no test coverage detected