布林带 =============== This example is based on: * http://www.investopedia.com/articles/trading/07/bollinger.asp .. literalinclude:: ../samples/bbands.py 本例输出结果如下: .. literalinclude:: ../samples/bbands.output 最终结果绘制如下图所示: .. image:: ../samples/bbands.png You can get better returns by tunning the Bollinger Bands period as well as the entry and exit points.