原文: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