function mapTradesToCsvLine(trade) {
    return `${format(trade.date, "yyyy-MM-dd HH:mm:ss.SSS")},${trade.market},${trade.type.toUpperCase()},${trade.price},${trade.amount},${trade.total},${trade.fee},${trade.feeCoin}`
}
@param {{
date: Date,
market: string,
type: string,
price: number,
amount: number,
total: number,
fee: number,
feeCoin: string,
}} trades 
@returns {string}