Add total fees calculation to storage results

- Included total_fees_usd in the results dictionary of the Storage class to enhance fee tracking in the output.
- removed plots from TrendDetectorSimple
This commit is contained in:
Simon Moisy 2025-05-21 15:35:12 +08:00
parent ec1a86e098
commit 14905017c8

View File

@ -144,6 +144,7 @@ class Storage:
"avg_trade": f"{row['avg_trade']*100:.2f}%",
"profit_ratio": f"{row['profit_ratio']*100:.2f}%",
"final_usd": f"{row['final_usd']:.2f}",
"total_fees_usd": f"{row['total_fees_usd']:.2f}",
}
def write_results_chunk(self, filename, fieldnames, rows, write_header=False, initial_usd=None):