tradeanalyzer.py、periodstats.py、drawdown.py三个文件解读
tradeanalyzer.py
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import sys
from backtrader import Analyzer
from backtrader.utils import AutoOrderedDic