BUG Return nan if returns are 0 or too short.
BUG Return nan if returns are 0 or too short.

chayapan/pyfolio,quantopian/pyfolio,ChinaQuants/pyfolio,femtotrader/pyfolio,femtotrader/pyfolio,ChinaQuants/pyfolio,quantopian/pyfolio