linting
This commit is contained in:
parent
597c6efc9b
commit
8b5e06954a
26 changed files with 532 additions and 186 deletions
|
|
@ -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 =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue