Add visualization with mplfinance.

Add config attribute to Candles class.
Add plots_dir property and plots_dir_name attribute to the Config class.
Update documentation for Candle, Candles and Config classes.
This commit is contained in:
Victor Joseph
2025-06-29 11:48:28 +01:00
parent 50ac62b0a8
commit 626658d68a
8 changed files with 121 additions and 190 deletions
+1
View File
@@ -29,6 +29,7 @@ A single instance of this class is created and used per bot instance.
| `root` | `Path` | The root directory of the project |
| `record_trades` | `bool` | To record trades or not. Default is True |
| `records_dir` | `Path` | The directory to store trade records, relative to the root directory |
| `plots_dir` | `Path` | Save chart plots as images |
| `backtest_dir` | `Path` | The directory to store backtest results, relative to the root directory |
| `task_queue` | `TaskQueue` | The TaskQueue object for handling background tasks |
| `_backtest_engine` | `BackTestEngine` | The backtest engine object |