原文:Backtrader 學習筆記(1)

第一次接觸Python,朋友帶着玩,發現官方文檔寫得好棒 https: www.backtrader.com docu ,以下內容來自於官方文檔,以及我自己的學習心得。 數據結構: 數據格式:必須有 列 日期時間,開盤,收盤,最高,最低,持倉量 用lines存儲:很多line組成的list 數組類型 。 dataFeed:本地讀入csv或者txt文件用 bt.feeds.GenericCSVDat ...

2020-04-24 21:53 0 924 推薦指數:

查看詳情

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中文筆記之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中文筆記之 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中文筆記之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
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM