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 ...