Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIEndpoint = "https://financialmodelingprep.com" IncomeStatementURL = "api/v3/income-statement" )
View Source
const ( Revenue = "Revenue" CostOfRevenue = "Cost of Revenue" ResearchAndDevelopmentExpenses = "Research and Development Expenses" GeneralAndAdministrativeExpenses = "General and Administrative Expenses" SellingAndMarketingExpenses = "Selling and Marketing Expenses" OtherExpenses = "Other Expenses" OperatingExpenses = "Operating Expenses" InterestExpense = "InterestExpense" DepreciationAndAmortization = "Depreciation and Amortization" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IncomeStatement ¶
type IncomeStatement struct { Symbol string `json:"symbol"` FillingDate string `json:"fillingDate"` CalendarYear string `json:"calendarYear"` Revenue float64 `json:"revenue"` CostOfRevenue float64 `json:"costOfRevenue"` GrossProfit float64 `json:"grossProfit"` ResearchAndDevelopmentExpenses float64 `json:"researchAndDevelopmentExpenses"` GeneralAndAdministrativeExpenses float64 `json:"generalAndAdministrativeExpenses"` SellingAndMarketingExpenses float64 `json:"sellingAndMarketingExpenses"` OtherExpenses float64 `json:"otherExpenses"` OperatingExpenses float64 `json:"operatingExpenses"` CostAndExpenses float64 `json:"costAndExpenses"` InterestIncome float64 `json:"interestIncome"` InterestExpense float64 `json:"interestExpense"` DepreciationAndAmortization float64 `json:"depreciationAndAmortization"` EBITDA float64 `json:"ebitda"` EBITDAratio float64 `json:"ebitdaratio"` OperatingIncome float64 `json:"operatingIncome"` OperatingIncomeRatio float64 `json:"operatingIncomeRatio"` TotalOtherIncomeExpensesNet float64 `json:"totalOtherIncomeExpensesNet"` IncomeBeforeTax float64 `json:"incomeBeforeTax"` IncomeBeforeTaxRatio float64 `json:"incomeBeforeTaxRatio"` IncomeTaxExpense float64 `json:"incomeTaxExpense"` NetIncome float64 `json:"netIncome"` }
func (*IncomeStatement) CalendarYearInt ¶
func (is *IncomeStatement) CalendarYearInt() (int, error)
type IncomeStatementOpts ¶
type IncomeStatements ¶
type IncomeStatements []IncomeStatement
func ParseIncomeStatements ¶
func ParseIncomeStatements(data []byte) (IncomeStatements, error)
func ParseIncomeStatementsFile ¶
func ParseIncomeStatementsFile(filename string) (IncomeStatements, error)
func (IncomeStatements) ChartAnnual ¶
func (iss IncomeStatements) ChartAnnual() (chart.Chart, error)
func (IncomeStatements) FinancialsMatrixAnnual ¶
func (iss IncomeStatements) FinancialsMatrixAnnual() ([][]int, error)
func (IncomeStatements) TimeSeriesSetAnnual ¶
func (iss IncomeStatements) TimeSeriesSetAnnual() (*timeseries.TimeSeriesSet, error)
Click to show internal directories.
Click to hide internal directories.