UNPKG

@ixily/activ

Version:

Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.

43 lines (42 loc) 1.22 kB
import { CONTRACT_INTERFACES as CI } from '../..'; export interface IPortfolioEntry { reference?: string; pricing: CI.ITradeIdeaPricing; tracker?: string; notes: string; title?: string; asset: { ticker: string; description?: string; image?: CI.ITradeIdeaImage; alternativeProviderSymbols?: CI.ITradeIdeaIdeaAlternativeProviderSymbol[]; }; direction?: 'long' | 'short'; allocation: number; } export interface IPortfolioStrategyRequest { reference: string; name?: string; description?: string; image?: CI.ITradeIdeaImage; externalLink?: string; } export interface IPortfolioCreatorRequest { name: string; walletAddress?: string; company?: string; url?: string; companyLogo?: CI.ITradeIdeaImage; } export interface IPortfolioRequest { strategy: IPortfolioStrategyRequest; creator: IPortfolioCreatorRequest; portfolio: IPortfolioEntry[]; accessWallets?: string[] | undefined | 'public'; } export interface IPortfolioAssetRequest { strategy: IPortfolioStrategyRequest; creator: IPortfolioCreatorRequest; portfolioAsset: IPortfolioEntry; accessWallets?: string[] | undefined | 'public'; }