BUG Only check string if it is a string.
BUG Only check string if it is a string.

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