initial masterExchanges
This commit is contained in:
parent
d068898e32
commit
660a2a1ec2
7 changed files with 446 additions and 3 deletions
|
|
@ -12,6 +12,8 @@ export type {
|
|||
AnalystReport,
|
||||
DocumentBase,
|
||||
EarningsTranscript,
|
||||
ExchangeSourceMapping,
|
||||
MasterExchange,
|
||||
NewsArticle,
|
||||
RawDocument,
|
||||
SecFiling,
|
||||
|
|
|
|||
|
|
@ -198,3 +198,34 @@ export interface AnalystReport extends DocumentBase {
|
|||
key_points: string[];
|
||||
financial_projections?: Record<string, number>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Exchange-related types
|
||||
*/
|
||||
export interface ExchangeSourceMapping {
|
||||
id: string;
|
||||
name: string;
|
||||
code?: string;
|
||||
aliases?: string[];
|
||||
lastUpdated: Date;
|
||||
}
|
||||
|
||||
export interface MasterExchange extends DocumentBase {
|
||||
masterExchangeId: string;
|
||||
shortName?: string;
|
||||
officialName: string;
|
||||
country: string;
|
||||
currency: string;
|
||||
timezone: string;
|
||||
active?: boolean;
|
||||
|
||||
tradingHours?: {
|
||||
open: string;
|
||||
close: string;
|
||||
timezone: string;
|
||||
};
|
||||
|
||||
sourceMappings: Record<string, ExchangeSourceMapping>;
|
||||
confidence: number;
|
||||
verified: boolean;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue