|
|
|
@ -149,7 +149,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 0,
|
|
|
|
|
date: new Date(),
|
|
|
|
|
id: '8d999347-dee2-46ee-88e1-26b344e71fcc',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 1,
|
|
|
|
|
symbol: 'BTCUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
@ -200,7 +199,7 @@ describe('Portfolio', () => {
|
|
|
|
|
// shareCurrent: 0.9999999559148652,
|
|
|
|
|
shareInvestment: 1,
|
|
|
|
|
symbol: 'BTCUSD',
|
|
|
|
|
transactionCount: 0,
|
|
|
|
|
transactionCount: 1,
|
|
|
|
|
type: 'Cryptocurrency'
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -251,7 +250,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 0,
|
|
|
|
|
date: new Date(getUtc('2018-01-05')),
|
|
|
|
|
id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.2,
|
|
|
|
|
symbol: 'ETHUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
@ -347,7 +345,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 0,
|
|
|
|
|
date: new Date(getUtc('2018-01-05')),
|
|
|
|
|
id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.2,
|
|
|
|
|
symbol: 'ETHUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
@ -364,7 +361,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 0,
|
|
|
|
|
date: new Date(getUtc('2018-01-28')),
|
|
|
|
|
id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fc',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.3,
|
|
|
|
|
symbol: 'ETHUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
@ -425,7 +421,6 @@ describe('Portfolio', () => {
|
|
|
|
|
date: new Date(getUtc('2017-08-16')),
|
|
|
|
|
fee: 2.99,
|
|
|
|
|
id: 'd96795b2-6ae6-420e-aa21-fabe5e45d475',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.05614682,
|
|
|
|
|
symbol: 'BTCUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
@ -442,7 +437,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 2.99,
|
|
|
|
|
date: new Date(getUtc('2018-01-05')),
|
|
|
|
|
id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.2,
|
|
|
|
|
symbol: 'ETHUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
@ -516,7 +510,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 1.0,
|
|
|
|
|
date: new Date(getUtc('2018-01-05')),
|
|
|
|
|
id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.2,
|
|
|
|
|
symbol: 'ETHUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
@ -533,7 +526,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 1.0,
|
|
|
|
|
date: new Date(getUtc('2018-01-28')),
|
|
|
|
|
id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fc',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.1,
|
|
|
|
|
symbol: 'ETHUSD',
|
|
|
|
|
type: Type.SELL,
|
|
|
|
@ -550,7 +542,6 @@ describe('Portfolio', () => {
|
|
|
|
|
fee: 1.0,
|
|
|
|
|
date: new Date(getUtc('2018-01-31')),
|
|
|
|
|
id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fc',
|
|
|
|
|
platformId: null,
|
|
|
|
|
quantity: 0.2,
|
|
|
|
|
symbol: 'ETHUSD',
|
|
|
|
|
type: Type.BUY,
|
|
|
|
|