摘要: Sizers Reference FixedSize class backtrader.sizers.FixedSize() This sizer simply returns a fixed size for any operation. Size can be controlled by num 阅读全文
posted @ 2020-09-21 23:50 就是想学习 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: Sizers Smart Staking A Strategy offers methods to trade, namely: buy, sell and close. Let’s see the signature of buy: 策略提供了交易的方法,即:买入、卖出和成交。让我们看看buy的签 阅读全文
posted @ 2020-09-21 23:17 就是想学习 阅读(2641) 评论(0) 推荐(0) 编辑
摘要: Fillers 填充 The backtrader broker simulation has a default strategy when it comes to using volume for order execution: 当使用成交量来执行订单时,backtrader-broker模拟 阅读全文
posted @ 2020-09-21 15:23 就是想学习 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 这个感觉就是只能用来,在当前的开盘前下单,用的当天的开盘价可以参考买入股份,信号的处理,买入的时间,买入的价格,与正常的没有任何区别 Release 1.9.44.116 adds support for Cheat-On-Open. This seems to be a demanded feat 阅读全文
posted @ 2020-09-21 14:27 就是想学习 阅读(835) 评论(0) 推荐(0) 编辑
摘要: backtesting cannot guarantee real market conditions. No matter how good the market simulation is, under real market conditions slippage can happen. Th 阅读全文
posted @ 2020-09-21 10:37 就是想学习 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 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/short po 阅读全文
posted @ 2020-09-21 10:00 就是想学习 阅读(2117) 评论(0) 推荐(1) 编辑