Skip to content

Commit

Permalink
Add testdata
Browse files Browse the repository at this point in the history
  • Loading branch information
dickwolff committed Feb 14, 2025
1 parent f79c051 commit 2784473
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/converters/tradeRepublicConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export class TradeRepublicConverter extends AbstractConverter {
bar1.increment();
continue;
}
console.log(record)

let security: YahooFinanceRecord;
try {
Expand All @@ -120,7 +119,7 @@ export class TradeRepublicConverter extends AbstractConverter {
bar1.increment();
continue;
}

const date = dayjs(`${record.date}`, "YYYY-MM-DD");
const unitPrice = Math.abs(parseFloat((record.value / record.amount).toFixed(2)));

Expand Down
2 changes: 1 addition & 1 deletion src/testing/data/yahooFinanceQuoteSummaryResults.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/testing/data/yahooFinanceSearchResults.json

Large diffs are not rendered by default.

0 comments on commit 2784473

Please sign in to comment.