backtrader#
tradingstrategy.frameworks.backtrader Python module in Trading Strategy framework.
Module description#
Old Backtrader integration.
Warning
Deprecased. Do not use anymore. Use trade-executor framewor instead.
Classes#
A Pandas data feed with token metadata added. |
|
A strategy base class with support for Trading Strategy DEX specific use cases. |
|
Record all trades during the backtest run so that they can be analysed. |
Functions#
|
Add Pandas candle data as source feed to Backtrader strategy tester. |
|
Build a trade analyzer from Backtrader executed portfolio. |
|
Convert traderader internal timestamps to Pandas. |
|
Prepare DataFrame format so that Backtrader strategy can read it. |
|
Backtrader does not allow sparse data, but all data must be filled. |