Browse Source

Add TODOs

pull/2834/head
Thomas Kaul 2 years ago
parent
commit
0073ed535d
  1. 6
      apps/api/src/app/portfolio/portfolio-calculator-btcusd-buy-and-sell-partially.spec.ts

6
apps/api/src/app/portfolio/portfolio-calculator-btcusd-buy-and-sell-partially.spec.ts

@ -38,7 +38,7 @@ describe('PortfolioCalculator', () => {
currency: 'CHF', currency: 'CHF',
orders: [ orders: [
{ {
currency: 'CHF', currency: 'CHF', // TODO: Change to USD
date: '2015-01-01', date: '2015-01-01',
dataSource: 'YAHOO', dataSource: 'YAHOO',
fee: new Big(0), fee: new Big(0),
@ -49,7 +49,7 @@ describe('PortfolioCalculator', () => {
unitPrice: new Big(320.43) unitPrice: new Big(320.43)
}, },
{ {
currency: 'CHF', currency: 'CHF', // TODO: Change to USD
date: '2017-12-31', date: '2017-12-31',
dataSource: 'YAHOO', dataSource: 'YAHOO',
fee: new Big(0), fee: new Big(0),
@ -98,7 +98,7 @@ describe('PortfolioCalculator', () => {
positions: [ positions: [
{ {
averagePrice: new Big('320.43'), averagePrice: new Big('320.43'),
currency: 'CHF', currency: 'CHF', // TODO: Change to USD
dataSource: 'YAHOO', dataSource: 'YAHOO',
fee: new Big('0'), fee: new Big('0'),
firstBuyDate: '2015-01-01', firstBuyDate: '2015-01-01',

Loading…
Cancel
Save