feat(portfolio): store and publish instrument sector and issuer (WealthLedger/main#48) (#148)
This commit was merged in pull request #148.
This commit is contained in:
@@ -4,6 +4,14 @@ import { MoneyDto } from '../../../../common/money.dto';
|
||||
import { AccountReferenceDto } from '../../account-reference.dto';
|
||||
import { InvestmentResourceMetaDto } from '../../investment-resource.dto';
|
||||
|
||||
export class PortfolioIssuerDto {
|
||||
@ApiProperty()
|
||||
declare id: string;
|
||||
|
||||
@ApiProperty()
|
||||
declare name: string;
|
||||
}
|
||||
|
||||
export class PortfolioPositionDto {
|
||||
@ApiPropertyOptional({ type: String, nullable: true })
|
||||
instrumentUid?: null | string;
|
||||
@@ -52,6 +60,12 @@ export class PortfolioPositionDto {
|
||||
|
||||
@ApiProperty({ type: String, nullable: true })
|
||||
declare logoName: null | string;
|
||||
|
||||
@ApiProperty({ type: String, nullable: true })
|
||||
declare sector: null | string;
|
||||
|
||||
@ApiProperty({ type: PortfolioIssuerDto, nullable: true })
|
||||
declare issuer: null | PortfolioIssuerDto;
|
||||
}
|
||||
|
||||
export class PortfolioStructureCategoryDto {
|
||||
|
||||
Reference in New Issue
Block a user