原文:Backtrader中文笔记之Position(持仓情况)

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 推荐指数:

查看详情

Backtrader中文笔记之Sizers

Sizers Smart Staking A Strategy offers methods to trade, namely: buy, sell and close. Let’s s ...

Tue Sep 22 07:17:00 CST 2020 0 754
Backtrader中文笔记之 Strategy

Strategy A Cerebro instance is the pumping heart and controlling brain of backtrader. A Strategy is the same for the platform user. Cerebro实例 ...

Wed Aug 19 19:03:00 CST 2020 0 685
Backtrader中文笔记之Orders

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

Tue Sep 15 07:33:00 CST 2020 0 588
Backtrader中文笔记之Observers and Statistics

官方链接:https://www.backtrader.com/blog/posts/2015-08-12-observers-and-statistics/observers-and-statistics/ Strateties running inside the backtrader do ...

Mon Sep 14 07:36:00 CST 2020 0 782
Backtrader中文笔记之Analyzers Reference

AnnualReturn 年利润 class backtrader.analyzers.AnnualReturn() This analyzer calculates the AnnualReturns by looking at the beginning and end ...

Sun Sep 13 23:21:00 CST 2020 0 482
Backtrader中文笔记之Trade(交易)

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

Mon Sep 21 18:00:00 CST 2020 0 1011
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM