Skip to content

Commit

Permalink
fix: coinlist found as duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
Zahrun committed Dec 17, 2022
1 parent c458020 commit dcc4f2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parsers/trades/coinlist/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default async function processData(importDetails: IImport): Promise<ITrad
tradeToAdd.amountSold = Math.abs(parseFloat(data[i].Amount));
tradeToAdd.rate = Math.abs(parseFloat(data[i].Amount) / parseFloat(trade.Amount));
tradeToAdd.ID = createID(tradeToAdd);
tradeToAdd.exchangeID = tradeToAdd.ID;
internalFormat.push(tradeToAdd as ITrade);
continue;
}
Expand Down

0 comments on commit dcc4f2f

Please sign in to comment.