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