This commit is contained in:
Boki 2025-06-11 10:38:05 -04:00
parent 597c6efc9b
commit 8b5e06954a
26 changed files with 532 additions and 186 deletions

View file

@ -172,7 +172,9 @@ async function saveResults(result: any, outputPath: string): Promise<void> {
}
function convertTradesToCSV(trades: any[]): string {
if (trades.length === 0) {return 'No trades executed\n';}
if (trades.length === 0) {
return 'No trades executed\n';
}
const headers = Object.keys(trades[0]).join(',');
const rows = trades.map(trade =>