fundamentalsv1

package
v2.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ampy_fundamentals_v1_fundamentals_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FundamentalsBatch

type FundamentalsBatch struct {
	Snapshots []*FundamentalsSnapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*FundamentalsBatch) Descriptor deprecated

func (*FundamentalsBatch) Descriptor() ([]byte, []int)

Deprecated: Use FundamentalsBatch.ProtoReflect.Descriptor instead.

func (*FundamentalsBatch) GetSnapshots

func (x *FundamentalsBatch) GetSnapshots() []*FundamentalsSnapshot

func (*FundamentalsBatch) ProtoMessage

func (*FundamentalsBatch) ProtoMessage()

func (*FundamentalsBatch) ProtoReflect

func (x *FundamentalsBatch) ProtoReflect() protoreflect.Message

func (*FundamentalsBatch) Reset

func (x *FundamentalsBatch) Reset()

func (*FundamentalsBatch) String

func (x *FundamentalsBatch) String() string

type FundamentalsSnapshot

type FundamentalsSnapshot struct {
	Security *v1.SecurityId         `protobuf:"bytes,1,opt,name=security,proto3" json:"security,omitempty"`
	Lines    []*LineItem            `protobuf:"bytes,2,rep,name=lines,proto3" json:"lines,omitempty"`
	Source   string                 `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // e.g., tiingo, yfinance
	AsOf     *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=as_of,json=asOf,proto3" json:"as_of,omitempty"`
	Meta     *v1.Meta               `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*FundamentalsSnapshot) Descriptor deprecated

func (*FundamentalsSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use FundamentalsSnapshot.ProtoReflect.Descriptor instead.

func (*FundamentalsSnapshot) GetAsOf

func (*FundamentalsSnapshot) GetLines

func (x *FundamentalsSnapshot) GetLines() []*LineItem

func (*FundamentalsSnapshot) GetMeta

func (x *FundamentalsSnapshot) GetMeta() *v1.Meta

func (*FundamentalsSnapshot) GetSecurity

func (x *FundamentalsSnapshot) GetSecurity() *v1.SecurityId

func (*FundamentalsSnapshot) GetSource

func (x *FundamentalsSnapshot) GetSource() string

func (*FundamentalsSnapshot) ProtoMessage

func (*FundamentalsSnapshot) ProtoMessage()

func (*FundamentalsSnapshot) ProtoReflect

func (x *FundamentalsSnapshot) ProtoReflect() protoreflect.Message

func (*FundamentalsSnapshot) Reset

func (x *FundamentalsSnapshot) Reset()

func (*FundamentalsSnapshot) String

func (x *FundamentalsSnapshot) String() string

type LineItem

type LineItem struct {
	Key          string                 `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // e.g., "revenue", "net_income", "eps_basic"
	Value        *v1.Decimal            `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	CurrencyCode string                 `protobuf:"bytes,3,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` // ISO-4217; required for monetary lines
	PeriodStart  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=period_start,json=periodStart,proto3" json:"period_start,omitempty"`
	PeriodEnd    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=period_end,json=periodEnd,proto3" json:"period_end,omitempty"`
	// contains filtered or unexported fields
}

func (*LineItem) Descriptor deprecated

func (*LineItem) Descriptor() ([]byte, []int)

Deprecated: Use LineItem.ProtoReflect.Descriptor instead.

func (*LineItem) GetCurrencyCode

func (x *LineItem) GetCurrencyCode() string

func (*LineItem) GetKey

func (x *LineItem) GetKey() string

func (*LineItem) GetPeriodEnd

func (x *LineItem) GetPeriodEnd() *timestamppb.Timestamp

func (*LineItem) GetPeriodStart

func (x *LineItem) GetPeriodStart() *timestamppb.Timestamp

func (*LineItem) GetValue

func (x *LineItem) GetValue() *v1.Decimal

func (*LineItem) ProtoMessage

func (*LineItem) ProtoMessage()

func (*LineItem) ProtoReflect

func (x *LineItem) ProtoReflect() protoreflect.Message

func (*LineItem) Reset

func (x *LineItem) Reset()

func (*LineItem) String

func (x *LineItem) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL