financialmodelingprep

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: MIT Imports: 17 Imported by: 0

README

go-financialmodelingprep

Offer an standardarized Go client for Financial Modeling Prep API.

Install
go get github.com/zhoub/go-financialmodelingprep
Usage
// Create client with API key.
c := MustClient(&ClientOptions{APIKey: apiKey})

// Call API to get data.
c.GetCompanyProfile(context.Background(), &ProfileGetParams{Symbol: "AAPL"})

Documentation

Overview

Package financialmodelingprep provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version 6efb8729c49d05fcc2d90d9553b4bccb0e2e9055 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)

Variables

This section is empty.

Functions

func Get added in v0.1.1

func Get(ctx context.Context, c *ClientWithResponses, path OperationPath, params map[string]interface{}) (*http.Response, error)

Get executes an API operation using the provided client, context, operation path, and parameters.

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewAnalystEstimatesGetRequest

func NewAnalystEstimatesGetRequest(server string, params *AnalystEstimatesGetParams) (*http.Request, error)

NewAnalystEstimatesGetRequest generates requests for AnalystEstimatesGet

func NewBalanceSheetStatementGetRequest

func NewBalanceSheetStatementGetRequest(server string, params *BalanceSheetStatementGetParams) (*http.Request, error)

NewBalanceSheetStatementGetRequest generates requests for BalanceSheetStatementGet

func NewBalanceSheetStatementTtmGetRequest

func NewBalanceSheetStatementTtmGetRequest(server string, params *BalanceSheetStatementTtmGetParams) (*http.Request, error)

NewBalanceSheetStatementTtmGetRequest generates requests for BalanceSheetStatementTtmGet

func NewBatchQuoteGetRequest

func NewBatchQuoteGetRequest(server string, params *BatchQuoteGetParams) (*http.Request, error)

NewBatchQuoteGetRequest generates requests for BatchQuoteGet

func NewBatchQuoteShortGetRequest

func NewBatchQuoteShortGetRequest(server string, params *BatchQuoteShortGetParams) (*http.Request, error)

NewBatchQuoteShortGetRequest generates requests for BatchQuoteShortGet

func NewCashFlowStatementGetRequest

func NewCashFlowStatementGetRequest(server string, params *CashFlowStatementGetParams) (*http.Request, error)

NewCashFlowStatementGetRequest generates requests for CashFlowStatementGet

func NewCashFlowStatementTtmGetRequest

func NewCashFlowStatementTtmGetRequest(server string, params *CashFlowStatementTtmGetParams) (*http.Request, error)

NewCashFlowStatementTtmGetRequest generates requests for CashFlowStatementTtmGet

func NewEconomicCalendarGetRequest

func NewEconomicCalendarGetRequest(server string, params *EconomicCalendarGetParams) (*http.Request, error)

NewEconomicCalendarGetRequest generates requests for EconomicCalendarGet

func NewEsgDisclosuresGetRequest

func NewEsgDisclosuresGetRequest(server string, params *EsgDisclosuresGetParams) (*http.Request, error)

NewEsgDisclosuresGetRequest generates requests for EsgDisclosuresGet

func NewEsgRatingsGetRequest

func NewEsgRatingsGetRequest(server string, params *EsgRatingsGetParams) (*http.Request, error)

NewEsgRatingsGetRequest generates requests for EsgRatingsGet

func NewGradesLatestNewsGetRequest

func NewGradesLatestNewsGetRequest(server string, params *GradesLatestNewsGetParams) (*http.Request, error)

NewGradesLatestNewsGetRequest generates requests for GradesLatestNewsGet

func NewHistoricalPriceEodFullGetRequest

func NewHistoricalPriceEodFullGetRequest(server string, params *HistoricalPriceEodFullGetParams) (*http.Request, error)

NewHistoricalPriceEodFullGetRequest generates requests for HistoricalPriceEodFullGet

func NewHistoricalPriceEodLightGetRequest

func NewHistoricalPriceEodLightGetRequest(server string, params *HistoricalPriceEodLightGetParams) (*http.Request, error)

NewHistoricalPriceEodLightGetRequest generates requests for HistoricalPriceEodLightGet

func NewIncomeStatementGetRequest

func NewIncomeStatementGetRequest(server string, params *IncomeStatementGetParams) (*http.Request, error)

NewIncomeStatementGetRequest generates requests for IncomeStatementGet

func NewIncomeStatementTtmGetRequest

func NewIncomeStatementTtmGetRequest(server string, params *IncomeStatementTtmGetParams) (*http.Request, error)

NewIncomeStatementTtmGetRequest generates requests for IncomeStatementTtmGet

func NewInsiderTradingLatestGetRequest

func NewInsiderTradingLatestGetRequest(server string, params *InsiderTradingLatestGetParams) (*http.Request, error)

NewInsiderTradingLatestGetRequest generates requests for InsiderTradingLatestGet

func NewKeyMetricsGetRequest

func NewKeyMetricsGetRequest(server string, params *KeyMetricsGetParams) (*http.Request, error)

NewKeyMetricsGetRequest generates requests for KeyMetricsGet

func NewMarketCapitalizationBatchGetRequest

func NewMarketCapitalizationBatchGetRequest(server string, params *MarketCapitalizationBatchGetParams) (*http.Request, error)

NewMarketCapitalizationBatchGetRequest generates requests for MarketCapitalizationBatchGet

func NewMarketCapitalizationGetRequest

func NewMarketCapitalizationGetRequest(server string, params *MarketCapitalizationGetParams) (*http.Request, error)

NewMarketCapitalizationGetRequest generates requests for MarketCapitalizationGet

func NewNewsGeneralLatestGetRequest

func NewNewsGeneralLatestGetRequest(server string, params *NewsGeneralLatestGetParams) (*http.Request, error)

NewNewsGeneralLatestGetRequest generates requests for NewsGeneralLatestGet

func NewProfileGetRequest

func NewProfileGetRequest(server string, params *ProfileGetParams) (*http.Request, error)

NewProfileGetRequest generates requests for ProfileGet

func NewQuoteGetRequest

func NewQuoteGetRequest(server string, params *QuoteGetParams) (*http.Request, error)

NewQuoteGetRequest generates requests for QuoteGet

func NewQuoteShortGetRequest

func NewQuoteShortGetRequest(server string, params *QuoteShortGetParams) (*http.Request, error)

NewQuoteShortGetRequest generates requests for QuoteShortGet

func NewRatingsSnapshotGetRequest

func NewRatingsSnapshotGetRequest(server string, params *RatingsSnapshotGetParams) (*http.Request, error)

NewRatingsSnapshotGetRequest generates requests for RatingsSnapshotGet

func NewRatiosGetRequest

func NewRatiosGetRequest(server string, params *RatiosGetParams) (*http.Request, error)

NewRatiosGetRequest generates requests for RatiosGet

func NewRevenueGeographicSegmentationGetRequest

func NewRevenueGeographicSegmentationGetRequest(server string, params *RevenueGeographicSegmentationGetParams) (*http.Request, error)

NewRevenueGeographicSegmentationGetRequest generates requests for RevenueGeographicSegmentationGet

func NewRevenueProductSegmentationGetRequest

func NewRevenueProductSegmentationGetRequest(server string, params *RevenueProductSegmentationGetParams) (*http.Request, error)

NewRevenueProductSegmentationGetRequest generates requests for RevenueProductSegmentationGet

func NewSearchNameGetRequest

func NewSearchNameGetRequest(server string, params *SearchNameGetParams) (*http.Request, error)

NewSearchNameGetRequest generates requests for SearchNameGet

func NewSearchSymbolGetRequest

func NewSearchSymbolGetRequest(server string, params *SearchSymbolGetParams) (*http.Request, error)

NewSearchSymbolGetRequest generates requests for SearchSymbolGet

func NewSharesFloatGetRequest

func NewSharesFloatGetRequest(server string, params *SharesFloatGetParams) (*http.Request, error)

NewSharesFloatGetRequest generates requests for SharesFloatGet

func NewTreasuryRatesGetRequest

func NewTreasuryRatesGetRequest(server string, params *TreasuryRatesGetParams) (*http.Request, error)

NewTreasuryRatesGetRequest generates requests for TreasuryRatesGet

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AnalystEstimatesGetClientResponse

type AnalystEstimatesGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]FinancialEstimates
}

func ParseAnalystEstimatesGetClientResponse

func ParseAnalystEstimatesGetClientResponse(rsp *http.Response) (*AnalystEstimatesGetClientResponse, error)

ParseAnalystEstimatesGetClientResponse parses an HTTP response from a AnalystEstimatesGetWithResponse call

func (AnalystEstimatesGetClientResponse) Status

Status returns HTTPResponse.Status

func (AnalystEstimatesGetClientResponse) StatusCode

func (r AnalystEstimatesGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnalystEstimatesGetParams

type AnalystEstimatesGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
	Period string `form:"period" json:"period"`
	Page   *int   `form:"page,omitempty" json:"page,omitempty"`
	Limit  *int   `form:"limit,omitempty" json:"limit,omitempty"`
}

AnalystEstimatesGetParams defines parameters for AnalystEstimatesGet.

type BalanceSheetStatement

type BalanceSheetStatement struct {
	AcceptedDate                            string             `json:"acceptedDate"`
	AccountPayables                         float64            `json:"accountPayables"`
	AccountsReceivables                     float64            `json:"accountsReceivables"`
	AccruedExpenses                         float64            `json:"accruedExpenses"`
	AccumulatedOtherComprehensiveIncomeLoss float64            `json:"accumulatedOtherComprehensiveIncomeLoss"`
	AdditionalPaidInCapital                 float64            `json:"additionalPaidInCapital"`
	CapitalLeaseObligations                 float64            `json:"capitalLeaseObligations"`
	CapitalLeaseObligationsCurrent          float64            `json:"capitalLeaseObligationsCurrent"`
	CashAndCashEquivalents                  float64            `json:"cashAndCashEquivalents"`
	CashAndShortTermInvestments             float64            `json:"cashAndShortTermInvestments"`
	Cik                                     string             `json:"cik"`
	CommonStock                             float64            `json:"commonStock"`
	Date                                    openapi_types.Date `json:"date"`
	DeferredRevenue                         float64            `json:"deferredRevenue"`
	DeferredRevenueNonCurrent               float64            `json:"deferredRevenueNonCurrent"`
	DeferredTaxLiabilitiesNonCurrent        float64            `json:"deferredTaxLiabilitiesNonCurrent"`
	FilingDate                              openapi_types.Date `json:"filingDate"`
	FiscalYear                              string             `json:"fiscalYear"`
	Goodwill                                float64            `json:"goodwill"`
	GoodwillAndIntangibleAssets             float64            `json:"goodwillAndIntangibleAssets"`
	IntangibleAssets                        float64            `json:"intangibleAssets"`
	Inventory                               float64            `json:"inventory"`
	LongTermDebt                            float64            `json:"longTermDebt"`
	LongTermInvestments                     float64            `json:"longTermInvestments"`
	MinorityInterest                        float64            `json:"minorityInterest"`
	NetDebt                                 float64            `json:"netDebt"`
	NetReceivables                          float64            `json:"netReceivables"`
	OtherAssets                             float64            `json:"otherAssets"`
	OtherCurrentAssets                      float64            `json:"otherCurrentAssets"`
	OtherCurrentLiabilities                 float64            `json:"otherCurrentLiabilities"`
	OtherLiabilities                        float64            `json:"otherLiabilities"`
	OtherNonCurrentAssets                   float64            `json:"otherNonCurrentAssets"`
	OtherNonCurrentLiabilities              float64            `json:"otherNonCurrentLiabilities"`
	OtherPayables                           float64            `json:"otherPayables"`
	OtherReceivables                        float64            `json:"otherReceivables"`
	OtherTotalStockholdersEquity            float64            `json:"otherTotalStockholdersEquity"`
	Period                                  string             `json:"period"`
	PreferredStock                          float64            `json:"preferredStock"`
	Prepaids                                float64            `json:"prepaids"`
	PropertyPlantEquipmentNet               float64            `json:"propertyPlantEquipmentNet"`
	ReportedCurrency                        string             `json:"reportedCurrency"`
	RetainedEarnings                        float64            `json:"retainedEarnings"`
	ShortTermDebt                           float64            `json:"shortTermDebt"`
	ShortTermInvestments                    float64            `json:"shortTermInvestments"`
	Symbol                                  string             `json:"symbol"`
	TaxAssets                               float64            `json:"taxAssets"`
	TaxPayables                             float64            `json:"taxPayables"`
	TotalAssets                             float64            `json:"totalAssets"`
	TotalCurrentAssets                      float64            `json:"totalCurrentAssets"`
	TotalCurrentLiabilities                 float64            `json:"totalCurrentLiabilities"`
	TotalDebt                               float64            `json:"totalDebt"`
	TotalEquity                             float64            `json:"totalEquity"`
	TotalInvestments                        float64            `json:"totalInvestments"`
	TotalLiabilities                        float64            `json:"totalLiabilities"`
	TotalLiabilitiesAndTotalEquity          float64            `json:"totalLiabilitiesAndTotalEquity"`
	TotalNonCurrentAssets                   float64            `json:"totalNonCurrentAssets"`
	TotalNonCurrentLiabilities              float64            `json:"totalNonCurrentLiabilities"`
	TotalPayables                           float64            `json:"totalPayables"`
	TotalStockholdersEquity                 float64            `json:"totalStockholdersEquity"`
	TreasuryStock                           float64            `json:"treasuryStock"`
}

BalanceSheetStatement defines model for BalanceSheetStatement.

type BalanceSheetStatementGetClientResponse

type BalanceSheetStatementGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BalanceSheetStatement
}

func ParseBalanceSheetStatementGetClientResponse

func ParseBalanceSheetStatementGetClientResponse(rsp *http.Response) (*BalanceSheetStatementGetClientResponse, error)

ParseBalanceSheetStatementGetClientResponse parses an HTTP response from a BalanceSheetStatementGetWithResponse call

func (BalanceSheetStatementGetClientResponse) Status

Status returns HTTPResponse.Status

func (BalanceSheetStatementGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BalanceSheetStatementGetParams

type BalanceSheetStatementGetParams struct {
	Symbol string  `form:"symbol" json:"symbol"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Period *Period `form:"period,omitempty" json:"period,omitempty"`
}

BalanceSheetStatementGetParams defines parameters for BalanceSheetStatementGet.

type BalanceSheetStatementTtm

type BalanceSheetStatementTtm struct {
	AcceptedDate                            string             `json:"acceptedDate"`
	AccountPayables                         float32            `json:"accountPayables"`
	AccountsReceivables                     float32            `json:"accountsReceivables"`
	AccruedExpenses                         float32            `json:"accruedExpenses"`
	AccumulatedOtherComprehensiveIncomeLoss float32            `json:"accumulatedOtherComprehensiveIncomeLoss"`
	AdditionalPaidInCapital                 float32            `json:"additionalPaidInCapital"`
	CapitalLeaseObligations                 float32            `json:"capitalLeaseObligations"`
	CapitalLeaseObligationsCurrent          float32            `json:"capitalLeaseObligationsCurrent"`
	CashAndCashEquivalents                  float32            `json:"cashAndCashEquivalents"`
	CashAndShortTermInvestments             float32            `json:"cashAndShortTermInvestments"`
	Cik                                     string             `json:"cik"`
	CommonStock                             float32            `json:"commonStock"`
	Date                                    openapi_types.Date `json:"date"`
	DeferredRevenue                         float32            `json:"deferredRevenue"`
	DeferredRevenueNonCurrent               float32            `json:"deferredRevenueNonCurrent"`
	DeferredTaxLiabilitiesNonCurrent        float32            `json:"deferredTaxLiabilitiesNonCurrent"`
	FilingDate                              openapi_types.Date `json:"filingDate"`
	FiscalYear                              string             `json:"fiscalYear"`
	Goodwill                                float32            `json:"goodwill"`
	GoodwillAndIntangibleAssets             float32            `json:"goodwillAndIntangibleAssets"`
	IntangibleAssets                        float32            `json:"intangibleAssets"`
	Inventory                               float32            `json:"inventory"`
	LongTermDebt                            float32            `json:"longTermDebt"`
	LongTermInvestments                     float32            `json:"longTermInvestments"`
	MinorityInterest                        float32            `json:"minorityInterest"`
	NetDebt                                 float32            `json:"netDebt"`
	NetReceivables                          float32            `json:"netReceivables"`
	OtherAssets                             float32            `json:"otherAssets"`
	OtherCurrentAssets                      float32            `json:"otherCurrentAssets"`
	OtherCurrentLiabilities                 float32            `json:"otherCurrentLiabilities"`
	OtherLiabilities                        float32            `json:"otherLiabilities"`
	OtherNonCurrentAssets                   float32            `json:"otherNonCurrentAssets"`
	OtherNonCurrentLiabilities              float32            `json:"otherNonCurrentLiabilities"`
	OtherPayables                           float32            `json:"otherPayables"`
	OtherReceivables                        float32            `json:"otherReceivables"`
	OtherTotalStockholdersEquity            float32            `json:"otherTotalStockholdersEquity"`
	Period                                  string             `json:"period"`
	PreferredStock                          float32            `json:"preferredStock"`
	Prepaids                                float32            `json:"prepaids"`
	PropertyPlantEquipmentNet               float32            `json:"propertyPlantEquipmentNet"`
	ReportedCurrency                        string             `json:"reportedCurrency"`
	RetainedEarnings                        float32            `json:"retainedEarnings"`
	ShortTermDebt                           float32            `json:"shortTermDebt"`
	ShortTermInvestments                    float32            `json:"shortTermInvestments"`
	Symbol                                  string             `json:"symbol"`
	TaxAssets                               float32            `json:"taxAssets"`
	TaxPayables                             float32            `json:"taxPayables"`
	TotalAssets                             float32            `json:"totalAssets"`
	TotalCurrentAssets                      float32            `json:"totalCurrentAssets"`
	TotalCurrentLiabilities                 float32            `json:"totalCurrentLiabilities"`
	TotalDebt                               float32            `json:"totalDebt"`
	TotalEquity                             float32            `json:"totalEquity"`
	TotalInvestments                        float32            `json:"totalInvestments"`
	TotalLiabilities                        float32            `json:"totalLiabilities"`
	TotalLiabilitiesAndTotalEquity          float32            `json:"totalLiabilitiesAndTotalEquity"`
	TotalNonCurrentAssets                   float32            `json:"totalNonCurrentAssets"`
	TotalNonCurrentLiabilities              float32            `json:"totalNonCurrentLiabilities"`
	TotalPayables                           float32            `json:"totalPayables"`
	TotalStockholdersEquity                 float32            `json:"totalStockholdersEquity"`
	TreasuryStock                           float32            `json:"treasuryStock"`
}

BalanceSheetStatementTtm defines model for BalanceSheetStatementTtm.

type BalanceSheetStatementTtmGetClientResponse

type BalanceSheetStatementTtmGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BalanceSheetStatementTtm
}

func ParseBalanceSheetStatementTtmGetClientResponse

func ParseBalanceSheetStatementTtmGetClientResponse(rsp *http.Response) (*BalanceSheetStatementTtmGetClientResponse, error)

ParseBalanceSheetStatementTtmGetClientResponse parses an HTTP response from a BalanceSheetStatementTtmGetWithResponse call

func (BalanceSheetStatementTtmGetClientResponse) Status

Status returns HTTPResponse.Status

func (BalanceSheetStatementTtmGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BalanceSheetStatementTtmGetParams

type BalanceSheetStatementTtmGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
	Limit  *int   `form:"limit,omitempty" json:"limit,omitempty"`
}

BalanceSheetStatementTtmGetParams defines parameters for BalanceSheetStatementTtmGet.

type BatchQuoteGetClientResponse

type BatchQuoteGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]FullQuote
}

func ParseBatchQuoteGetClientResponse

func ParseBatchQuoteGetClientResponse(rsp *http.Response) (*BatchQuoteGetClientResponse, error)

ParseBatchQuoteGetClientResponse parses an HTTP response from a BatchQuoteGetWithResponse call

func (BatchQuoteGetClientResponse) Status

Status returns HTTPResponse.Status

func (BatchQuoteGetClientResponse) StatusCode

func (r BatchQuoteGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BatchQuoteGetParams

type BatchQuoteGetParams struct {
	Symbols string `form:"symbols" json:"symbols"`
}

BatchQuoteGetParams defines parameters for BatchQuoteGet.

type BatchQuoteShortGetClientResponse

type BatchQuoteShortGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ShortQuote
}

func ParseBatchQuoteShortGetClientResponse

func ParseBatchQuoteShortGetClientResponse(rsp *http.Response) (*BatchQuoteShortGetClientResponse, error)

ParseBatchQuoteShortGetClientResponse parses an HTTP response from a BatchQuoteShortGetWithResponse call

func (BatchQuoteShortGetClientResponse) Status

Status returns HTTPResponse.Status

func (BatchQuoteShortGetClientResponse) StatusCode

func (r BatchQuoteShortGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BatchQuoteShortGetParams

type BatchQuoteShortGetParams struct {
	Symbols string `form:"symbols" json:"symbols"`
}

BatchQuoteShortGetParams defines parameters for BatchQuoteShortGet.

type CashFlowStatement

type CashFlowStatement struct {
	AcceptedDate                           string             `json:"acceptedDate"`
	AccountsPayables                       float64            `json:"accountsPayables"`
	AccountsReceivables                    float64            `json:"accountsReceivables"`
	AcquisitionsNet                        float64            `json:"acquisitionsNet"`
	CapitalExpenditure                     float64            `json:"capitalExpenditure"`
	CashAtBeginningOfPeriod                float64            `json:"cashAtBeginningOfPeriod"`
	CashAtEndOfPeriod                      float64            `json:"cashAtEndOfPeriod"`
	ChangeInWorkingCapital                 float64            `json:"changeInWorkingCapital"`
	Cik                                    string             `json:"cik"`
	CommonDividendsPaid                    float64            `json:"commonDividendsPaid"`
	CommonStockIssuance                    float64            `json:"commonStockIssuance"`
	CommonStockRepurchased                 float64            `json:"commonStockRepurchased"`
	Date                                   openapi_types.Date `json:"date"`
	DeferredIncomeTax                      float64            `json:"deferredIncomeTax"`
	DepreciationAndAmortization            float64            `json:"depreciationAndAmortization"`
	EffectOfForexChangesOnCash             float64            `json:"effectOfForexChangesOnCash"`
	FilingDate                             openapi_types.Date `json:"filingDate"`
	FiscalYear                             string             `json:"fiscalYear"`
	FreeCashFlow                           float64            `json:"freeCashFlow"`
	IncomeTaxesPaid                        float64            `json:"incomeTaxesPaid"`
	InterestPaid                           float64            `json:"interestPaid"`
	Inventory                              float64            `json:"inventory"`
	InvestmentsInPropertyPlantAndEquipment float64            `json:"investmentsInPropertyPlantAndEquipment"`
	LongTermNetDebtIssuance                float64            `json:"longTermNetDebtIssuance"`
	NetCashProvidedByFinancingActivities   float64            `json:"netCashProvidedByFinancingActivities"`
	NetCashProvidedByInvestingActivities   float64            `json:"netCashProvidedByInvestingActivities"`
	NetCashProvidedByOperatingActivities   float64            `json:"netCashProvidedByOperatingActivities"`
	NetChangeInCash                        float64            `json:"netChangeInCash"`
	NetCommonStockIssuance                 float64            `json:"netCommonStockIssuance"`
	NetDebtIssuance                        float64            `json:"netDebtIssuance"`
	NetDividendsPaid                       float64            `json:"netDividendsPaid"`
	NetIncome                              float64            `json:"netIncome"`
	NetPreferredStockIssuance              float64            `json:"netPreferredStockIssuance"`
	NetStockIssuance                       float64            `json:"netStockIssuance"`
	OperatingCashFlow                      float64            `json:"operatingCashFlow"`
	OtherFinancingActivities               float64            `json:"otherFinancingActivities"`
	OtherInvestingActivities               float64            `json:"otherInvestingActivities"`
	OtherNonCashItems                      float64            `json:"otherNonCashItems"`
	OtherWorkingCapital                    float64            `json:"otherWorkingCapital"`
	Period                                 string             `json:"period"`
	PreferredDividendsPaid                 float64            `json:"preferredDividendsPaid"`
	PurchasesOfInvestments                 float64            `json:"purchasesOfInvestments"`
	ReportedCurrency                       string             `json:"reportedCurrency"`
	SalesMaturitiesOfInvestments           float64            `json:"salesMaturitiesOfInvestments"`
	ShortTermNetDebtIssuance               float64            `json:"shortTermNetDebtIssuance"`
	StockBasedCompensation                 float64            `json:"stockBasedCompensation"`
	Symbol                                 string             `json:"symbol"`
}

CashFlowStatement defines model for CashFlowStatement.

type CashFlowStatementGetClientResponse

type CashFlowStatementGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CashFlowStatement
}

func ParseCashFlowStatementGetClientResponse

func ParseCashFlowStatementGetClientResponse(rsp *http.Response) (*CashFlowStatementGetClientResponse, error)

ParseCashFlowStatementGetClientResponse parses an HTTP response from a CashFlowStatementGetWithResponse call

func (CashFlowStatementGetClientResponse) Status

Status returns HTTPResponse.Status

func (CashFlowStatementGetClientResponse) StatusCode

func (r CashFlowStatementGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CashFlowStatementGetParams

type CashFlowStatementGetParams struct {
	Symbol string  `form:"symbol" json:"symbol"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Period *Period `form:"period,omitempty" json:"period,omitempty"`
}

CashFlowStatementGetParams defines parameters for CashFlowStatementGet.

type CashFlowStatementTtm

type CashFlowStatementTtm struct {
	AcceptedDate                           string             `json:"acceptedDate"`
	AccountsPayables                       float64            `json:"accountsPayables"`
	AccountsReceivables                    float64            `json:"accountsReceivables"`
	AcquisitionsNet                        float64            `json:"acquisitionsNet"`
	CapitalExpenditure                     float64            `json:"capitalExpenditure"`
	CashAtBeginningOfPeriod                float64            `json:"cashAtBeginningOfPeriod"`
	CashAtEndOfPeriod                      float64            `json:"cashAtEndOfPeriod"`
	ChangeInWorkingCapital                 float64            `json:"changeInWorkingCapital"`
	Cik                                    string             `json:"cik"`
	CommonDividendsPaid                    float64            `json:"commonDividendsPaid"`
	CommonStockIssuance                    float64            `json:"commonStockIssuance"`
	CommonStockRepurchased                 float64            `json:"commonStockRepurchased"`
	Date                                   openapi_types.Date `json:"date"`
	DeferredIncomeTax                      float64            `json:"deferredIncomeTax"`
	DepreciationAndAmortization            float64            `json:"depreciationAndAmortization"`
	EffectOfForexChangesOnCash             float64            `json:"effectOfForexChangesOnCash"`
	FilingDate                             openapi_types.Date `json:"filingDate"`
	FiscalYear                             string             `json:"fiscalYear"`
	FreeCashFlow                           float64            `json:"freeCashFlow"`
	IncomeTaxesPaid                        float64            `json:"incomeTaxesPaid"`
	InterestPaid                           float64            `json:"interestPaid"`
	Inventory                              float64            `json:"inventory"`
	InvestmentsInPropertyPlantAndEquipment float64            `json:"investmentsInPropertyPlantAndEquipment"`
	LongTermNetDebtIssuance                float64            `json:"longTermNetDebtIssuance"`
	NetCashProvidedByFinancingActivities   float64            `json:"netCashProvidedByFinancingActivities"`
	NetCashProvidedByInvestingActivities   float64            `json:"netCashProvidedByInvestingActivities"`
	NetCashProvidedByOperatingActivities   float64            `json:"netCashProvidedByOperatingActivities"`
	NetChangeInCash                        float64            `json:"netChangeInCash"`
	NetCommonStockIssuance                 float64            `json:"netCommonStockIssuance"`
	NetDebtIssuance                        float64            `json:"netDebtIssuance"`
	NetDividendsPaid                       float64            `json:"netDividendsPaid"`
	NetIncome                              float64            `json:"netIncome"`
	NetPreferredStockIssuance              float64            `json:"netPreferredStockIssuance"`
	NetStockIssuance                       float64            `json:"netStockIssuance"`
	OperatingCashFlow                      float64            `json:"operatingCashFlow"`
	OtherFinancingActivities               float64            `json:"otherFinancingActivities"`
	OtherInvestingActivities               float64            `json:"otherInvestingActivities"`
	OtherNonCashItems                      float64            `json:"otherNonCashItems"`
	OtherWorkingCapital                    float64            `json:"otherWorkingCapital"`
	Period                                 string             `json:"period"`
	PreferredDividendsPaid                 float64            `json:"preferredDividendsPaid"`
	PurchasesOfInvestments                 float64            `json:"purchasesOfInvestments"`
	ReportedCurrency                       string             `json:"reportedCurrency"`
	SalesMaturitiesOfInvestments           float64            `json:"salesMaturitiesOfInvestments"`
	ShortTermNetDebtIssuance               float64            `json:"shortTermNetDebtIssuance"`
	StockBasedCompensation                 float64            `json:"stockBasedCompensation"`
	Symbol                                 string             `json:"symbol"`
}

CashFlowStatementTtm defines model for CashFlowStatementTtm.

type CashFlowStatementTtmGetClientResponse

type CashFlowStatementTtmGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CashFlowStatementTtm
}

func ParseCashFlowStatementTtmGetClientResponse

func ParseCashFlowStatementTtmGetClientResponse(rsp *http.Response) (*CashFlowStatementTtmGetClientResponse, error)

ParseCashFlowStatementTtmGetClientResponse parses an HTTP response from a CashFlowStatementTtmGetWithResponse call

func (CashFlowStatementTtmGetClientResponse) Status

Status returns HTTPResponse.Status

func (CashFlowStatementTtmGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CashFlowStatementTtmGetParams

type CashFlowStatementTtmGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
	Limit  *int   `form:"limit,omitempty" json:"limit,omitempty"`
}

CashFlowStatementTtmGetParams defines parameters for CashFlowStatementTtmGet.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AnalystEstimatesGet

func (c *Client) AnalystEstimatesGet(ctx context.Context, params *AnalystEstimatesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BalanceSheetStatementGet

func (c *Client) BalanceSheetStatementGet(ctx context.Context, params *BalanceSheetStatementGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BalanceSheetStatementTtmGet

func (c *Client) BalanceSheetStatementTtmGet(ctx context.Context, params *BalanceSheetStatementTtmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BatchQuoteGet

func (c *Client) BatchQuoteGet(ctx context.Context, params *BatchQuoteGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BatchQuoteShortGet

func (c *Client) BatchQuoteShortGet(ctx context.Context, params *BatchQuoteShortGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CashFlowStatementGet

func (c *Client) CashFlowStatementGet(ctx context.Context, params *CashFlowStatementGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CashFlowStatementTtmGet

func (c *Client) CashFlowStatementTtmGet(ctx context.Context, params *CashFlowStatementTtmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EconomicCalendarGet

func (c *Client) EconomicCalendarGet(ctx context.Context, params *EconomicCalendarGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EsgDisclosuresGet

func (c *Client) EsgDisclosuresGet(ctx context.Context, params *EsgDisclosuresGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EsgRatingsGet

func (c *Client) EsgRatingsGet(ctx context.Context, params *EsgRatingsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GradesLatestNewsGet

func (c *Client) GradesLatestNewsGet(ctx context.Context, params *GradesLatestNewsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HistoricalPriceEodFullGet

func (c *Client) HistoricalPriceEodFullGet(ctx context.Context, params *HistoricalPriceEodFullGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HistoricalPriceEodLightGet

func (c *Client) HistoricalPriceEodLightGet(ctx context.Context, params *HistoricalPriceEodLightGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncomeStatementGet

func (c *Client) IncomeStatementGet(ctx context.Context, params *IncomeStatementGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) IncomeStatementTtmGet

func (c *Client) IncomeStatementTtmGet(ctx context.Context, params *IncomeStatementTtmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InsiderTradingLatestGet

func (c *Client) InsiderTradingLatestGet(ctx context.Context, params *InsiderTradingLatestGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) KeyMetricsGet

func (c *Client) KeyMetricsGet(ctx context.Context, params *KeyMetricsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MarketCapitalizationBatchGet

func (c *Client) MarketCapitalizationBatchGet(ctx context.Context, params *MarketCapitalizationBatchGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MarketCapitalizationGet

func (c *Client) MarketCapitalizationGet(ctx context.Context, params *MarketCapitalizationGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NewsGeneralLatestGet

func (c *Client) NewsGeneralLatestGet(ctx context.Context, params *NewsGeneralLatestGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProfileGet

func (c *Client) ProfileGet(ctx context.Context, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QuoteGet

func (c *Client) QuoteGet(ctx context.Context, params *QuoteGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QuoteShortGet

func (c *Client) QuoteShortGet(ctx context.Context, params *QuoteShortGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RatingsSnapshotGet

func (c *Client) RatingsSnapshotGet(ctx context.Context, params *RatingsSnapshotGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RatiosGet

func (c *Client) RatiosGet(ctx context.Context, params *RatiosGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RevenueGeographicSegmentationGet

func (c *Client) RevenueGeographicSegmentationGet(ctx context.Context, params *RevenueGeographicSegmentationGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RevenueProductSegmentationGet

func (c *Client) RevenueProductSegmentationGet(ctx context.Context, params *RevenueProductSegmentationGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchNameGet

func (c *Client) SearchNameGet(ctx context.Context, params *SearchNameGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchSymbolGet

func (c *Client) SearchSymbolGet(ctx context.Context, params *SearchSymbolGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SharesFloatGet

func (c *Client) SharesFloatGet(ctx context.Context, params *SharesFloatGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TreasuryRatesGet

func (c *Client) TreasuryRatesGet(ctx context.Context, params *TreasuryRatesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientConfig added in v0.1.1

type ClientConfig struct {
	APIKey string

	Endpoint string

	Debug bool
}

type ClientInterface

type ClientInterface interface {
	// AnalystEstimatesGet request
	AnalystEstimatesGet(ctx context.Context, params *AnalystEstimatesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BalanceSheetStatementGet request
	BalanceSheetStatementGet(ctx context.Context, params *BalanceSheetStatementGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BalanceSheetStatementTtmGet request
	BalanceSheetStatementTtmGet(ctx context.Context, params *BalanceSheetStatementTtmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchQuoteGet request
	BatchQuoteGet(ctx context.Context, params *BatchQuoteGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchQuoteShortGet request
	BatchQuoteShortGet(ctx context.Context, params *BatchQuoteShortGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CashFlowStatementGet request
	CashFlowStatementGet(ctx context.Context, params *CashFlowStatementGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CashFlowStatementTtmGet request
	CashFlowStatementTtmGet(ctx context.Context, params *CashFlowStatementTtmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EconomicCalendarGet request
	EconomicCalendarGet(ctx context.Context, params *EconomicCalendarGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EsgDisclosuresGet request
	EsgDisclosuresGet(ctx context.Context, params *EsgDisclosuresGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EsgRatingsGet request
	EsgRatingsGet(ctx context.Context, params *EsgRatingsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GradesLatestNewsGet request
	GradesLatestNewsGet(ctx context.Context, params *GradesLatestNewsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HistoricalPriceEodFullGet request
	HistoricalPriceEodFullGet(ctx context.Context, params *HistoricalPriceEodFullGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HistoricalPriceEodLightGet request
	HistoricalPriceEodLightGet(ctx context.Context, params *HistoricalPriceEodLightGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncomeStatementGet request
	IncomeStatementGet(ctx context.Context, params *IncomeStatementGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// IncomeStatementTtmGet request
	IncomeStatementTtmGet(ctx context.Context, params *IncomeStatementTtmGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InsiderTradingLatestGet request
	InsiderTradingLatestGet(ctx context.Context, params *InsiderTradingLatestGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// KeyMetricsGet request
	KeyMetricsGet(ctx context.Context, params *KeyMetricsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MarketCapitalizationGet request
	MarketCapitalizationGet(ctx context.Context, params *MarketCapitalizationGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MarketCapitalizationBatchGet request
	MarketCapitalizationBatchGet(ctx context.Context, params *MarketCapitalizationBatchGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NewsGeneralLatestGet request
	NewsGeneralLatestGet(ctx context.Context, params *NewsGeneralLatestGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfileGet request
	ProfileGet(ctx context.Context, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QuoteGet request
	QuoteGet(ctx context.Context, params *QuoteGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QuoteShortGet request
	QuoteShortGet(ctx context.Context, params *QuoteShortGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RatingsSnapshotGet request
	RatingsSnapshotGet(ctx context.Context, params *RatingsSnapshotGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RatiosGet request
	RatiosGet(ctx context.Context, params *RatiosGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevenueGeographicSegmentationGet request
	RevenueGeographicSegmentationGet(ctx context.Context, params *RevenueGeographicSegmentationGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevenueProductSegmentationGet request
	RevenueProductSegmentationGet(ctx context.Context, params *RevenueProductSegmentationGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchNameGet request
	SearchNameGet(ctx context.Context, params *SearchNameGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchSymbolGet request
	SearchSymbolGet(ctx context.Context, params *SearchSymbolGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SharesFloatGet request
	SharesFloatGet(ctx context.Context, params *SharesFloatGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TreasuryRatesGet request
	TreasuryRatesGet(ctx context.Context, params *TreasuryRatesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func MustClient

func MustClient(cfg *ClientConfig) *ClientWithResponses

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AnalystEstimatesGetWithResponse

func (c *ClientWithResponses) AnalystEstimatesGetWithResponse(ctx context.Context, params *AnalystEstimatesGetParams, reqEditors ...RequestEditorFn) (*AnalystEstimatesGetClientResponse, error)

AnalystEstimatesGetWithResponse request returning *AnalystEstimatesGetClientResponse

func (*ClientWithResponses) BalanceSheetStatementGetWithResponse

func (c *ClientWithResponses) BalanceSheetStatementGetWithResponse(ctx context.Context, params *BalanceSheetStatementGetParams, reqEditors ...RequestEditorFn) (*BalanceSheetStatementGetClientResponse, error)

BalanceSheetStatementGetWithResponse request returning *BalanceSheetStatementGetClientResponse

func (*ClientWithResponses) BalanceSheetStatementTtmGetWithResponse

func (c *ClientWithResponses) BalanceSheetStatementTtmGetWithResponse(ctx context.Context, params *BalanceSheetStatementTtmGetParams, reqEditors ...RequestEditorFn) (*BalanceSheetStatementTtmGetClientResponse, error)

BalanceSheetStatementTtmGetWithResponse request returning *BalanceSheetStatementTtmGetClientResponse

func (*ClientWithResponses) BatchQuoteGetWithResponse

func (c *ClientWithResponses) BatchQuoteGetWithResponse(ctx context.Context, params *BatchQuoteGetParams, reqEditors ...RequestEditorFn) (*BatchQuoteGetClientResponse, error)

BatchQuoteGetWithResponse request returning *BatchQuoteGetClientResponse

func (*ClientWithResponses) BatchQuoteShortGetWithResponse

func (c *ClientWithResponses) BatchQuoteShortGetWithResponse(ctx context.Context, params *BatchQuoteShortGetParams, reqEditors ...RequestEditorFn) (*BatchQuoteShortGetClientResponse, error)

BatchQuoteShortGetWithResponse request returning *BatchQuoteShortGetClientResponse

func (*ClientWithResponses) CashFlowStatementGetWithResponse

func (c *ClientWithResponses) CashFlowStatementGetWithResponse(ctx context.Context, params *CashFlowStatementGetParams, reqEditors ...RequestEditorFn) (*CashFlowStatementGetClientResponse, error)

CashFlowStatementGetWithResponse request returning *CashFlowStatementGetClientResponse

func (*ClientWithResponses) CashFlowStatementTtmGetWithResponse

func (c *ClientWithResponses) CashFlowStatementTtmGetWithResponse(ctx context.Context, params *CashFlowStatementTtmGetParams, reqEditors ...RequestEditorFn) (*CashFlowStatementTtmGetClientResponse, error)

CashFlowStatementTtmGetWithResponse request returning *CashFlowStatementTtmGetClientResponse

func (*ClientWithResponses) EconomicCalendarGetWithResponse

func (c *ClientWithResponses) EconomicCalendarGetWithResponse(ctx context.Context, params *EconomicCalendarGetParams, reqEditors ...RequestEditorFn) (*EconomicCalendarGetClientResponse, error)

EconomicCalendarGetWithResponse request returning *EconomicCalendarGetClientResponse

func (*ClientWithResponses) EsgDisclosuresGetWithResponse

func (c *ClientWithResponses) EsgDisclosuresGetWithResponse(ctx context.Context, params *EsgDisclosuresGetParams, reqEditors ...RequestEditorFn) (*EsgDisclosuresGetClientResponse, error)

EsgDisclosuresGetWithResponse request returning *EsgDisclosuresGetClientResponse

func (*ClientWithResponses) EsgRatingsGetWithResponse

func (c *ClientWithResponses) EsgRatingsGetWithResponse(ctx context.Context, params *EsgRatingsGetParams, reqEditors ...RequestEditorFn) (*EsgRatingsGetClientResponse, error)

EsgRatingsGetWithResponse request returning *EsgRatingsGetClientResponse

func (*ClientWithResponses) GradesLatestNewsGetWithResponse

func (c *ClientWithResponses) GradesLatestNewsGetWithResponse(ctx context.Context, params *GradesLatestNewsGetParams, reqEditors ...RequestEditorFn) (*GradesLatestNewsGetClientResponse, error)

GradesLatestNewsGetWithResponse request returning *GradesLatestNewsGetClientResponse

func (*ClientWithResponses) HistoricalPriceEodFullGetWithResponse

func (c *ClientWithResponses) HistoricalPriceEodFullGetWithResponse(ctx context.Context, params *HistoricalPriceEodFullGetParams, reqEditors ...RequestEditorFn) (*HistoricalPriceEodFullGetClientResponse, error)

HistoricalPriceEodFullGetWithResponse request returning *HistoricalPriceEodFullGetClientResponse

func (*ClientWithResponses) HistoricalPriceEodLightGetWithResponse

func (c *ClientWithResponses) HistoricalPriceEodLightGetWithResponse(ctx context.Context, params *HistoricalPriceEodLightGetParams, reqEditors ...RequestEditorFn) (*HistoricalPriceEodLightGetClientResponse, error)

HistoricalPriceEodLightGetWithResponse request returning *HistoricalPriceEodLightGetClientResponse

func (*ClientWithResponses) IncomeStatementGetWithResponse

func (c *ClientWithResponses) IncomeStatementGetWithResponse(ctx context.Context, params *IncomeStatementGetParams, reqEditors ...RequestEditorFn) (*IncomeStatementGetClientResponse, error)

IncomeStatementGetWithResponse request returning *IncomeStatementGetClientResponse

func (*ClientWithResponses) IncomeStatementTtmGetWithResponse

func (c *ClientWithResponses) IncomeStatementTtmGetWithResponse(ctx context.Context, params *IncomeStatementTtmGetParams, reqEditors ...RequestEditorFn) (*IncomeStatementTtmGetClientResponse, error)

IncomeStatementTtmGetWithResponse request returning *IncomeStatementTtmGetClientResponse

func (*ClientWithResponses) InsiderTradingLatestGetWithResponse

func (c *ClientWithResponses) InsiderTradingLatestGetWithResponse(ctx context.Context, params *InsiderTradingLatestGetParams, reqEditors ...RequestEditorFn) (*InsiderTradingLatestGetClientResponse, error)

InsiderTradingLatestGetWithResponse request returning *InsiderTradingLatestGetClientResponse

func (*ClientWithResponses) KeyMetricsGetWithResponse

func (c *ClientWithResponses) KeyMetricsGetWithResponse(ctx context.Context, params *KeyMetricsGetParams, reqEditors ...RequestEditorFn) (*KeyMetricsGetClientResponse, error)

KeyMetricsGetWithResponse request returning *KeyMetricsGetClientResponse

func (*ClientWithResponses) MarketCapitalizationBatchGetWithResponse

func (c *ClientWithResponses) MarketCapitalizationBatchGetWithResponse(ctx context.Context, params *MarketCapitalizationBatchGetParams, reqEditors ...RequestEditorFn) (*MarketCapitalizationBatchGetClientResponse, error)

MarketCapitalizationBatchGetWithResponse request returning *MarketCapitalizationBatchGetClientResponse

func (*ClientWithResponses) MarketCapitalizationGetWithResponse

func (c *ClientWithResponses) MarketCapitalizationGetWithResponse(ctx context.Context, params *MarketCapitalizationGetParams, reqEditors ...RequestEditorFn) (*MarketCapitalizationGetClientResponse, error)

MarketCapitalizationGetWithResponse request returning *MarketCapitalizationGetClientResponse

func (*ClientWithResponses) NewsGeneralLatestGetWithResponse

func (c *ClientWithResponses) NewsGeneralLatestGetWithResponse(ctx context.Context, params *NewsGeneralLatestGetParams, reqEditors ...RequestEditorFn) (*NewsGeneralLatestGetClientResponse, error)

NewsGeneralLatestGetWithResponse request returning *NewsGeneralLatestGetClientResponse

func (*ClientWithResponses) ProfileGetWithResponse

func (c *ClientWithResponses) ProfileGetWithResponse(ctx context.Context, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*ProfileGetClientResponse, error)

ProfileGetWithResponse request returning *ProfileGetClientResponse

func (*ClientWithResponses) QuoteGetWithResponse

func (c *ClientWithResponses) QuoteGetWithResponse(ctx context.Context, params *QuoteGetParams, reqEditors ...RequestEditorFn) (*QuoteGetClientResponse, error)

QuoteGetWithResponse request returning *QuoteGetClientResponse

func (*ClientWithResponses) QuoteShortGetWithResponse

func (c *ClientWithResponses) QuoteShortGetWithResponse(ctx context.Context, params *QuoteShortGetParams, reqEditors ...RequestEditorFn) (*QuoteShortGetClientResponse, error)

QuoteShortGetWithResponse request returning *QuoteShortGetClientResponse

func (*ClientWithResponses) RatingsSnapshotGetWithResponse

func (c *ClientWithResponses) RatingsSnapshotGetWithResponse(ctx context.Context, params *RatingsSnapshotGetParams, reqEditors ...RequestEditorFn) (*RatingsSnapshotGetClientResponse, error)

RatingsSnapshotGetWithResponse request returning *RatingsSnapshotGetClientResponse

func (*ClientWithResponses) RatiosGetWithResponse

func (c *ClientWithResponses) RatiosGetWithResponse(ctx context.Context, params *RatiosGetParams, reqEditors ...RequestEditorFn) (*RatiosGetClientResponse, error)

RatiosGetWithResponse request returning *RatiosGetClientResponse

func (*ClientWithResponses) RevenueGeographicSegmentationGetWithResponse

func (c *ClientWithResponses) RevenueGeographicSegmentationGetWithResponse(ctx context.Context, params *RevenueGeographicSegmentationGetParams, reqEditors ...RequestEditorFn) (*RevenueGeographicSegmentationGetClientResponse, error)

RevenueGeographicSegmentationGetWithResponse request returning *RevenueGeographicSegmentationGetClientResponse

func (*ClientWithResponses) RevenueProductSegmentationGetWithResponse

func (c *ClientWithResponses) RevenueProductSegmentationGetWithResponse(ctx context.Context, params *RevenueProductSegmentationGetParams, reqEditors ...RequestEditorFn) (*RevenueProductSegmentationGetClientResponse, error)

RevenueProductSegmentationGetWithResponse request returning *RevenueProductSegmentationGetClientResponse

func (*ClientWithResponses) SearchNameGetWithResponse

func (c *ClientWithResponses) SearchNameGetWithResponse(ctx context.Context, params *SearchNameGetParams, reqEditors ...RequestEditorFn) (*SearchNameGetClientResponse, error)

SearchNameGetWithResponse request returning *SearchNameGetClientResponse

func (*ClientWithResponses) SearchSymbolGetWithResponse

func (c *ClientWithResponses) SearchSymbolGetWithResponse(ctx context.Context, params *SearchSymbolGetParams, reqEditors ...RequestEditorFn) (*SearchSymbolGetClientResponse, error)

SearchSymbolGetWithResponse request returning *SearchSymbolGetClientResponse

func (*ClientWithResponses) SharesFloatGetWithResponse

func (c *ClientWithResponses) SharesFloatGetWithResponse(ctx context.Context, params *SharesFloatGetParams, reqEditors ...RequestEditorFn) (*SharesFloatGetClientResponse, error)

SharesFloatGetWithResponse request returning *SharesFloatGetClientResponse

func (*ClientWithResponses) TreasuryRatesGetWithResponse

func (c *ClientWithResponses) TreasuryRatesGetWithResponse(ctx context.Context, params *TreasuryRatesGetParams, reqEditors ...RequestEditorFn) (*TreasuryRatesGetClientResponse, error)

TreasuryRatesGetWithResponse request returning *TreasuryRatesGetClientResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// AnalystEstimatesGetWithResponse request
	AnalystEstimatesGetWithResponse(ctx context.Context, params *AnalystEstimatesGetParams, reqEditors ...RequestEditorFn) (*AnalystEstimatesGetClientResponse, error)

	// BalanceSheetStatementGetWithResponse request
	BalanceSheetStatementGetWithResponse(ctx context.Context, params *BalanceSheetStatementGetParams, reqEditors ...RequestEditorFn) (*BalanceSheetStatementGetClientResponse, error)

	// BalanceSheetStatementTtmGetWithResponse request
	BalanceSheetStatementTtmGetWithResponse(ctx context.Context, params *BalanceSheetStatementTtmGetParams, reqEditors ...RequestEditorFn) (*BalanceSheetStatementTtmGetClientResponse, error)

	// BatchQuoteGetWithResponse request
	BatchQuoteGetWithResponse(ctx context.Context, params *BatchQuoteGetParams, reqEditors ...RequestEditorFn) (*BatchQuoteGetClientResponse, error)

	// BatchQuoteShortGetWithResponse request
	BatchQuoteShortGetWithResponse(ctx context.Context, params *BatchQuoteShortGetParams, reqEditors ...RequestEditorFn) (*BatchQuoteShortGetClientResponse, error)

	// CashFlowStatementGetWithResponse request
	CashFlowStatementGetWithResponse(ctx context.Context, params *CashFlowStatementGetParams, reqEditors ...RequestEditorFn) (*CashFlowStatementGetClientResponse, error)

	// CashFlowStatementTtmGetWithResponse request
	CashFlowStatementTtmGetWithResponse(ctx context.Context, params *CashFlowStatementTtmGetParams, reqEditors ...RequestEditorFn) (*CashFlowStatementTtmGetClientResponse, error)

	// EconomicCalendarGetWithResponse request
	EconomicCalendarGetWithResponse(ctx context.Context, params *EconomicCalendarGetParams, reqEditors ...RequestEditorFn) (*EconomicCalendarGetClientResponse, error)

	// EsgDisclosuresGetWithResponse request
	EsgDisclosuresGetWithResponse(ctx context.Context, params *EsgDisclosuresGetParams, reqEditors ...RequestEditorFn) (*EsgDisclosuresGetClientResponse, error)

	// EsgRatingsGetWithResponse request
	EsgRatingsGetWithResponse(ctx context.Context, params *EsgRatingsGetParams, reqEditors ...RequestEditorFn) (*EsgRatingsGetClientResponse, error)

	// GradesLatestNewsGetWithResponse request
	GradesLatestNewsGetWithResponse(ctx context.Context, params *GradesLatestNewsGetParams, reqEditors ...RequestEditorFn) (*GradesLatestNewsGetClientResponse, error)

	// HistoricalPriceEodFullGetWithResponse request
	HistoricalPriceEodFullGetWithResponse(ctx context.Context, params *HistoricalPriceEodFullGetParams, reqEditors ...RequestEditorFn) (*HistoricalPriceEodFullGetClientResponse, error)

	// HistoricalPriceEodLightGetWithResponse request
	HistoricalPriceEodLightGetWithResponse(ctx context.Context, params *HistoricalPriceEodLightGetParams, reqEditors ...RequestEditorFn) (*HistoricalPriceEodLightGetClientResponse, error)

	// IncomeStatementGetWithResponse request
	IncomeStatementGetWithResponse(ctx context.Context, params *IncomeStatementGetParams, reqEditors ...RequestEditorFn) (*IncomeStatementGetClientResponse, error)

	// IncomeStatementTtmGetWithResponse request
	IncomeStatementTtmGetWithResponse(ctx context.Context, params *IncomeStatementTtmGetParams, reqEditors ...RequestEditorFn) (*IncomeStatementTtmGetClientResponse, error)

	// InsiderTradingLatestGetWithResponse request
	InsiderTradingLatestGetWithResponse(ctx context.Context, params *InsiderTradingLatestGetParams, reqEditors ...RequestEditorFn) (*InsiderTradingLatestGetClientResponse, error)

	// KeyMetricsGetWithResponse request
	KeyMetricsGetWithResponse(ctx context.Context, params *KeyMetricsGetParams, reqEditors ...RequestEditorFn) (*KeyMetricsGetClientResponse, error)

	// MarketCapitalizationGetWithResponse request
	MarketCapitalizationGetWithResponse(ctx context.Context, params *MarketCapitalizationGetParams, reqEditors ...RequestEditorFn) (*MarketCapitalizationGetClientResponse, error)

	// MarketCapitalizationBatchGetWithResponse request
	MarketCapitalizationBatchGetWithResponse(ctx context.Context, params *MarketCapitalizationBatchGetParams, reqEditors ...RequestEditorFn) (*MarketCapitalizationBatchGetClientResponse, error)

	// NewsGeneralLatestGetWithResponse request
	NewsGeneralLatestGetWithResponse(ctx context.Context, params *NewsGeneralLatestGetParams, reqEditors ...RequestEditorFn) (*NewsGeneralLatestGetClientResponse, error)

	// ProfileGetWithResponse request
	ProfileGetWithResponse(ctx context.Context, params *ProfileGetParams, reqEditors ...RequestEditorFn) (*ProfileGetClientResponse, error)

	// QuoteGetWithResponse request
	QuoteGetWithResponse(ctx context.Context, params *QuoteGetParams, reqEditors ...RequestEditorFn) (*QuoteGetClientResponse, error)

	// QuoteShortGetWithResponse request
	QuoteShortGetWithResponse(ctx context.Context, params *QuoteShortGetParams, reqEditors ...RequestEditorFn) (*QuoteShortGetClientResponse, error)

	// RatingsSnapshotGetWithResponse request
	RatingsSnapshotGetWithResponse(ctx context.Context, params *RatingsSnapshotGetParams, reqEditors ...RequestEditorFn) (*RatingsSnapshotGetClientResponse, error)

	// RatiosGetWithResponse request
	RatiosGetWithResponse(ctx context.Context, params *RatiosGetParams, reqEditors ...RequestEditorFn) (*RatiosGetClientResponse, error)

	// RevenueGeographicSegmentationGetWithResponse request
	RevenueGeographicSegmentationGetWithResponse(ctx context.Context, params *RevenueGeographicSegmentationGetParams, reqEditors ...RequestEditorFn) (*RevenueGeographicSegmentationGetClientResponse, error)

	// RevenueProductSegmentationGetWithResponse request
	RevenueProductSegmentationGetWithResponse(ctx context.Context, params *RevenueProductSegmentationGetParams, reqEditors ...RequestEditorFn) (*RevenueProductSegmentationGetClientResponse, error)

	// SearchNameGetWithResponse request
	SearchNameGetWithResponse(ctx context.Context, params *SearchNameGetParams, reqEditors ...RequestEditorFn) (*SearchNameGetClientResponse, error)

	// SearchSymbolGetWithResponse request
	SearchSymbolGetWithResponse(ctx context.Context, params *SearchSymbolGetParams, reqEditors ...RequestEditorFn) (*SearchSymbolGetClientResponse, error)

	// SharesFloatGetWithResponse request
	SharesFloatGetWithResponse(ctx context.Context, params *SharesFloatGetParams, reqEditors ...RequestEditorFn) (*SharesFloatGetClientResponse, error)

	// TreasuryRatesGetWithResponse request
	TreasuryRatesGetWithResponse(ctx context.Context, params *TreasuryRatesGetParams, reqEditors ...RequestEditorFn) (*TreasuryRatesGetClientResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CompanyCapitalization

type CompanyCapitalization struct {
	Date      openapi_types.Date `json:"date"`
	MarketCap float64            `json:"marketCap"`
	Symbol    string             `json:"symbol"`
}

CompanyCapitalization defines model for CompanyCapitalization.

type CompanyProfile

type CompanyProfile struct {
	Address           string             `json:"address"`
	AverageVolume     int                `json:"averageVolume"`
	Beta              float64            `json:"beta"`
	Ceo               string             `json:"ceo"`
	Change            float64            `json:"change"`
	ChangePercentage  float64            `json:"changePercentage"`
	Cik               string             `json:"cik"`
	City              string             `json:"city"`
	CompanyName       string             `json:"companyName"`
	Country           string             `json:"country"`
	Currency          string             `json:"currency"`
	Cusip             string             `json:"cusip"`
	DefaultImage      bool               `json:"defaultImage"`
	Description       string             `json:"description"`
	Exchange          string             `json:"exchange"`
	ExchangeFullName  string             `json:"exchangeFullName"`
	FullTimeEmployees string             `json:"fullTimeEmployees"`
	Image             string             `json:"image"`
	Industry          string             `json:"industry"`
	IpoDate           openapi_types.Date `json:"ipoDate"`
	IsActivelyTrading bool               `json:"isActivelyTrading"`
	IsAdr             bool               `json:"isAdr"`
	IsEtf             bool               `json:"isEtf"`
	IsFund            bool               `json:"isFund"`
	Isin              string             `json:"isin"`
	LastDividend      float64            `json:"lastDividend"`
	MarketCap         float64            `json:"marketCap"`
	Phone             string             `json:"phone"`
	Price             float64            `json:"price"`
	Range             string             `json:"range"`
	Sector            string             `json:"sector"`
	State             string             `json:"state"`
	Symbol            string             `json:"symbol"`
	Volume            int                `json:"volume"`
	Website           string             `json:"website"`
	Zip               string             `json:"zip"`
}

CompanyProfile defines model for CompanyProfile.

type CompanySharesFloat

type CompanySharesFloat struct {
	Date              string  `json:"date"`
	FloatShares       int     `json:"floatShares"`
	FreeFloat         float64 `json:"freeFloat"`
	OutstandingShares int     `json:"outstandingShares"`
	Symbol            string  `json:"symbol"`
}

CompanySharesFloat defines model for CompanySharesFloat.

type EconomicCalendarGetClientResponse

type EconomicCalendarGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]EconomicEvent
}

func ParseEconomicCalendarGetClientResponse

func ParseEconomicCalendarGetClientResponse(rsp *http.Response) (*EconomicCalendarGetClientResponse, error)

ParseEconomicCalendarGetClientResponse parses an HTTP response from a EconomicCalendarGetWithResponse call

func (EconomicCalendarGetClientResponse) Status

Status returns HTTPResponse.Status

func (EconomicCalendarGetClientResponse) StatusCode

func (r EconomicCalendarGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EconomicCalendarGetParams

type EconomicCalendarGetParams struct {
	From *openapi_types.Date `form:"from,omitempty" json:"from,omitempty"`
	To   *openapi_types.Date `form:"to,omitempty" json:"to,omitempty"`
}

EconomicCalendarGetParams defines parameters for EconomicCalendarGet.

type EconomicEsgDisclosure

type EconomicEsgDisclosure struct {
	ESGScore           float64            `json:"ESGScore"`
	AcceptedDate       openapi_types.Date `json:"acceptedDate"`
	Cik                string             `json:"cik"`
	CompanyName        string             `json:"companyName"`
	Date               openapi_types.Date `json:"date"`
	EnvironmentalScore float64            `json:"environmentalScore"`
	FormType           string             `json:"formType"`
	GovernanceScore    float64            `json:"governanceScore"`
	SocialScore        float64            `json:"socialScore"`
	Symbol             string             `json:"symbol"`
	Url                string             `json:"url"`
}

EconomicEsgDisclosure defines model for EconomicEsgDisclosure.

type EconomicEsgRating

type EconomicEsgRating struct {
	ESGRiskRating string `json:"ESGRiskRating"`
	Cik           string `json:"cik"`
	CompanyName   string `json:"companyName"`
	FiscalYear    int    `json:"fiscalYear"`
	Industry      string `json:"industry"`
	IndustryRank  string `json:"industryRank"`
	Symbol        string `json:"symbol"`
}

EconomicEsgRating defines model for EconomicEsgRating.

type EconomicEvent

type EconomicEvent struct {
	Actual           float64  `json:"actual"`
	Change           float64  `json:"change"`
	ChangePercentage float64  `json:"changePercentage"`
	Country          string   `json:"country"`
	Currency         string   `json:"currency"`
	Date             string   `json:"date"`
	Estimate         *float64 `json:"estimate"`
	Event            string   `json:"event"`
	Impact           string   `json:"impact"`
	Previous         float64  `json:"previous"`
}

EconomicEvent defines model for EconomicEvent.

type ErrorResponse

type ErrorResponse map[string]interface{}

ErrorResponse defines model for ErrorResponse.

type EsgDisclosuresGetClientResponse

type EsgDisclosuresGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]EconomicEsgDisclosure
}

func ParseEsgDisclosuresGetClientResponse

func ParseEsgDisclosuresGetClientResponse(rsp *http.Response) (*EsgDisclosuresGetClientResponse, error)

ParseEsgDisclosuresGetClientResponse parses an HTTP response from a EsgDisclosuresGetWithResponse call

func (EsgDisclosuresGetClientResponse) Status

Status returns HTTPResponse.Status

func (EsgDisclosuresGetClientResponse) StatusCode

func (r EsgDisclosuresGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EsgDisclosuresGetParams

type EsgDisclosuresGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

EsgDisclosuresGetParams defines parameters for EsgDisclosuresGet.

type EsgRatingsGetClientResponse

type EsgRatingsGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]EconomicEsgRating
}

func ParseEsgRatingsGetClientResponse

func ParseEsgRatingsGetClientResponse(rsp *http.Response) (*EsgRatingsGetClientResponse, error)

ParseEsgRatingsGetClientResponse parses an HTTP response from a EsgRatingsGetWithResponse call

func (EsgRatingsGetClientResponse) Status

Status returns HTTPResponse.Status

func (EsgRatingsGetClientResponse) StatusCode

func (r EsgRatingsGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EsgRatingsGetParams

type EsgRatingsGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

EsgRatingsGetParams defines parameters for EsgRatingsGet.

type FinancialEstimates

type FinancialEstimates struct {
	Date               openapi_types.Date `json:"date"`
	EbitAvg            float64            `json:"ebitAvg"`
	EbitHigh           float32            `json:"ebitHigh"`
	EbitLow            float64            `json:"ebitLow"`
	EbitdaAvg          float64            `json:"ebitdaAvg"`
	EbitdaHigh         float64            `json:"ebitdaHigh"`
	EbitdaLow          float32            `json:"ebitdaLow"`
	EpsAvg             float64            `json:"epsAvg"`
	EpsHigh            float64            `json:"epsHigh"`
	EpsLow             float64            `json:"epsLow"`
	NetIncomeAvg       float64            `json:"netIncomeAvg"`
	NetIncomeHigh      float32            `json:"netIncomeHigh"`
	NetIncomeLow       float64            `json:"netIncomeLow"`
	NumAnalystsEps     int                `json:"numAnalystsEps"`
	NumAnalystsRevenue int                `json:"numAnalystsRevenue"`
	RevenueAvg         float64            `json:"revenueAvg"`
	RevenueHigh        float64            `json:"revenueHigh"`
	RevenueLow         float64            `json:"revenueLow"`
	SgaExpenseAvg      float64            `json:"sgaExpenseAvg"`
	SgaExpenseHigh     float64            `json:"sgaExpenseHigh"`
	SgaExpenseLow      float64            `json:"sgaExpenseLow"`
	Symbol             string             `json:"symbol"`
}

FinancialEstimates defines model for FinancialEstimates.

type FinancialRatios

type FinancialRatios struct {
	AssetTurnover                           float64            `json:"assetTurnover"`
	BookValuePerShare                       float64            `json:"bookValuePerShare"`
	BottomLineProfitMargin                  float64            `json:"bottomLineProfitMargin"`
	CapexPerShare                           float64            `json:"capexPerShare"`
	CapitalExpenditureCoverageRatio         float64            `json:"capitalExpenditureCoverageRatio"`
	CashPerShare                            float64            `json:"cashPerShare"`
	CashRatio                               float64            `json:"cashRatio"`
	ContinuousOperationsProfitMargin        float64            `json:"continuousOperationsProfitMargin"`
	CurrentRatio                            float64            `json:"currentRatio"`
	Date                                    openapi_types.Date `json:"date"`
	DebtServiceCoverageRatio                float64            `json:"debtServiceCoverageRatio"`
	DebtToAssetsRatio                       float64            `json:"debtToAssetsRatio"`
	DebtToCapitalRatio                      float64            `json:"debtToCapitalRatio"`
	DebtToEquityRatio                       float64            `json:"debtToEquityRatio"`
	DebtToMarketCap                         float64            `json:"debtToMarketCap"`
	DividendPaidAndCapexCoverageRatio       float64            `json:"dividendPaidAndCapexCoverageRatio"`
	DividendPayoutRatio                     float64            `json:"dividendPayoutRatio"`
	DividendYield                           float64            `json:"dividendYield"`
	DividendYieldPercentage                 float64            `json:"dividendYieldPercentage"`
	EbitMargin                              float64            `json:"ebitMargin"`
	EbitdaMargin                            float64            `json:"ebitdaMargin"`
	EbtPerEbit                              float64            `json:"ebtPerEbit"`
	EffectiveTaxRate                        float64            `json:"effectiveTaxRate"`
	EnterpriseValueMultiple                 float64            `json:"enterpriseValueMultiple"`
	FinancialLeverageRatio                  float64            `json:"financialLeverageRatio"`
	FiscalYear                              string             `json:"fiscalYear"`
	FixedAssetTurnover                      float64            `json:"fixedAssetTurnover"`
	ForwardPriceToEarningsGrowthRatio       float64            `json:"forwardPriceToEarningsGrowthRatio"`
	FreeCashFlowOperatingCashFlowRatio      float64            `json:"freeCashFlowOperatingCashFlowRatio"`
	FreeCashFlowPerShare                    float64            `json:"freeCashFlowPerShare"`
	GrossProfitMargin                       float64            `json:"grossProfitMargin"`
	InterestCoverageRatio                   float64            `json:"interestCoverageRatio"`
	InterestDebtPerShare                    float64            `json:"interestDebtPerShare"`
	InventoryTurnover                       float64            `json:"inventoryTurnover"`
	LongTermDebtToCapitalRatio              float64            `json:"longTermDebtToCapitalRatio"`
	NetIncomePerEBT                         float64            `json:"netIncomePerEBT"`
	NetIncomePerShare                       float64            `json:"netIncomePerShare"`
	NetProfitMargin                         float64            `json:"netProfitMargin"`
	OperatingCashFlowCoverageRatio          float64            `json:"operatingCashFlowCoverageRatio"`
	OperatingCashFlowPerShare               float64            `json:"operatingCashFlowPerShare"`
	OperatingCashFlowRatio                  float64            `json:"operatingCashFlowRatio"`
	OperatingCashFlowSalesRatio             float64            `json:"operatingCashFlowSalesRatio"`
	OperatingProfitMargin                   float64            `json:"operatingProfitMargin"`
	PayablesTurnover                        float64            `json:"payablesTurnover"`
	Period                                  string             `json:"period"`
	PretaxProfitMargin                      float64            `json:"pretaxProfitMargin"`
	PriceToBookRatio                        float64            `json:"priceToBookRatio"`
	PriceToEarningsGrowthRatio              float64            `json:"priceToEarningsGrowthRatio"`
	PriceToEarningsRatio                    float64            `json:"priceToEarningsRatio"`
	PriceToFairValue                        float64            `json:"priceToFairValue"`
	PriceToFreeCashFlowRatio                float64            `json:"priceToFreeCashFlowRatio"`
	PriceToOperatingCashFlowRatio           float64            `json:"priceToOperatingCashFlowRatio"`
	PriceToSalesRatio                       float64            `json:"priceToSalesRatio"`
	QuickRatio                              float64            `json:"quickRatio"`
	ReceivablesTurnover                     float64            `json:"receivablesTurnover"`
	ReportedCurrency                        string             `json:"reportedCurrency"`
	RevenuePerShare                         float64            `json:"revenuePerShare"`
	ShareholdersEquityPerShare              float64            `json:"shareholdersEquityPerShare"`
	ShortTermOperatingCashFlowCoverageRatio float64            `json:"shortTermOperatingCashFlowCoverageRatio"`
	SolvencyRatio                           float64            `json:"solvencyRatio"`
	Symbol                                  string             `json:"symbol"`
	TangibleBookValuePerShare               float64            `json:"tangibleBookValuePerShare"`
	WorkingCapitalTurnoverRatio             float64            `json:"workingCapitalTurnoverRatio"`
}

FinancialRatios defines model for FinancialRatios.

type FullCandle

type FullCandle struct {
	Change        float64            `json:"change"`
	ChangePercent float64            `json:"changePercent"`
	Close         float64            `json:"close"`
	Date          openapi_types.Date `json:"date"`
	High          float64            `json:"high"`
	Low           float64            `json:"low"`
	Open          float64            `json:"open"`
	Symbol        string             `json:"symbol"`
	Volume        int                `json:"volume"`
	Vwap          float64            `json:"vwap"`
}

FullCandle defines model for FullCandle.

type FullQuote

type FullQuote struct {
	Change           float64 `json:"change"`
	ChangePercentage float64 `json:"changePercentage"`
	DayHigh          float64 `json:"dayHigh"`
	DayLow           float64 `json:"dayLow"`
	Exchange         string  `json:"exchange"`
	MarketCap        float64 `json:"marketCap"`
	Name             string  `json:"name"`
	Open             float64 `json:"open"`
	PreviousClose    float64 `json:"previousClose"`
	Price            float64 `json:"price"`
	PriceAvg200      float64 `json:"priceAvg200"`
	PriceAvg50       float64 `json:"priceAvg50"`
	Symbol           string  `json:"symbol"`
	Timestamp        int     `json:"timestamp"`
	Volume           int     `json:"volume"`
	YearHigh         float64 `json:"yearHigh"`
	YearLow          float64 `json:"yearLow"`
}

FullQuote defines model for FullQuote.

type GradesLatestNewsGetClientResponse

type GradesLatestNewsGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]News
}

func ParseGradesLatestNewsGetClientResponse

func ParseGradesLatestNewsGetClientResponse(rsp *http.Response) (*GradesLatestNewsGetClientResponse, error)

ParseGradesLatestNewsGetClientResponse parses an HTTP response from a GradesLatestNewsGetWithResponse call

func (GradesLatestNewsGetClientResponse) Status

Status returns HTTPResponse.Status

func (GradesLatestNewsGetClientResponse) StatusCode

func (r GradesLatestNewsGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GradesLatestNewsGetParams

type GradesLatestNewsGetParams struct {
	Page  *int `form:"page,omitempty" json:"page,omitempty"`
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GradesLatestNewsGetParams defines parameters for GradesLatestNewsGet.

type HistoricalPriceEodFullGetClientResponse

type HistoricalPriceEodFullGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]FullCandle
}

func ParseHistoricalPriceEodFullGetClientResponse

func ParseHistoricalPriceEodFullGetClientResponse(rsp *http.Response) (*HistoricalPriceEodFullGetClientResponse, error)

ParseHistoricalPriceEodFullGetClientResponse parses an HTTP response from a HistoricalPriceEodFullGetWithResponse call

func (HistoricalPriceEodFullGetClientResponse) Status

Status returns HTTPResponse.Status

func (HistoricalPriceEodFullGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type HistoricalPriceEodFullGetParams

type HistoricalPriceEodFullGetParams struct {
	Symbol string              `form:"symbol" json:"symbol"`
	From   *openapi_types.Date `form:"from,omitempty" json:"from,omitempty"`
	To     *openapi_types.Date `form:"to,omitempty" json:"to,omitempty"`
}

HistoricalPriceEodFullGetParams defines parameters for HistoricalPriceEodFullGet.

type HistoricalPriceEodLightGetClientResponse

type HistoricalPriceEodLightGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]LightCandle
}

func ParseHistoricalPriceEodLightGetClientResponse

func ParseHistoricalPriceEodLightGetClientResponse(rsp *http.Response) (*HistoricalPriceEodLightGetClientResponse, error)

ParseHistoricalPriceEodLightGetClientResponse parses an HTTP response from a HistoricalPriceEodLightGetWithResponse call

func (HistoricalPriceEodLightGetClientResponse) Status

Status returns HTTPResponse.Status

func (HistoricalPriceEodLightGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type HistoricalPriceEodLightGetParams

type HistoricalPriceEodLightGetParams struct {
	Symbol string              `form:"symbol" json:"symbol"`
	From   *openapi_types.Date `form:"from,omitempty" json:"from,omitempty"`
	To     *openapi_types.Date `form:"to,omitempty" json:"to,omitempty"`
}

HistoricalPriceEodLightGetParams defines parameters for HistoricalPriceEodLightGet.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IncomeStatement

type IncomeStatement struct {
	AcceptedDate                            string             `json:"acceptedDate"`
	BottomLineNetIncome                     float64            `json:"bottomLineNetIncome"`
	Cik                                     string             `json:"cik"`
	CostAndExpenses                         float64            `json:"costAndExpenses"`
	CostOfRevenue                           float64            `json:"costOfRevenue"`
	Date                                    openapi_types.Date `json:"date"`
	DepreciationAndAmortization             float64            `json:"depreciationAndAmortization"`
	Ebit                                    float64            `json:"ebit"`
	Ebitda                                  float64            `json:"ebitda"`
	Eps                                     float64            `json:"eps"`
	EpsDiluted                              float64            `json:"epsDiluted"`
	FilingDate                              openapi_types.Date `json:"filingDate"`
	FiscalYear                              string             `json:"fiscalYear"`
	GeneralAndAdministrativeExpenses        float64            `json:"generalAndAdministrativeExpenses"`
	GrossProfit                             float64            `json:"grossProfit"`
	IncomeBeforeTax                         float64            `json:"incomeBeforeTax"`
	IncomeTaxExpense                        float64            `json:"incomeTaxExpense"`
	InterestExpense                         float64            `json:"interestExpense"`
	InterestIncome                          float64            `json:"interestIncome"`
	NetIncome                               float64            `json:"netIncome"`
	NetIncomeDeductions                     float64            `json:"netIncomeDeductions"`
	NetIncomeFromContinuingOperations       float64            `json:"netIncomeFromContinuingOperations"`
	NetIncomeFromDiscontinuedOperations     float64            `json:"netIncomeFromDiscontinuedOperations"`
	NetInterestIncome                       float64            `json:"netInterestIncome"`
	NonOperatingIncomeExcludingInterest     float64            `json:"nonOperatingIncomeExcludingInterest"`
	OperatingExpenses                       float64            `json:"operatingExpenses"`
	OperatingIncome                         float64            `json:"operatingIncome"`
	OtherAdjustmentsToNetIncome             float64            `json:"otherAdjustmentsToNetIncome"`
	OtherExpenses                           float64            `json:"otherExpenses"`
	Period                                  string             `json:"period"`
	ReportedCurrency                        string             `json:"reportedCurrency"`
	ResearchAndDevelopmentExpenses          float64            `json:"researchAndDevelopmentExpenses"`
	Revenue                                 float64            `json:"revenue"`
	SellingAndMarketingExpenses             float64            `json:"sellingAndMarketingExpenses"`
	SellingGeneralAndAdministrativeExpenses float64            `json:"sellingGeneralAndAdministrativeExpenses"`
	Symbol                                  string             `json:"symbol"`
	TotalOtherIncomeExpensesNet             float64            `json:"totalOtherIncomeExpensesNet"`
	WeightedAverageShsOut                   float64            `json:"weightedAverageShsOut"`
	WeightedAverageShsOutDil                float64            `json:"weightedAverageShsOutDil"`
}

IncomeStatement defines model for IncomeStatement.

type IncomeStatementGetClientResponse

type IncomeStatementGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]IncomeStatement
}

func ParseIncomeStatementGetClientResponse

func ParseIncomeStatementGetClientResponse(rsp *http.Response) (*IncomeStatementGetClientResponse, error)

ParseIncomeStatementGetClientResponse parses an HTTP response from a IncomeStatementGetWithResponse call

func (IncomeStatementGetClientResponse) Status

Status returns HTTPResponse.Status

func (IncomeStatementGetClientResponse) StatusCode

func (r IncomeStatementGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IncomeStatementGetParams

type IncomeStatementGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

IncomeStatementGetParams defines parameters for IncomeStatementGet.

type IncomeStatementTtm

type IncomeStatementTtm struct {
	AcceptedDate                            string             `json:"acceptedDate"`
	BottomLineNetIncome                     float64            `json:"bottomLineNetIncome"`
	Cik                                     string             `json:"cik"`
	CostAndExpenses                         float64            `json:"costAndExpenses"`
	CostOfRevenue                           float64            `json:"costOfRevenue"`
	Date                                    openapi_types.Date `json:"date"`
	DepreciationAndAmortization             float64            `json:"depreciationAndAmortization"`
	Ebit                                    float64            `json:"ebit"`
	Ebitda                                  float64            `json:"ebitda"`
	Eps                                     float64            `json:"eps"`
	EpsDiluted                              float64            `json:"epsDiluted"`
	FilingDate                              openapi_types.Date `json:"filingDate"`
	FiscalYear                              string             `json:"fiscalYear"`
	GeneralAndAdministrativeExpenses        float64            `json:"generalAndAdministrativeExpenses"`
	GrossProfit                             float64            `json:"grossProfit"`
	IncomeBeforeTax                         float64            `json:"incomeBeforeTax"`
	IncomeTaxExpense                        float64            `json:"incomeTaxExpense"`
	InterestExpense                         float64            `json:"interestExpense"`
	InterestIncome                          float64            `json:"interestIncome"`
	NetIncome                               float64            `json:"netIncome"`
	NetIncomeDeductions                     float64            `json:"netIncomeDeductions"`
	NetIncomeFromContinuingOperations       float64            `json:"netIncomeFromContinuingOperations"`
	NetIncomeFromDiscontinuedOperations     float64            `json:"netIncomeFromDiscontinuedOperations"`
	NetInterestIncome                       float64            `json:"netInterestIncome"`
	NonOperatingIncomeExcludingInterest     float64            `json:"nonOperatingIncomeExcludingInterest"`
	OperatingExpenses                       float64            `json:"operatingExpenses"`
	OperatingIncome                         float64            `json:"operatingIncome"`
	OtherAdjustmentsToNetIncome             float64            `json:"otherAdjustmentsToNetIncome"`
	OtherExpenses                           float64            `json:"otherExpenses"`
	Period                                  string             `json:"period"`
	ReportedCurrency                        string             `json:"reportedCurrency"`
	ResearchAndDevelopmentExpenses          float64            `json:"researchAndDevelopmentExpenses"`
	Revenue                                 float64            `json:"revenue"`
	SellingAndMarketingExpenses             float64            `json:"sellingAndMarketingExpenses"`
	SellingGeneralAndAdministrativeExpenses float64            `json:"sellingGeneralAndAdministrativeExpenses"`
	Symbol                                  string             `json:"symbol"`
	TotalOtherIncomeExpensesNet             float64            `json:"totalOtherIncomeExpensesNet"`
	WeightedAverageShsOut                   float64            `json:"weightedAverageShsOut"`
	WeightedAverageShsOutDil                float64            `json:"weightedAverageShsOutDil"`
}

IncomeStatementTtm defines model for IncomeStatementTtm.

type IncomeStatementTtmGetClientResponse

type IncomeStatementTtmGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]IncomeStatementTtm
}

func ParseIncomeStatementTtmGetClientResponse

func ParseIncomeStatementTtmGetClientResponse(rsp *http.Response) (*IncomeStatementTtmGetClientResponse, error)

ParseIncomeStatementTtmGetClientResponse parses an HTTP response from a IncomeStatementTtmGetWithResponse call

func (IncomeStatementTtmGetClientResponse) Status

Status returns HTTPResponse.Status

func (IncomeStatementTtmGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type IncomeStatementTtmGetParams

type IncomeStatementTtmGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
	Limit  *int   `form:"limit,omitempty" json:"limit,omitempty"`
}

IncomeStatementTtmGetParams defines parameters for IncomeStatementTtmGet.

type InsiderTradingLatestGetClientResponse

type InsiderTradingLatestGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]InsiderTransaction
}

func ParseInsiderTradingLatestGetClientResponse

func ParseInsiderTradingLatestGetClientResponse(rsp *http.Response) (*InsiderTradingLatestGetClientResponse, error)

ParseInsiderTradingLatestGetClientResponse parses an HTTP response from a InsiderTradingLatestGetWithResponse call

func (InsiderTradingLatestGetClientResponse) Status

Status returns HTTPResponse.Status

func (InsiderTradingLatestGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type InsiderTradingLatestGetParams

type InsiderTradingLatestGetParams struct {
	Date  *openapi_types.Date `form:"date,omitempty" json:"date,omitempty"`
	Page  *int                `form:"page,omitempty" json:"page,omitempty"`
	Limit *int                `form:"limit,omitempty" json:"limit,omitempty"`
}

InsiderTradingLatestGetParams defines parameters for InsiderTradingLatestGet.

type InsiderTransaction

type InsiderTransaction struct {
	AcquisitionOrDisposition string             `json:"acquisitionOrDisposition"`
	CompanyCik               string             `json:"companyCik"`
	DirectOrIndirect         string             `json:"directOrIndirect"`
	FilingDate               openapi_types.Date `json:"filingDate"`
	FormType                 string             `json:"formType"`
	Price                    float32            `json:"price"`
	ReportingCik             string             `json:"reportingCik"`
	ReportingName            string             `json:"reportingName"`
	SecuritiesOwned          int                `json:"securitiesOwned"`
	SecuritiesTransacted     int                `json:"securitiesTransacted"`
	SecurityName             string             `json:"securityName"`
	Symbol                   string             `json:"symbol"`
	TransactionDate          openapi_types.Date `json:"transactionDate"`
	TransactionType          string             `json:"transactionType"`
	TypeOfOwner              string             `json:"typeOfOwner"`
	Url                      string             `json:"url"`
}

InsiderTransaction defines model for InsiderTransaction.

type KeyMetrics

type KeyMetrics struct {
	AverageInventory                       float64            `json:"averageInventory"`
	AveragePayables                        float64            `json:"averagePayables"`
	AverageReceivables                     float64            `json:"averageReceivables"`
	CapexToDepreciation                    float64            `json:"capexToDepreciation"`
	CapexToOperatingCashFlow               float64            `json:"capexToOperatingCashFlow"`
	CapexToRevenue                         float64            `json:"capexToRevenue"`
	CashConversionCycle                    float64            `json:"cashConversionCycle"`
	CurrentRatio                           float64            `json:"currentRatio"`
	Date                                   openapi_types.Date `json:"date"`
	DaysOfInventoryOutstanding             float64            `json:"daysOfInventoryOutstanding"`
	DaysOfPayablesOutstanding              float64            `json:"daysOfPayablesOutstanding"`
	DaysOfSalesOutstanding                 float64            `json:"daysOfSalesOutstanding"`
	EarningsYield                          float64            `json:"earningsYield"`
	EnterpriseValue                        float64            `json:"enterpriseValue"`
	EvToEBITDA                             float64            `json:"evToEBITDA"`
	EvToFreeCashFlow                       float64            `json:"evToFreeCashFlow"`
	EvToOperatingCashFlow                  float64            `json:"evToOperatingCashFlow"`
	EvToSales                              float64            `json:"evToSales"`
	FiscalYear                             string             `json:"fiscalYear"`
	FreeCashFlowToEquity                   float64            `json:"freeCashFlowToEquity"`
	FreeCashFlowToFirm                     float64            `json:"freeCashFlowToFirm"`
	FreeCashFlowYield                      float64            `json:"freeCashFlowYield"`
	GrahamNetNet                           float64            `json:"grahamNetNet"`
	GrahamNumber                           float64            `json:"grahamNumber"`
	IncomeQuality                          float64            `json:"incomeQuality"`
	IntangiblesToTotalAssets               float64            `json:"intangiblesToTotalAssets"`
	InterestBurden                         float64            `json:"interestBurden"`
	InvestedCapital                        float64            `json:"investedCapital"`
	MarketCap                              float64            `json:"marketCap"`
	NetCurrentAssetValue                   float64            `json:"netCurrentAssetValue"`
	NetDebtToEBITDA                        float64            `json:"netDebtToEBITDA"`
	OperatingCycle                         float64            `json:"operatingCycle"`
	OperatingReturnOnAssets                float64            `json:"operatingReturnOnAssets"`
	Period                                 string             `json:"period"`
	ReportedCurrency                       string             `json:"reportedCurrency"`
	ResearchAndDevelopementToRevenue       float64            `json:"researchAndDevelopementToRevenue"`
	ReturnOnAssets                         float64            `json:"returnOnAssets"`
	ReturnOnCapitalEmployed                float64            `json:"returnOnCapitalEmployed"`
	ReturnOnEquity                         float64            `json:"returnOnEquity"`
	ReturnOnInvestedCapital                float64            `json:"returnOnInvestedCapital"`
	ReturnOnTangibleAssets                 float64            `json:"returnOnTangibleAssets"`
	SalesGeneralAndAdministrativeToRevenue float64            `json:"salesGeneralAndAdministrativeToRevenue"`
	StockBasedCompensationToRevenue        float64            `json:"stockBasedCompensationToRevenue"`
	Symbol                                 string             `json:"symbol"`
	TangibleAssetValue                     float64            `json:"tangibleAssetValue"`
	TaxBurden                              float64            `json:"taxBurden"`
	WorkingCapital                         float64            `json:"workingCapital"`
}

KeyMetrics defines model for KeyMetrics.

type KeyMetricsGetClientResponse

type KeyMetricsGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]KeyMetrics
}

func ParseKeyMetricsGetClientResponse

func ParseKeyMetricsGetClientResponse(rsp *http.Response) (*KeyMetricsGetClientResponse, error)

ParseKeyMetricsGetClientResponse parses an HTTP response from a KeyMetricsGetWithResponse call

func (KeyMetricsGetClientResponse) Status

Status returns HTTPResponse.Status

func (KeyMetricsGetClientResponse) StatusCode

func (r KeyMetricsGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type KeyMetricsGetParams

type KeyMetricsGetParams struct {
	Symbol string  `form:"symbol" json:"symbol"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Period *Period `form:"period,omitempty" json:"period,omitempty"`
}

KeyMetricsGetParams defines parameters for KeyMetricsGet.

type LightCandle

type LightCandle struct {
	Date   openapi_types.Date `json:"date"`
	Price  float32            `json:"price"`
	Symbol string             `json:"symbol"`
	Volume int                `json:"volume"`
}

LightCandle defines model for LightCandle.

type MarketCapitalizationBatchGetClientResponse

type MarketCapitalizationBatchGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CompanyCapitalization
}

func ParseMarketCapitalizationBatchGetClientResponse

func ParseMarketCapitalizationBatchGetClientResponse(rsp *http.Response) (*MarketCapitalizationBatchGetClientResponse, error)

ParseMarketCapitalizationBatchGetClientResponse parses an HTTP response from a MarketCapitalizationBatchGetWithResponse call

func (MarketCapitalizationBatchGetClientResponse) Status

Status returns HTTPResponse.Status

func (MarketCapitalizationBatchGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type MarketCapitalizationBatchGetParams

type MarketCapitalizationBatchGetParams struct {
	// Symbols Array of symbols to fetch market capitalization data for
	Symbols string `form:"symbols" json:"symbols"`
}

MarketCapitalizationBatchGetParams defines parameters for MarketCapitalizationBatchGet.

type MarketCapitalizationGetClientResponse

type MarketCapitalizationGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CompanyCapitalization
}

func ParseMarketCapitalizationGetClientResponse

func ParseMarketCapitalizationGetClientResponse(rsp *http.Response) (*MarketCapitalizationGetClientResponse, error)

ParseMarketCapitalizationGetClientResponse parses an HTTP response from a MarketCapitalizationGetWithResponse call

func (MarketCapitalizationGetClientResponse) Status

Status returns HTTPResponse.Status

func (MarketCapitalizationGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type MarketCapitalizationGetParams

type MarketCapitalizationGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

MarketCapitalizationGetParams defines parameters for MarketCapitalizationGet.

type News

type News struct {
	Action          string    `json:"action"`
	GradingCompany  string    `json:"gradingCompany"`
	NewGrade        string    `json:"newGrade"`
	NewsBaseURL     string    `json:"newsBaseURL"`
	NewsPublisher   string    `json:"newsPublisher"`
	NewsTitle       string    `json:"newsTitle"`
	NewsURL         string    `json:"newsURL"`
	PreviousGrade   string    `json:"previousGrade"`
	PriceWhenPosted float32   `json:"priceWhenPosted"`
	PublishedDate   time.Time `json:"publishedDate"`
	Symbol          string    `json:"symbol"`
}

News defines model for News.

type NewsArticle

type NewsArticle struct {
	Image         string    `json:"image"`
	PublishedDate time.Time `json:"publishedDate"`
	Publisher     string    `json:"publisher"`
	Site          string    `json:"site"`
	Symbol        string    `json:"symbol"`
	Text          string    `json:"text"`
	Title         string    `json:"title"`
	Url           string    `json:"url"`
}

NewsArticle defines model for NewsArticle.

type NewsGeneralLatestGetClientResponse

type NewsGeneralLatestGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]NewsArticle
}

func ParseNewsGeneralLatestGetClientResponse

func ParseNewsGeneralLatestGetClientResponse(rsp *http.Response) (*NewsGeneralLatestGetClientResponse, error)

ParseNewsGeneralLatestGetClientResponse parses an HTTP response from a NewsGeneralLatestGetWithResponse call

func (NewsGeneralLatestGetClientResponse) Status

Status returns HTTPResponse.Status

func (NewsGeneralLatestGetClientResponse) StatusCode

func (r NewsGeneralLatestGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NewsGeneralLatestGetParams

type NewsGeneralLatestGetParams struct {
	From  *openapi_types.Date `form:"from,omitempty" json:"from,omitempty"`
	To    *openapi_types.Date `form:"to,omitempty" json:"to,omitempty"`
	Page  *int                `form:"page,omitempty" json:"page,omitempty"`
	Limit *int                `form:"limit,omitempty" json:"limit,omitempty"`
}

NewsGeneralLatestGetParams defines parameters for NewsGeneralLatestGet.

type OperationPath

type OperationPath string
const (

	// /analyst-estimates
	AnalystEstimatesGetOperationPath OperationPath = "/analyst-estimates"

	// /balance-sheet-statement
	BalanceSheetStatementGetOperationPath OperationPath = "/balance-sheet-statement"

	// /balance-sheet-statement-ttm
	BalanceSheetStatementTtmGetOperationPath OperationPath = "/balance-sheet-statement-ttm"

	// /batch-quote
	BatchQuoteGetOperationPath OperationPath = "/batch-quote"

	// /batch-quote-short
	BatchQuoteShortGetOperationPath OperationPath = "/batch-quote-short"

	// /cash-flow-statement
	CashFlowStatementGetOperationPath OperationPath = "/cash-flow-statement"

	// /cash-flow-statement-ttm
	CashFlowStatementTtmGetOperationPath OperationPath = "/cash-flow-statement-ttm"

	// /economic-calendar
	EconomicCalendarGetOperationPath OperationPath = "/economic-calendar"

	// /esg-disclosures
	EsgDisclosuresGetOperationPath OperationPath = "/esg-disclosures"

	// /esg-ratings
	EsgRatingsGetOperationPath OperationPath = "/esg-ratings"

	// /grades-latest-news
	GradesLatestNewsGetOperationPath OperationPath = "/grades-latest-news"

	// /historical-price-eod/full
	HistoricalPriceEodFullGetOperationPath OperationPath = "/historical-price-eod/full"

	// /historical-price-eod/light
	HistoricalPriceEodLightGetOperationPath OperationPath = "/historical-price-eod/light"

	// /income-statement
	IncomeStatementGetOperationPath OperationPath = "/income-statement"

	// /income-statement-ttm
	IncomeStatementTtmGetOperationPath OperationPath = "/income-statement-ttm"

	// /insider-trading/latest
	InsiderTradingLatestGetOperationPath OperationPath = "/insider-trading/latest"

	// /key-metrics
	KeyMetricsGetOperationPath OperationPath = "/key-metrics"

	// /market-capitalization
	MarketCapitalizationGetOperationPath OperationPath = "/market-capitalization"

	// /market-capitalization-batch
	MarketCapitalizationBatchGetOperationPath OperationPath = "/market-capitalization-batch"

	// /news/general-latest
	NewsGeneralLatestGetOperationPath OperationPath = "/news/general-latest"

	// /profile
	ProfileGetOperationPath OperationPath = "/profile"

	// /quote
	QuoteGetOperationPath OperationPath = "/quote"

	// /quote-short
	QuoteShortGetOperationPath OperationPath = "/quote-short"

	// /ratings-snapshot
	RatingsSnapshotGetOperationPath OperationPath = "/ratings-snapshot"

	// /ratios
	RatiosGetOperationPath OperationPath = "/ratios"

	// /revenue-geographic-segmentation
	RevenueGeographicSegmentationGetOperationPath OperationPath = "/revenue-geographic-segmentation"

	// /revenue-product-segmentation
	RevenueProductSegmentationGetOperationPath OperationPath = "/revenue-product-segmentation"

	// /search-name
	SearchNameGetOperationPath OperationPath = "/search-name"

	// /search-symbol
	SearchSymbolGetOperationPath OperationPath = "/search-symbol"

	// /shares-float
	SharesFloatGetOperationPath OperationPath = "/shares-float"

	// /treasury-rates
	TreasuryRatesGetOperationPath OperationPath = "/treasury-rates"
)

type Period

type Period string

Period Reporting period

const (
	FY Period = "FY"
	Q1 Period = "Q1"
	Q2 Period = "Q2"
	Q3 Period = "Q3"
	Q4 Period = "Q4"
)

Defines values for Period.

type ProfileGetClientResponse

type ProfileGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProfileGetResponse
	JSON401      *ErrorResponse
}

func ParseProfileGetClientResponse

func ParseProfileGetClientResponse(rsp *http.Response) (*ProfileGetClientResponse, error)

ParseProfileGetClientResponse parses an HTTP response from a ProfileGetWithResponse call

func (ProfileGetClientResponse) Status

func (r ProfileGetClientResponse) Status() string

Status returns HTTPResponse.Status

func (ProfileGetClientResponse) StatusCode

func (r ProfileGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProfileGetParams

type ProfileGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

ProfileGetParams defines parameters for ProfileGet.

type ProfileGetResponse

type ProfileGetResponse = []CompanyProfile

ProfileGetResponse defines model for ProfileGetResponse.

type QuoteGetClientResponse

type QuoteGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]FullQuote
}

func ParseQuoteGetClientResponse

func ParseQuoteGetClientResponse(rsp *http.Response) (*QuoteGetClientResponse, error)

ParseQuoteGetClientResponse parses an HTTP response from a QuoteGetWithResponse call

func (QuoteGetClientResponse) Status

func (r QuoteGetClientResponse) Status() string

Status returns HTTPResponse.Status

func (QuoteGetClientResponse) StatusCode

func (r QuoteGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QuoteGetParams

type QuoteGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

QuoteGetParams defines parameters for QuoteGet.

type QuoteShortGetClientResponse

type QuoteShortGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ShortQuote
}

func ParseQuoteShortGetClientResponse

func ParseQuoteShortGetClientResponse(rsp *http.Response) (*QuoteShortGetClientResponse, error)

ParseQuoteShortGetClientResponse parses an HTTP response from a QuoteShortGetWithResponse call

func (QuoteShortGetClientResponse) Status

Status returns HTTPResponse.Status

func (QuoteShortGetClientResponse) StatusCode

func (r QuoteShortGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QuoteShortGetParams

type QuoteShortGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

QuoteShortGetParams defines parameters for QuoteShortGet.

type RatingSnapshot

type RatingSnapshot struct {
	DebtToEquityScore       int    `json:"debtToEquityScore"`
	DiscountedCashFlowScore int    `json:"discountedCashFlowScore"`
	OverallScore            int    `json:"overallScore"`
	PriceToBookScore        int    `json:"priceToBookScore"`
	PriceToEarningsScore    int    `json:"priceToEarningsScore"`
	Rating                  string `json:"rating"`
	ReturnOnAssetsScore     int    `json:"returnOnAssetsScore"`
	ReturnOnEquityScore     int    `json:"returnOnEquityScore"`
	Symbol                  string `json:"symbol"`
}

RatingSnapshot defines model for RatingSnapshot.

type RatingsSnapshotGetClientResponse

type RatingsSnapshotGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RatingSnapshot
}

func ParseRatingsSnapshotGetClientResponse

func ParseRatingsSnapshotGetClientResponse(rsp *http.Response) (*RatingsSnapshotGetClientResponse, error)

ParseRatingsSnapshotGetClientResponse parses an HTTP response from a RatingsSnapshotGetWithResponse call

func (RatingsSnapshotGetClientResponse) Status

Status returns HTTPResponse.Status

func (RatingsSnapshotGetClientResponse) StatusCode

func (r RatingsSnapshotGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RatingsSnapshotGetParams

type RatingsSnapshotGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
	Limit  *int   `form:"limit,omitempty" json:"limit,omitempty"`
}

RatingsSnapshotGetParams defines parameters for RatingsSnapshotGet.

type RatiosGetClientResponse

type RatiosGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]FinancialRatios
}

func ParseRatiosGetClientResponse

func ParseRatiosGetClientResponse(rsp *http.Response) (*RatiosGetClientResponse, error)

ParseRatiosGetClientResponse parses an HTTP response from a RatiosGetWithResponse call

func (RatiosGetClientResponse) Status

func (r RatiosGetClientResponse) Status() string

Status returns HTTPResponse.Status

func (RatiosGetClientResponse) StatusCode

func (r RatiosGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RatiosGetParams

type RatiosGetParams struct {
	Symbol string  `form:"symbol" json:"symbol"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Period *Period `form:"period,omitempty" json:"period,omitempty"`
}

RatiosGetParams defines parameters for RatiosGet.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RevenueGeographicSegmentationGetClientResponse

type RevenueGeographicSegmentationGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RevenueSegmentation
}

func ParseRevenueGeographicSegmentationGetClientResponse

func ParseRevenueGeographicSegmentationGetClientResponse(rsp *http.Response) (*RevenueGeographicSegmentationGetClientResponse, error)

ParseRevenueGeographicSegmentationGetClientResponse parses an HTTP response from a RevenueGeographicSegmentationGetWithResponse call

func (RevenueGeographicSegmentationGetClientResponse) Status

Status returns HTTPResponse.Status

func (RevenueGeographicSegmentationGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RevenueGeographicSegmentationGetParams

type RevenueGeographicSegmentationGetParams struct {
	Symbol    string  `form:"symbol" json:"symbol"`
	Period    *Period `form:"period,omitempty" json:"period,omitempty"`
	Structure *string `form:"structure,omitempty" json:"structure,omitempty"`
}

RevenueGeographicSegmentationGetParams defines parameters for RevenueGeographicSegmentationGet.

type RevenueProductSegmentationGetClientResponse

type RevenueProductSegmentationGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RevenueSegmentation
}

func ParseRevenueProductSegmentationGetClientResponse

func ParseRevenueProductSegmentationGetClientResponse(rsp *http.Response) (*RevenueProductSegmentationGetClientResponse, error)

ParseRevenueProductSegmentationGetClientResponse parses an HTTP response from a RevenueProductSegmentationGetWithResponse call

func (RevenueProductSegmentationGetClientResponse) Status

Status returns HTTPResponse.Status

func (RevenueProductSegmentationGetClientResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RevenueProductSegmentationGetParams

type RevenueProductSegmentationGetParams struct {
	Symbol    string  `form:"symbol" json:"symbol"`
	Period    *Period `form:"period,omitempty" json:"period,omitempty"`
	Structure *string `form:"structure,omitempty" json:"structure,omitempty"`
}

RevenueProductSegmentationGetParams defines parameters for RevenueProductSegmentationGet.

type RevenueSegmentation

type RevenueSegmentation struct {
	Data             map[string]float32 `json:"data"`
	Date             openapi_types.Date `json:"date"`
	FiscalYear       int                `json:"fiscalYear"`
	Period           string             `json:"period"`
	ReportedCurrency *string            `json:"reportedCurrency"`
	Symbol           string             `json:"symbol"`
}

RevenueSegmentation defines model for RevenueSegmentation.

type SearchNameGetClientResponse

type SearchNameGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SearchSymbol
}

func ParseSearchNameGetClientResponse

func ParseSearchNameGetClientResponse(rsp *http.Response) (*SearchNameGetClientResponse, error)

ParseSearchNameGetClientResponse parses an HTTP response from a SearchNameGetWithResponse call

func (SearchNameGetClientResponse) Status

Status returns HTTPResponse.Status

func (SearchNameGetClientResponse) StatusCode

func (r SearchNameGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchNameGetParams

type SearchNameGetParams struct {
	SearchSymbol string  `form:"search-symbol" json:"search-symbol"`
	Limit        *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Exchange     *string `form:"exchange,omitempty" json:"exchange,omitempty"`
}

SearchNameGetParams defines parameters for SearchNameGet.

type SearchSymbol

type SearchSymbol struct {
	Currency         string `json:"currency"`
	Exchange         string `json:"exchange"`
	ExchangeFullName string `json:"exchangeFullName"`
	Name             string `json:"name"`
	Symbol           string `json:"symbol"`
}

SearchSymbol defines model for SearchSymbol.

type SearchSymbolGetClientResponse

type SearchSymbolGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SearchSymbol
}

func ParseSearchSymbolGetClientResponse

func ParseSearchSymbolGetClientResponse(rsp *http.Response) (*SearchSymbolGetClientResponse, error)

ParseSearchSymbolGetClientResponse parses an HTTP response from a SearchSymbolGetWithResponse call

func (SearchSymbolGetClientResponse) Status

Status returns HTTPResponse.Status

func (SearchSymbolGetClientResponse) StatusCode

func (r SearchSymbolGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchSymbolGetParams

type SearchSymbolGetParams struct {
	Query    string  `form:"query" json:"query"`
	Limit    *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Exchange *string `form:"exchange,omitempty" json:"exchange,omitempty"`
}

SearchSymbolGetParams defines parameters for SearchSymbolGet.

type SharesFloatGetClientResponse

type SharesFloatGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CompanySharesFloat
}

func ParseSharesFloatGetClientResponse

func ParseSharesFloatGetClientResponse(rsp *http.Response) (*SharesFloatGetClientResponse, error)

ParseSharesFloatGetClientResponse parses an HTTP response from a SharesFloatGetWithResponse call

func (SharesFloatGetClientResponse) Status

Status returns HTTPResponse.Status

func (SharesFloatGetClientResponse) StatusCode

func (r SharesFloatGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SharesFloatGetParams

type SharesFloatGetParams struct {
	Symbol string `form:"symbol" json:"symbol"`
}

SharesFloatGetParams defines parameters for SharesFloatGet.

type ShortQuote

type ShortQuote struct {
	Change float64 `json:"change"`
	Price  float64 `json:"price"`
	Symbol string  `json:"symbol"`
	Volume int     `json:"volume"`
}

ShortQuote defines model for ShortQuote.

type TreasuryRates

type TreasuryRates struct {
	Date   openapi_types.Date `json:"date"`
	Month1 float64            `json:"month1"`
	Month2 float64            `json:"month2"`
	Month3 float64            `json:"month3"`
	Month6 float64            `json:"month6"`
	Year1  float64            `json:"year1"`
	Year10 float64            `json:"year10"`
	Year2  float64            `json:"year2"`
	Year20 float64            `json:"year20"`
	Year3  float64            `json:"year3"`
	Year30 float64            `json:"year30"`
	Year5  float64            `json:"year5"`
	Year7  float64            `json:"year7"`
}

TreasuryRates defines model for TreasuryRates.

type TreasuryRatesGetClientResponse

type TreasuryRatesGetClientResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TreasuryRates
}

func ParseTreasuryRatesGetClientResponse

func ParseTreasuryRatesGetClientResponse(rsp *http.Response) (*TreasuryRatesGetClientResponse, error)

ParseTreasuryRatesGetClientResponse parses an HTTP response from a TreasuryRatesGetWithResponse call

func (TreasuryRatesGetClientResponse) Status

Status returns HTTPResponse.Status

func (TreasuryRatesGetClientResponse) StatusCode

func (r TreasuryRatesGetClientResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TreasuryRatesGetParams

type TreasuryRatesGetParams struct {
	From *openapi_types.Date `form:"from,omitempty" json:"from,omitempty"`
	To   *openapi_types.Date `form:"to,omitempty" json:"to,omitempty"`
}

TreasuryRatesGetParams defines parameters for TreasuryRatesGet.

Jump to

Keyboard shortcuts

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