Feature/respect data source in symbol data endpoint (#370)

* Respect data source in symbol data endpoint

* Respect data source in the data provider service

* Combine symbol with data source in get() of data provider service

* Improve search functionality for multiple data sources

* Update changelog
This commit is contained in:
Thomas Kaul
2021-09-18 19:32:22 +02:00
committed by GitHub
parent 641fe4e8f4
commit 0f72673ef4
23 changed files with 387 additions and 181 deletions

View File

@@ -1,9 +1,10 @@
import { Currency } from '@prisma/client';
import { Currency, DataSource } from '@prisma/client';
import Big from 'big.js';
export interface TimelinePosition {
averagePrice: Big;
currency: Currency;
dataSource: DataSource;
firstBuyDate: string;
grossPerformance: Big;
grossPerformancePercentage: Big;