For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
bt.Strategy (arguments)
-
Hello,
I have my own data and a strategy that I want to apply and want to use backtrader to backtest this strategy. Can bt.Strategy receive other arguments or only self? For example, can bt.Strategy receive a dictionary of pairs in the init part? -
See
- Docs - Quickstart, section Customizing the Strategy: Parameters
- Docs - Platform Concepts, section Parameters
Whatever is not a declared parameter will be passed untouched to the
__init__
method.