Analyzers 分析仪 Be it backtesting or trading, being able to analyze the performance of the trading system is key to understanding if not only profit ...
AnnualReturn 年利润 class backtrader.analyzers.AnnualReturn This analyzer calculates the AnnualReturns by looking at the beginning and end of the year 这个分析器通过观察一年的开始和结束来计算年收益 Params: None Member Attribut ...
2020-09-13 15:21 0 482 推荐指数:
Analyzers 分析仪 Be it backtesting or trading, being able to analyze the performance of the trading system is key to understanding if not only profit ...
Sizers Reference FixedSize class backtrader.sizers.FixedSize() This sizer simply returns a fixed size for any operation. Size can be controlled ...
Sizers Smart Staking A Strategy offers methods to trade, namely: buy, sell and close. Let’s s ...
Orders 订单 Cerebro is the key control system in backtrader and Strategy (a subclass) is the key control point of the end user. The latter needs ...
Strategy A Cerebro instance is the pumping heart and controlling brain of backtrader. A Strategy is the same for the platform user. Cerebro实例 ...
Note As of (at least) 2017-07-25 the pyfolio APIs have changed and create_full_tear_sheet no lo ...
官方链接:https://www.backtrader.com/blog/posts/2015-08-12-observers-and-statistics/observers-and-statistics/ Strateties running inside the backtrader do ...
Trade Definition of a trade: A Trade is open when the a position in a instrument goes from 0 t ...