Documentation
¶
Index ¶
- Variables
- type FundamentalsBatch
- func (*FundamentalsBatch) Descriptor() ([]byte, []int)deprecated
- func (x *FundamentalsBatch) GetSnapshots() []*FundamentalsSnapshot
- func (*FundamentalsBatch) ProtoMessage()
- func (x *FundamentalsBatch) ProtoReflect() protoreflect.Message
- func (x *FundamentalsBatch) Reset()
- func (x *FundamentalsBatch) String() string
- type FundamentalsSnapshot
- func (*FundamentalsSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *FundamentalsSnapshot) GetAsOf() *timestamppb.Timestamp
- func (x *FundamentalsSnapshot) GetLines() []*LineItem
- func (x *FundamentalsSnapshot) GetMeta() *v1.Meta
- func (x *FundamentalsSnapshot) GetSecurity() *v1.SecurityId
- func (x *FundamentalsSnapshot) GetSource() string
- func (*FundamentalsSnapshot) ProtoMessage()
- func (x *FundamentalsSnapshot) ProtoReflect() protoreflect.Message
- func (x *FundamentalsSnapshot) Reset()
- func (x *FundamentalsSnapshot) String() string
- type LineItem
- func (*LineItem) Descriptor() ([]byte, []int)deprecated
- func (x *LineItem) GetCurrencyCode() string
- func (x *LineItem) GetKey() string
- func (x *LineItem) GetPeriodEnd() *timestamppb.Timestamp
- func (x *LineItem) GetPeriodStart() *timestamppb.Timestamp
- func (x *LineItem) GetValue() *v1.Decimal
- func (*LineItem) ProtoMessage()
- func (x *LineItem) ProtoReflect() protoreflect.Message
- func (x *LineItem) Reset()
- func (x *LineItem) String() string
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 (x *FundamentalsSnapshot) GetAsOf() *timestamppb.Timestamp
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) GetCurrencyCode ¶
func (*LineItem) GetPeriodEnd ¶
func (x *LineItem) GetPeriodEnd() *timestamppb.Timestamp
func (*LineItem) GetPeriodStart ¶
func (x *LineItem) GetPeriodStart() *timestamppb.Timestamp
func (*LineItem) ProtoMessage ¶
func (*LineItem) ProtoMessage()
func (*LineItem) ProtoReflect ¶
func (x *LineItem) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.