(py: Python<'_>, parent: &Bound<'_, PyModule>)
| 102 | /// |
| 103 | /// AFML section 2.3.1.3. The trade that crosses the threshold belongs to the bar it |
| 104 | /// closes, so bars overshoot. A trailing partial bar is dropped. Trades must be in |
| 105 | /// increasing time order; the input is not sorted or validated. |
| 106 | /// |
| 107 | /// Parameters |
| 108 | /// ---------- |
| 109 | /// timestamps : list[str] |
| 110 | /// Trade timestamps as `"%Y-%m-%d %H:%M:%S"` (an optional fractional second is |
| 111 | /// accepted) or `"%Y-%m-%d"` (read as midnight). |
| 112 | /// prices : list[float] |
| 113 | /// Trade prices. |
| 114 | /// volumes : list[float] |
| 115 | /// Trade sizes. |
| 116 | /// volume_per_bar : float |
| 117 | /// Cumulative volume that closes a bar; must be positive and finite. |
| 118 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected