E_LEN_002 — Empty input array¶
A function received an empty array but needs at least one element. Statistics, bootstrap sampling, and indicator computations can't produce a value over zero observations.
How to fix¶
Check the array length before calling, or filter out empty cases:
Common causes¶
- An aggregator pipeline produced no bars (e.g. trades all on the same timestamp with sub-millisecond resolution lost to int64 conversion).
dropna()removed every row.- A symbol filter excluded all symbols.