Sizers Smart Staking A Strategy offers methods to trade, namely: buy, sell and close. Let’s s ...
Position on an asset is usually checked from within a Strategy with: 资产情况通常通过以下方式从策略内部进行检查: position a property or getposition data None, broker None Which will return the position on datas of the str ...
2020-09-18 11:47 0 1489 推荐指数:
Sizers Smart Staking A Strategy offers methods to trade, namely: buy, sell and close. Let’s s ...
Strategy A Cerebro instance is the pumping heart and controlling brain of backtrader. A Strategy is the same for the platform user. Cerebro实例 ...
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 ...
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 ...
AnnualReturn 年利润 class backtrader.analyzers.AnnualReturn() This analyzer calculates the AnnualReturns by looking at the beginning and end ...
Trade Definition of a trade: A Trade is open when the a position in a instrument goes from 0 to a size X which may positive/negative for long ...
Using Indicators Indicators can be used in two places in the platform: 指标在平台中的两个地方使用 Inside S ...