Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AggregateIndicators
- type BasicAuth
- type BasicFinancials
- type Company
- type CompanyEarningsOpts
- type CompanyEpsEstimatesOpts
- type CompanyExecutive
- type CompanyNewsStatistics
- type CompanyProfile
- type CompanyProfile2
- type CompanyProfile2Opts
- type CompanyProfileOpts
- type CompanyRevenueEstimatesOpts
- type Configuration
- type Covid19
- type CryptoCandles
- type CryptoCandlesOpts
- type CryptoSymbol
- type DefaultApiService
- func (a *DefaultApiService) AggregateIndicator(ctx _context.Context, symbol string, resolution string) (AggregateIndicators, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyBasicFinancials(ctx _context.Context, symbol string, metric string) (BasicFinancials, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyEarnings(ctx _context.Context, symbol string, localVarOptionals *CompanyEarningsOpts) ([]EarningResult, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyEpsEstimates(ctx _context.Context, symbol string, ...) (EarningsEstimates, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyExecutive(ctx _context.Context, symbol string) (CompanyExecutive, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyNews(ctx _context.Context, symbol string, from string, to string) ([]News, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyPeers(ctx _context.Context, symbol string) ([]string, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyProfile(ctx _context.Context, localVarOptionals *CompanyProfileOpts) (CompanyProfile, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyProfile2(ctx _context.Context, localVarOptionals *CompanyProfile2Opts) (CompanyProfile2, *_nethttp.Response, error)
- func (a *DefaultApiService) CompanyRevenueEstimates(ctx _context.Context, symbol string, ...) (RevenueEstimates, *_nethttp.Response, error)
- func (a *DefaultApiService) Country(ctx _context.Context) ([]EconomicCode, *_nethttp.Response, error)
- func (a *DefaultApiService) Covid19(ctx _context.Context) (Covid19, *_nethttp.Response, error)
- func (a *DefaultApiService) CryptoCandles(ctx _context.Context, symbol string, resolution string, from int64, to int64, ...) (CryptoCandles, *_nethttp.Response, error)
- func (a *DefaultApiService) CryptoExchanges(ctx _context.Context) ([]string, *_nethttp.Response, error)
- func (a *DefaultApiService) CryptoSymbols(ctx _context.Context, exchange string) ([]CryptoSymbol, *_nethttp.Response, error)
- func (a *DefaultApiService) EarningsCalendar(ctx _context.Context, localVarOptionals *EarningsCalendarOpts) ([]EarningRelease, *_nethttp.Response, error)
- func (a *DefaultApiService) EconomicCode(ctx _context.Context) ([]EconomicCode, *_nethttp.Response, error)
- func (a *DefaultApiService) EconomicData(ctx _context.Context, code string) (EconomicData, *_nethttp.Response, error)
- func (a *DefaultApiService) Filings(ctx _context.Context, localVarOptionals *FilingsOpts) ([]Filing, *_nethttp.Response, error)
- func (a *DefaultApiService) Financials(ctx _context.Context, symbol string, statement string, freq string) (FinancialStatements, *_nethttp.Response, error)
- func (a *DefaultApiService) FinancialsReported(ctx _context.Context, localVarOptionals *FinancialsReportedOpts) (FinancialsAsReported, *_nethttp.Response, error)
- func (a *DefaultApiService) ForexCandles(ctx _context.Context, symbol string, resolution string, from int64, to int64, ...) (ForexCandles, *_nethttp.Response, error)
- func (a *DefaultApiService) ForexExchanges(ctx _context.Context) ([]string, *_nethttp.Response, error)
- func (a *DefaultApiService) ForexRates(ctx _context.Context, localVarOptionals *ForexRatesOpts) (Forexrates, *_nethttp.Response, error)
- func (a *DefaultApiService) ForexSymbols(ctx _context.Context, exchange string) ([]ForexSymbol, *_nethttp.Response, error)
- func (a *DefaultApiService) FundOwnership(ctx _context.Context, symbol string, localVarOptionals *FundOwnershipOpts) (FundOwnership, *_nethttp.Response, error)
- func (a *DefaultApiService) GeneralNews(ctx _context.Context, category string, localVarOptionals *GeneralNewsOpts) ([]News, *_nethttp.Response, error)
- func (a *DefaultApiService) InvestorsOwnership(ctx _context.Context, symbol string, localVarOptionals *InvestorsOwnershipOpts) (InvestorsOwnership, *_nethttp.Response, error)
- func (a *DefaultApiService) IpoCalendar(ctx _context.Context, from string, to string) ([]IpoEvent, *_nethttp.Response, error)
- func (a *DefaultApiService) MajorDevelopments(ctx _context.Context, symbol string, localVarOptionals *MajorDevelopmentsOpts) (MajorDevelopments, *_nethttp.Response, error)
- func (a *DefaultApiService) NewsSentiment(ctx _context.Context, symbol string) (NewsSentiment, *_nethttp.Response, error)
- func (a *DefaultApiService) PatternRecognition(ctx _context.Context, symbol string, resolution string) ([]map[string]interface{}, *_nethttp.Response, error)
- func (a *DefaultApiService) PriceTarget(ctx _context.Context, symbol string) (PriceTarget, *_nethttp.Response, error)
- func (a *DefaultApiService) Quote(ctx _context.Context, symbol string) (Quote, *_nethttp.Response, error)
- func (a *DefaultApiService) RecommendationTrends(ctx _context.Context, symbol string) (RecommendationTrends, *_nethttp.Response, error)
- func (a *DefaultApiService) StockCandles(ctx _context.Context, symbol string, resolution string, from int64, to int64, ...) (StockCandles, *_nethttp.Response, error)
- func (a *DefaultApiService) StockDividends(ctx _context.Context, symbol string, from string, to string) (Dividends, *_nethttp.Response, error)
- func (a *DefaultApiService) StockSplits(ctx _context.Context, symbol string, from string, to string) (Splits, *_nethttp.Response, error)
- func (a *DefaultApiService) StockSymbols(ctx _context.Context, exchange string) ([]Stock, *_nethttp.Response, error)
- func (a *DefaultApiService) StockTick(ctx _context.Context, symbol string, date string) (TickData, *_nethttp.Response, error)
- func (a *DefaultApiService) SupportResistance(ctx _context.Context, symbol string, resolution string) ([]float32, *_nethttp.Response, error)
- func (a *DefaultApiService) TechnicalIndicator(ctx _context.Context, symbol string, resolution string, from int64, to int64, ...) (TechnicalIndicators, *_nethttp.Response, error)
- func (a *DefaultApiService) Transcripts(ctx _context.Context, id string) (EarningsCallTranscripts, *_nethttp.Response, error)
- func (a *DefaultApiService) TranscriptsList(ctx _context.Context, symbol string) (EarningsCallTranscriptsList, *_nethttp.Response, error)
- func (a *DefaultApiService) UpgradeDowngrade(ctx _context.Context, localVarOptionals *UpgradeDowngradeOpts) ([]UpgradeDowngrade, *_nethttp.Response, error)
- type Development
- type Dividends
- type EarningEstimate
- type EarningRelease
- type EarningResult
- type EarningsCalendarOpts
- type EarningsCallTranscripts
- type EarningsCallTranscriptsList
- type EarningsEstimates
- type Economic
- type EconomicCalendar
- type EconomicCode
- type EconomicData
- type EconomicEvent
- type Estimate
- type Filing
- type FilingsOpts
- type FinancialStatements
- type FinancialsAsReported
- type FinancialsReportedOpts
- type ForexCandles
- type ForexCandlesOpts
- type ForexRatesOpts
- type ForexSymbol
- type Forexrates
- type FundOwnership
- type FundOwnershipOpts
- type GeneralNewsOpts
- type GenericOpenAPIError
- type Indicator
- type Investor
- type InvestorsOwnership
- type InvestorsOwnershipOpts
- type IpoEvent
- type MajorDevelopments
- type MajorDevelopmentsOpts
- type MergerCountry
- type Metrics
- type News
- type NewsSentiment
- type PriceTarget
- type Quote
- type RecommendationTrends
- type Report
- type RevenueEstimates
- type Sentiment
- type ServerConfiguration
- type ServerVariable
- type Splits
- type Stock
- type StockCandles
- type StockCandlesOpts
- type StockExchange
- type StockTranscripts
- type TechnicalAnalysis
- type TechnicalIndicatorOpts
- type TechnicalIndicators
- type TickData
- type TranscriptContent
- type TranscriptParticipant
- type Trend
- type UpgradeDowngrade
- type UpgradeDowngradeOpts
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { DefaultApi *DefaultApiService // contains filtered or unexported fields }
APIClient manages communication with the Finnhub API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
ChangeBasePath changes base path to allow switching to mocks
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResonse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AggregateIndicators ¶
type AggregateIndicators struct { TechnicalAnalysis TechnicalAnalysis `json:"technicalAnalysis,omitempty"` Trend Trend `json:"trend,omitempty"` }
AggregateIndicators struct for AggregateIndicators
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BasicFinancials ¶ added in v1.0.2
type BasicFinancials struct { // Symbol of the company. Symbol string `json:"symbol,omitempty"` // Metric type. MetricType string `json:"metricType,omitempty"` Metric map[string]interface{} `json:"metric,omitempty"` }
BasicFinancials struct for BasicFinancials
type Company ¶
type Company struct { // Executive name Name string `json:"name,omitempty"` // Age Age int64 `json:"age,omitempty"` // Title Title string `json:"title,omitempty"` // Year appointed Since string `json:"since,omitempty"` // Sex Sex string `json:"sex,omitempty"` // Total compensation Compensation int64 `json:"compensation,omitempty"` // Compensation currency Currency string `json:"currency,omitempty"` }
Company struct for Company
type CompanyEarningsOpts ¶
CompanyEarningsOpts Optional parameters for the method 'CompanyEarnings'
type CompanyEpsEstimatesOpts ¶
CompanyEpsEstimatesOpts Optional parameters for the method 'CompanyEpsEstimates'
type CompanyExecutive ¶
type CompanyExecutive struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Array of company's executives and members of the Board. Executive []map[string]interface{} `json:"executive,omitempty"` }
CompanyExecutive struct for CompanyExecutive
type CompanyNewsStatistics ¶
type CompanyNewsStatistics struct { // ArticlesInLastWeek int64 `json:"articlesInLastWeek,omitempty"` // Buzz float32 `json:"buzz,omitempty"` // WeeklyAverage float32 `json:"weeklyAverage,omitempty"` }
CompanyNewsStatistics struct for CompanyNewsStatistics
type CompanyProfile ¶
type CompanyProfile struct { // Address of company's headquarter. Address string `json:"address,omitempty"` // City of company's headquarter. City string `json:"city,omitempty"` // Country of company's headquarter. Country string `json:"country,omitempty"` // Currency used in company filings. Currency string `json:"currency,omitempty"` // CUSIP number. Cusip string `json:"cusip,omitempty"` // Sedol number. Sedol int64 `json:"sedol,omitempty"` // Company business summary. Description string `json:"description,omitempty"` // Listed exchange. Exchange string `json:"exchange,omitempty"` // GICS industry group. Ggroup string `json:"ggroup,omitempty"` // GICS industry. Gind string `json:"gind,omitempty"` // GICS sector. Gsector string `json:"gsector,omitempty"` // GICS sub-industry. Gsubind string `json:"gsubind,omitempty"` // ISIN number. Isin string `json:"isin,omitempty"` // NAICS national industry. NaicsNationalIndustry string `json:"naicsNationalIndustry,omitempty"` // NAICS industry. Naics string `json:"naics,omitempty"` // NAICS sector. NaicsSector string `json:"naicsSector,omitempty"` // NAICS subsector. NaicsSubsector string `json:"naicsSubsector,omitempty"` // Company name. Name string `json:"name,omitempty"` // Company phone number. Phone string `json:"phone,omitempty"` // State of company's headquarter. State string `json:"state,omitempty"` // Company symbol/ticker as used on the listed exchange. Ticker string `json:"ticker,omitempty"` // Company website. Weburl string `json:"weburl,omitempty"` // IPO date. Ipo string `json:"ipo,omitempty"` // Market Capitalization. MarketCapitalization float32 `json:"marketCapitalization,omitempty"` ShareOutstanding float32 `json:"shareOutstanding,omitempty"` // Number of employee. EmployeeTotal int64 `json:"employeeTotal,omitempty"` // Logo image. Logo string `json:"logo,omitempty"` // Finnhub industry classification. FinnhubIndustry string `json:"finnhubIndustry,omitempty"` }
CompanyProfile struct for CompanyProfile
type CompanyProfile2 ¶
type CompanyProfile2 struct { // Country of company's headquarter. Country string `json:"country,omitempty"` // Currency used in company filings. Currency string `json:"currency,omitempty"` // Listed exchange. Exchange string `json:"exchange,omitempty"` // Company name. Name string `json:"name,omitempty"` // Company symbol/ticker as used on the listed exchange. Ticker string `json:"ticker,omitempty"` // IPO date. Ipo string `json:"ipo,omitempty"` // Market Capitalization. MarketCapitalization float32 `json:"marketCapitalization,omitempty"` ShareOutstanding float32 `json:"shareOutstanding,omitempty"` // Logo image. Logo string `json:"logo,omitempty"` // Company phone number. Phone string `json:"phone,omitempty"` // Company website. Weburl string `json:"weburl,omitempty"` // Finnhub industry classification. FinnhubIndustry string `json:"finnhubIndustry,omitempty"` }
CompanyProfile2 struct for CompanyProfile2
type CompanyProfile2Opts ¶
type CompanyProfile2Opts struct { Symbol optional.String Isin optional.String Cusip optional.String }
CompanyProfile2Opts Optional parameters for the method 'CompanyProfile2'
type CompanyProfileOpts ¶
type CompanyProfileOpts struct { Symbol optional.String Isin optional.String Cusip optional.String }
CompanyProfileOpts Optional parameters for the method 'CompanyProfile'
type CompanyRevenueEstimatesOpts ¶
CompanyRevenueEstimatesOpts Optional parameters for the method 'CompanyRevenueEstimates'
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers []ServerConfiguration HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
type Covid19 ¶
type Covid19 struct { // State. State string `json:"state,omitempty"` // Number of confirmed cases. Case float32 `json:"case,omitempty"` // Number of confirmed deaths. Death float32 `json:"death,omitempty"` // Updated time. Updated time.Time `json:"updated,omitempty"` }
Covid19 struct for Covid19
type CryptoCandles ¶
type CryptoCandles struct { // List of open prices for returned candles. O []float32 `json:"o,omitempty"` // List of high prices for returned candles. H []float32 `json:"h,omitempty"` // List of low prices for returned candles. L []float32 `json:"l,omitempty"` // List of close prices for returned candles. C []float32 `json:"c,omitempty"` // List of volume data for returned candles. V []float32 `json:"v,omitempty"` // List of timestamp for returned candles. T []int64 `json:"t,omitempty"` // Status of the response. This field can either be ok or no_data. S string `json:"s,omitempty"` }
CryptoCandles struct for CryptoCandles
type CryptoCandlesOpts ¶
CryptoCandlesOpts Optional parameters for the method 'CryptoCandles'
type CryptoSymbol ¶
type CryptoSymbol struct { // Symbol description Description string `json:"description,omitempty"` // Display symbol name. DisplaySymbol string `json:"displaySymbol,omitempty"` // Unique symbol used to identify this symbol used in <code>/crypto/candle</code> endpoint. Symbol string `json:"symbol,omitempty"` }
CryptoSymbol struct for CryptoSymbol
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) AggregateIndicator ¶
func (a *DefaultApiService) AggregateIndicator(ctx _context.Context, symbol string, resolution string) (AggregateIndicators, *_nethttp.Response, error)
AggregateIndicator Aggregate Indicators Get aggregate signal of multiple technical indicators such as MACD, RSI, Moving Average v.v.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol symbol
- @param resolution Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
@return AggregateIndicators
func (*DefaultApiService) CompanyBasicFinancials ¶ added in v1.0.2
func (a *DefaultApiService) CompanyBasicFinancials(ctx _context.Context, symbol string, metric string) (BasicFinancials, *_nethttp.Response, error)
CompanyBasicFinancials Basic Financials Get company basic financials such as margin, P/E ratio, 52-week high/low etc.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
- @param metric Metric type. Can be 1 of the following values <code>all, price, valuation, margin</code>
@return BasicFinancials
func (*DefaultApiService) CompanyEarnings ¶
func (a *DefaultApiService) CompanyEarnings(ctx _context.Context, symbol string, localVarOptionals *CompanyEarningsOpts) ([]EarningResult, *_nethttp.Response, error)
CompanyEarnings Earnings Surprises Get company historical quarterly earnings surprise going back to 2000.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
- @param optional nil or *CompanyEarningsOpts - Optional Parameters:
- @param "Limit" (optional.Int64) - Limit number of period returned. Leave blank to get the full history.
@return []EarningResult
func (*DefaultApiService) CompanyEpsEstimates ¶
func (a *DefaultApiService) CompanyEpsEstimates(ctx _context.Context, symbol string, localVarOptionals *CompanyEpsEstimatesOpts) (EarningsEstimates, *_nethttp.Response, error)
CompanyEpsEstimates Earnings Estimates Get company's EPS estimates.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
- @param optional nil or *CompanyEpsEstimatesOpts - Optional Parameters:
- @param "Freq" (optional.String) - Can take 1 of the following values: <code>annual, quarterly</code>. Default to <code>quarterly</code>
@return EarningsEstimates
func (*DefaultApiService) CompanyExecutive ¶
func (a *DefaultApiService) CompanyExecutive(ctx _context.Context, symbol string) (CompanyExecutive, *_nethttp.Response, error)
CompanyExecutive Company Executive Get a list of company's executives and members of the Board.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
@return CompanyExecutive
func (*DefaultApiService) CompanyNews ¶
func (a *DefaultApiService) CompanyNews(ctx _context.Context, symbol string, from string, to string) ([]News, *_nethttp.Response, error)
CompanyNews Company News List latest company news by symbol. This endpoint is only available for US companies.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Company symbol.
- @param from From date <code>YYYY-MM-DD</code>.
- @param to To date <code>YYYY-MM-DD</code>.
@return []News
func (*DefaultApiService) CompanyPeers ¶
func (a *DefaultApiService) CompanyPeers(ctx _context.Context, symbol string) ([]string, *_nethttp.Response, error)
CompanyPeers Peers Get company peers. Return a list of peers in the same country and GICS sub-industry
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
@return []string
func (*DefaultApiService) CompanyProfile ¶
func (a *DefaultApiService) CompanyProfile(ctx _context.Context, localVarOptionals *CompanyProfileOpts) (CompanyProfile, *_nethttp.Response, error)
CompanyProfile Company Profile Get general information of a company. You can query by symbol, ISIN or CUSIP
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param optional nil or *CompanyProfileOpts - Optional Parameters:
- @param "Symbol" (optional.String) - Symbol of the company: AAPL e.g.
- @param "Isin" (optional.String) - ISIN
- @param "Cusip" (optional.String) - CUSIP
@return CompanyProfile
func (*DefaultApiService) CompanyProfile2 ¶
func (a *DefaultApiService) CompanyProfile2(ctx _context.Context, localVarOptionals *CompanyProfile2Opts) (CompanyProfile2, *_nethttp.Response, error)
CompanyProfile2 Company Profile 2 Get general information of a company. You can query by symbol, ISIN or CUSIP. This is the free version of <a href=\"#company-profile\">Company Profile</a>.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param optional nil or *CompanyProfile2Opts - Optional Parameters:
- @param "Symbol" (optional.String) - Symbol of the company: AAPL e.g.
- @param "Isin" (optional.String) - ISIN
- @param "Cusip" (optional.String) - CUSIP
@return CompanyProfile2
func (*DefaultApiService) CompanyRevenueEstimates ¶
func (a *DefaultApiService) CompanyRevenueEstimates(ctx _context.Context, symbol string, localVarOptionals *CompanyRevenueEstimatesOpts) (RevenueEstimates, *_nethttp.Response, error)
CompanyRevenueEstimates Revenue Estimates Get company's revenue estimates.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
- @param optional nil or *CompanyRevenueEstimatesOpts - Optional Parameters:
- @param "Freq" (optional.String) - Can take 1 of the following values: <code>annual, quarterly</code>. Default to <code>quarterly</code>
@return RevenueEstimates
func (*DefaultApiService) Country ¶ added in v1.1.0
func (a *DefaultApiService) Country(ctx _context.Context) ([]EconomicCode, *_nethttp.Response, error)
Country Country Metadata List all countries and metadata.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []EconomicCode
func (*DefaultApiService) Covid19 ¶
Covid19 COVID-19 Get real-time updates on the number of COVID-19 (Corona virus) cases in the US with a state-by-state breakdown. Data is sourced from CDC and reputable sources. You can also access this API <a href=\"https://rapidapi.com/Finnhub/api/finnhub-real-time-covid-19\" target=\"_blank\" rel=\"nofollow\">here</a>
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return Covid19
func (*DefaultApiService) CryptoCandles ¶
func (a *DefaultApiService) CryptoCandles(ctx _context.Context, symbol string, resolution string, from int64, to int64, localVarOptionals *CryptoCandlesOpts) (CryptoCandles, *_nethttp.Response, error)
CryptoCandles Crypto Candles Get candlestick data for crypto symbols.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Use symbol returned in <code>/crypto/symbol</code> endpoint for this field.
- @param resolution Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
- @param from UNIX timestamp. Interval initial value.
- @param to UNIX timestamp. Interval end value.
- @param optional nil or *CryptoCandlesOpts - Optional Parameters:
- @param "Format" (optional.String) - By default, <code>format=json</code>. Strings <code>json</code> and <code>csv</code> are accepted.
@return CryptoCandles
func (*DefaultApiService) CryptoExchanges ¶
func (a *DefaultApiService) CryptoExchanges(ctx _context.Context) ([]string, *_nethttp.Response, error)
CryptoExchanges Crypto Exchanges List supported crypto exchanges
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []string
func (*DefaultApiService) CryptoSymbols ¶
func (a *DefaultApiService) CryptoSymbols(ctx _context.Context, exchange string) ([]CryptoSymbol, *_nethttp.Response, error)
CryptoSymbols Crypto Symbol List supported crypto symbols by exchange
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param exchange Exchange you want to get the list of symbols from.
@return []CryptoSymbol
func (*DefaultApiService) EarningsCalendar ¶
func (a *DefaultApiService) EarningsCalendar(ctx _context.Context, localVarOptionals *EarningsCalendarOpts) ([]EarningRelease, *_nethttp.Response, error)
EarningsCalendar Earnings Calendar Get historical and coming earnings release dating back to 2003. You can setup <a href=\"#webhook\">webhook</a> to receive real-time earnings update.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param optional nil or *EarningsCalendarOpts - Optional Parameters:
- @param "From" (optional.String) - From date: 2020-03-15.
- @param "To" (optional.String) - To date: 2020-03-16.
- @param "Symbol" (optional.String) - Filter by symbol: AAPL.
- @param "International" (optional.Interface of interface{}) - Set to <code>true</code> to include international markets. Default value is <code>false</code>
@return []EarningRelease
func (*DefaultApiService) EconomicCode ¶ added in v1.1.0
func (a *DefaultApiService) EconomicCode(ctx _context.Context) ([]EconomicCode, *_nethttp.Response, error)
EconomicCode Economic Code List codes of supported economic data.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []EconomicCode
func (*DefaultApiService) EconomicData ¶ added in v1.1.0
func (a *DefaultApiService) EconomicData(ctx _context.Context, code string) (EconomicData, *_nethttp.Response, error)
EconomicData Economic Data Get economic data.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param code Economic code.
@return EconomicData
func (*DefaultApiService) Filings ¶
func (a *DefaultApiService) Filings(ctx _context.Context, localVarOptionals *FilingsOpts) ([]Filing, *_nethttp.Response, error)
Filings Filings List company's filing. Limit to 250 documents at a time. This data is available for bulk download on <a href=\"https://www.kaggle.com/finnhub/sec-filings\" target=\"_blank\">Kaggle SEC Filings database</a>.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param optional nil or *FilingsOpts - Optional Parameters:
- @param "Symbol" (optional.String) - Symbol. Leave <code>symbol</code>,<code>cik</code> and <code>accessNumber</code> empty to list latest filings.
- @param "Cik" (optional.String) - CIK.
- @param "AccessNumber" (optional.String) - Access number of a specific report you want to retrieve data from.
- @param "Form" (optional.String) - Filter by form. You can use this value <code>NT 10-K</code> to find non-timely filings for a company.
- @param "From" (optional.String) - From date: 2020-03-15.
- @param "To" (optional.String) - To date: 2020-03-16.
@return []Filing
func (*DefaultApiService) Financials ¶
func (a *DefaultApiService) Financials(ctx _context.Context, symbol string, statement string, freq string) (FinancialStatements, *_nethttp.Response, error)
Financials Financial Statements Get standardized balance sheet, income statement and cash flow for global companies going back 30+ years.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
- @param statement Statement can take 1 of these values <code>bs, ic, cf</code> for Balance Sheet, Income Statement, Cash Flow respectively.
- @param freq Frequency can take 1 of these values <code>annual, quarterly, ttm, ytd</code>. TTM (Trailing Twelve Months) option is available for Income Statement and Cash Flow. YTD (Year To Date) option is only available for Cash Flow.
@return FinancialStatements
func (*DefaultApiService) FinancialsReported ¶
func (a *DefaultApiService) FinancialsReported(ctx _context.Context, localVarOptionals *FinancialsReportedOpts) (FinancialsAsReported, *_nethttp.Response, error)
FinancialsReported Financials As Reported Get financials as reported. This data is available for bulk download on <a href=\"https://www.kaggle.com/finnhub/reported-financials\" target=\"_blank\">Kaggle SEC Financials database</a>.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param optional nil or *FinancialsReportedOpts - Optional Parameters:
- @param "Symbol" (optional.String) - Symbol.
- @param "Cik" (optional.String) - CIK.
- @param "AccessNumber" (optional.String) - Access number of a specific report you want to retrieve financials from.
- @param "Freq" (optional.String) - Frequency. Can be either <code>annual</code> or <code>quarterly</code>. Default to <code>annual</code>.
@return FinancialsAsReported
func (*DefaultApiService) ForexCandles ¶
func (a *DefaultApiService) ForexCandles(ctx _context.Context, symbol string, resolution string, from int64, to int64, localVarOptionals *ForexCandlesOpts) (ForexCandles, *_nethttp.Response, error)
ForexCandles Forex Candles Get candlestick data for forex symbols.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Use symbol returned in <code>/forex/symbol</code> endpoint for this field.
- @param resolution Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
- @param from UNIX timestamp. Interval initial value.
- @param to UNIX timestamp. Interval end value.
- @param optional nil or *ForexCandlesOpts - Optional Parameters:
- @param "Format" (optional.String) - By default, <code>format=json</code>. Strings <code>json</code> and <code>csv</code> are accepted.
@return ForexCandles
func (*DefaultApiService) ForexExchanges ¶
func (a *DefaultApiService) ForexExchanges(ctx _context.Context) ([]string, *_nethttp.Response, error)
ForexExchanges Forex Exchanges List supported forex exchanges
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []string
func (*DefaultApiService) ForexRates ¶
func (a *DefaultApiService) ForexRates(ctx _context.Context, localVarOptionals *ForexRatesOpts) (Forexrates, *_nethttp.Response, error)
ForexRates Forex rates Get rates for all forex pairs. Ideal for currency conversion
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param optional nil or *ForexRatesOpts - Optional Parameters:
- @param "Base" (optional.String) - Base currency. Default to EUR.
@return Forexrates
func (*DefaultApiService) ForexSymbols ¶
func (a *DefaultApiService) ForexSymbols(ctx _context.Context, exchange string) ([]ForexSymbol, *_nethttp.Response, error)
ForexSymbols Forex Symbol List supported forex symbols.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param exchange Exchange you want to get the list of symbols from.
@return []ForexSymbol
func (*DefaultApiService) FundOwnership ¶
func (a *DefaultApiService) FundOwnership(ctx _context.Context, symbol string, localVarOptionals *FundOwnershipOpts) (FundOwnership, *_nethttp.Response, error)
FundOwnership Fund Ownership Get a full list fund and institutional investors of a company in descending order of the number of shares held.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
- @param optional nil or *FundOwnershipOpts - Optional Parameters:
- @param "Limit" (optional.Int64) - Limit number of results. Leave empty to get the full list.
@return FundOwnership
func (*DefaultApiService) GeneralNews ¶
func (a *DefaultApiService) GeneralNews(ctx _context.Context, category string, localVarOptionals *GeneralNewsOpts) ([]News, *_nethttp.Response, error)
GeneralNews General News Get latest market news.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param category This parameter can be 1 of the following values <code>general, forex, crypto, merger</code>.
- @param optional nil or *GeneralNewsOpts - Optional Parameters:
- @param "MinId" (optional.String) - Use this field to get only news after this ID. Default to 0
@return []News
func (*DefaultApiService) InvestorsOwnership ¶
func (a *DefaultApiService) InvestorsOwnership(ctx _context.Context, symbol string, localVarOptionals *InvestorsOwnershipOpts) (InvestorsOwnership, *_nethttp.Response, error)
InvestorsOwnership Investors Ownership Get a full list of shareholders/investors of a company in descending order of the number of shares held.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
- @param optional nil or *InvestorsOwnershipOpts - Optional Parameters:
- @param "Limit" (optional.Int64) - Limit number of results. Leave empty to get the full list.
@return InvestorsOwnership
func (*DefaultApiService) IpoCalendar ¶
func (a *DefaultApiService) IpoCalendar(ctx _context.Context, from string, to string) ([]IpoEvent, *_nethttp.Response, error)
IpoCalendar IPO Calendar Get recent and coming IPO.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param from From date: 2020-03-15.
- @param to To date: 2020-03-16.
@return []IpoEvent
func (*DefaultApiService) MajorDevelopments ¶
func (a *DefaultApiService) MajorDevelopments(ctx _context.Context, symbol string, localVarOptionals *MajorDevelopmentsOpts) (MajorDevelopments, *_nethttp.Response, error)
MajorDevelopments Major Developments List latest major developments of a company going back 20 years with 12M+ data points. This data can be used to highlight the most significant events.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Company symbol.
- @param optional nil or *MajorDevelopmentsOpts - Optional Parameters:
- @param "From" (optional.String) - From time: 2020-01-01.
- @param "To" (optional.String) - To time: 2020-01-05.
@return MajorDevelopments
func (*DefaultApiService) NewsSentiment ¶
func (a *DefaultApiService) NewsSentiment(ctx _context.Context, symbol string) (NewsSentiment, *_nethttp.Response, error)
NewsSentiment News Sentiment Get company's news sentiment and statistics. This endpoint is only available for US companies.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Company symbol.
@return NewsSentiment
func (*DefaultApiService) PatternRecognition ¶
func (a *DefaultApiService) PatternRecognition(ctx _context.Context, symbol string, resolution string) ([]map[string]interface{}, *_nethttp.Response, error)
PatternRecognition Pattern Recognition Run pattern recognition algorithm on a symbol. Support double top/bottom, triple top/bottom, head and shoulders, triangle, wedge, channel, flag, and candlestick patterns.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol
- @param resolution Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
@return []map[string]interface{}
func (*DefaultApiService) PriceTarget ¶
func (a *DefaultApiService) PriceTarget(ctx _context.Context, symbol string) (PriceTarget, *_nethttp.Response, error)
PriceTarget Price Target Get latest price target consensus.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
@return PriceTarget
func (*DefaultApiService) Quote ¶
func (a *DefaultApiService) Quote(ctx _context.Context, symbol string) (Quote, *_nethttp.Response, error)
Quote Quote <p>Get quote data for stocks. Constant polling is not recommended. Use websocket if you need real-time update.</p><p> This endpoint only provide real-time data for US stocks. Real-time stock prices for international markets are supported for Enterprise clients via our partner's feed. <a href=\"mailto:support@finnhub.io\">Contact Us</a> to learn more.</p>
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol
@return Quote
func (*DefaultApiService) RecommendationTrends ¶
func (a *DefaultApiService) RecommendationTrends(ctx _context.Context, symbol string) (RecommendationTrends, *_nethttp.Response, error)
RecommendationTrends Recommendation Trends Get latest analyst recommendation trends for a company.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol of the company: AAPL.
@return RecommendationTrends
func (*DefaultApiService) StockCandles ¶
func (a *DefaultApiService) StockCandles(ctx _context.Context, symbol string, resolution string, from int64, to int64, localVarOptionals *StockCandlesOpts) (StockCandles, *_nethttp.Response, error)
StockCandles Stock Candles <p>Get candlestick data for stocks going back 25 years.</p><p> This endpoint only provides real-time data for US stocks. Real-time stock prices for international markets are supported for Enterprise clients via our partner's feed. <a href=\"mailto:support@finnhub.io\">Contact Us</a> to learn more.</p>
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol.
- @param resolution Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
- @param from UNIX timestamp. Interval initial value.
- @param to UNIX timestamp. Interval end value.
- @param optional nil or *StockCandlesOpts - Optional Parameters:
- @param "Format" (optional.String) - By default, <code>format=json</code>. Strings <code>json</code> and <code>csv</code> are accepted.
- @param "Adjusted" (optional.String) - By default, <code>adjusted=false</code>. Use <code>true</code> to get adjusted data.
@return StockCandles
func (*DefaultApiService) StockDividends ¶
func (a *DefaultApiService) StockDividends(ctx _context.Context, symbol string, from string, to string) (Dividends, *_nethttp.Response, error)
StockDividends Dividends Get dividends data for common stocks going back 30 years.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol.
- @param from YYYY-MM-DD.
- @param to YYYY-MM-DD.
@return Dividends
func (*DefaultApiService) StockSplits ¶
func (a *DefaultApiService) StockSplits(ctx _context.Context, symbol string, from string, to string) (Splits, *_nethttp.Response, error)
StockSplits Splits Get splits data for stocks.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol.
- @param from YYYY-MM-DD.
- @param to YYYY-MM-DD.
@return Splits
func (*DefaultApiService) StockSymbols ¶
func (a *DefaultApiService) StockSymbols(ctx _context.Context, exchange string) ([]Stock, *_nethttp.Response, error)
StockSymbols Stock Symbol List supported stocks.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param exchange Exchange you want to get the list of symbols from. List of exchanges with fundamental data can be found <a href=\"https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp=sharing\" target=\"_blank\">here</a>.
@return []Stock
func (*DefaultApiService) StockTick ¶
func (a *DefaultApiService) StockTick(ctx _context.Context, symbol string, date string) (TickData, *_nethttp.Response, error)
StockTick Tick Data <p>Get historical tick data for US stocks from all 13 exchanges. Return csv format. You can send the request directly to our tick server at <a href=\"https://tick.finnhub.io/\">https://tick.finnhub.io/</a> with the same path and parameters or get redirected there if you call our main server. Data is updated at the end of each trading day.</p><p>Tick data from 1985 is available for Enterprise clients via our partner's feed. <a href=\"mailto:support@finnhub.io\">Contact us</a> to learn more.</p>
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol.
- @param date Date: 2020-04-02.
@return TickData
func (*DefaultApiService) SupportResistance ¶
func (a *DefaultApiService) SupportResistance(ctx _context.Context, symbol string, resolution string) ([]float32, *_nethttp.Response, error)
SupportResistance Support/Resistance Get support and resistance levels for a symbol.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Symbol
- @param resolution Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
@return []float32
func (*DefaultApiService) TechnicalIndicator ¶
func (a *DefaultApiService) TechnicalIndicator(ctx _context.Context, symbol string, resolution string, from int64, to int64, indicator string, localVarOptionals *TechnicalIndicatorOpts) (TechnicalIndicators, *_nethttp.Response, error)
TechnicalIndicator Technical Indicators Return technical indicator with price data. List of supported indicators can be found <a href=\"https://docs.google.com/spreadsheets/d/1ylUvKHVYN2E87WdwIza8ROaCpd48ggEl1k5i5SgA29k/edit?usp=sharing\" target=\"_blank\">here</a>.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol symbol
- @param resolution Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
- @param from UNIX timestamp. Interval initial value.
- @param to UNIX timestamp. Interval end value.
- @param indicator Indicator name. Full list can be found <a href=\"https://docs.google.com/spreadsheets/d/1ylUvKHVYN2E87WdwIza8ROaCpd48ggEl1k5i5SgA29k/edit?usp=sharing\" target=\"_blank\">here</a>.
- @param optional nil or *TechnicalIndicatorOpts - Optional Parameters:
- @param "IndicatorSpecificFields" (optional.Interface of map[string]interface{}) - Check out <a href=\"https://docs.google.com/spreadsheets/d/1ylUvKHVYN2E87WdwIza8ROaCpd48ggEl1k5i5SgA29k/edit?usp=sharing\" target=\"_blank\">this page</a> to see which indicators and params are supported.
@return TechnicalIndicators
func (*DefaultApiService) Transcripts ¶
func (a *DefaultApiService) Transcripts(ctx _context.Context, id string) (EarningsCallTranscripts, *_nethttp.Response, error)
Transcripts Earnings Call Transcripts <p>Get earnings call transcripts, audio and participants' list. This endpoint is only available for US companies. Earnings call transcripts for international markets are available for Enterprise clients via our partner's feed. <a href=\"mailto:support@finnhub.io\">Contact us</a> to learn more.</p><p>17+ years of data is available with 170,000+ audio which add up to 6TB in size.</p>
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id Transcript's id obtained with <a href=\"#transcripts-list\">Transcripts List endpoint</a>.
@return EarningsCallTranscripts
func (*DefaultApiService) TranscriptsList ¶
func (a *DefaultApiService) TranscriptsList(ctx _context.Context, symbol string) (EarningsCallTranscriptsList, *_nethttp.Response, error)
TranscriptsList Earnings Call Transcripts List List earnings call transcripts' metadata. This endpoint is only available for US companies. Earnings call transcripts for international markets are available for Enterprise clients via our partner's feed. <a href=\"mailto:support@finnhub.io\">Contact us</a> to learn more.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param symbol Company symbol: AAPL. Leave empty to list the latest transcripts
@return EarningsCallTranscriptsList
func (*DefaultApiService) UpgradeDowngrade ¶
func (a *DefaultApiService) UpgradeDowngrade(ctx _context.Context, localVarOptionals *UpgradeDowngradeOpts) ([]UpgradeDowngrade, *_nethttp.Response, error)
UpgradeDowngrade Stock Upgrade/Downgrade Get latest stock upgrade and downgrade.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param optional nil or *UpgradeDowngradeOpts - Optional Parameters:
- @param "Symbol" (optional.String) - Symbol of the company: AAPL. If left blank, the API will return latest stock upgrades/downgrades.
- @param "From" (optional.String) - From date: 2000-03-15.
- @param "To" (optional.String) - To date: 2020-03-16.
@return []UpgradeDowngrade
type Development ¶
type Development struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Published time in <code>YYYY-MM-DD HH:MM:SS</code> format. Datetime time.Time `json:"datetime,omitempty"` // Development headline. Headline string `json:"headline,omitempty"` // Development description. Description string `json:"description,omitempty"` }
Development struct for Development
type Dividends ¶
type Dividends struct { // Symbol. Symbol string `json:"symbol,omitempty"` // Ex-Dividend date. Date string `json:"date,omitempty"` // Amount in local currency. Amount float32 `json:"amount,omitempty"` // Adjusted dividend. AdjustedAmount float32 `json:"adjustedAmount,omitempty"` // Pay date. PayDate string `json:"payDate,omitempty"` // Record date. RecordDate string `json:"recordDate,omitempty"` // Declaration date. DeclarationDate string `json:"declarationDate,omitempty"` // Currency. Currency string `json:"currency,omitempty"` }
Dividends struct for Dividends
type EarningEstimate ¶
type EarningEstimate struct { // Average EPS estimates. EpsAvg float32 `json:"epsAvg,omitempty"` // Highest estimate. EpsHigh float32 `json:"epsHigh,omitempty"` // Lowest estimate. EpsLow float32 `json:"epsLow,omitempty"` // Number of Analysts. NumberAnalysts int64 `json:"numberAnalysts,omitempty"` // Period. Period string `json:"period,omitempty"` }
EarningEstimate struct for EarningEstimate
type EarningRelease ¶
type EarningRelease struct { // Symbol. Symbol string `json:"symbol,omitempty"` // Date. Date string `json:"date,omitempty"` // Indicates whether the earnings is announced before market open(<code>bmo</code>), after market close(<code>amc</code>), or during market hour(<code>dmh</code>). Hour string `json:"hour,omitempty"` // Earnings year. Year int64 `json:"year,omitempty"` // Earnings quarter. Quarter int64 `json:"quarter,omitempty"` // EPS estimate. EpsEstimate float32 `json:"epsEstimate,omitempty"` // EPS actual. EpsActual float32 `json:"epsActual,omitempty"` // Revenue estimate. RevenueEstimate int64 `json:"revenueEstimate,omitempty"` // Revenue actual. RevenueActual int64 `json:"revenueActual,omitempty"` }
EarningRelease struct for EarningRelease
type EarningResult ¶
type EarningResult struct { // Actual earning result. Actual float32 `json:"actual,omitempty"` // Estimated earning. Estimate float32 `json:"estimate,omitempty"` // Reported period. Period string `json:"period,omitempty"` // Company symbol. Symbol string `json:"symbol,omitempty"` }
EarningResult struct for EarningResult
type EarningsCalendarOpts ¶
type EarningsCalendarOpts struct { From optional.String To optional.String Symbol optional.String International optional.Interface }
EarningsCalendarOpts Optional parameters for the method 'EarningsCalendar'
type EarningsCallTranscripts ¶
type EarningsCallTranscripts struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Transcript content. Transcript []map[string]interface{} `json:"transcript,omitempty"` // Participant list Participant []map[string]interface{} `json:"participant,omitempty"` // Audio link. Audio string `json:"audio,omitempty"` // Transcript's ID. Id string `json:"id,omitempty"` // Title. Title string `json:"title,omitempty"` // Time of the event. Time time.Time `json:"time,omitempty"` // Year of earnings result in the case of earnings call transcript. Year int64 `json:"year,omitempty"` // Quarter of earnings result in the case of earnings call transcript. Quarter int64 `json:"quarter,omitempty"` }
EarningsCallTranscripts struct for EarningsCallTranscripts
type EarningsCallTranscriptsList ¶
type EarningsCallTranscriptsList struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Array of transcripts' metadata Transcripts []map[string]interface{} `json:"transcripts,omitempty"` }
EarningsCallTranscriptsList struct for EarningsCallTranscriptsList
type EarningsEstimates ¶
type EarningsEstimates struct { // List of estimates Data []map[string]interface{} `json:"data,omitempty"` // Frequency: annual or quarterly. Freq string `json:"freq,omitempty"` // Company symbol. Symbol string `json:"symbol,omitempty"` }
EarningsEstimates struct for EarningsEstimates
type Economic ¶
type Economic struct { // Date of the reading Date string `json:"date,omitempty"` // Value Value float32 `json:"value,omitempty"` }
Economic struct for Economic
type EconomicCalendar ¶
type EconomicCalendar struct {
Array map[string]interface{} `json:"Array,omitempty"`
}
EconomicCalendar struct for EconomicCalendar
type EconomicCode ¶
type EconomicCode struct { // Country name Country string `json:"country,omitempty"` // Alpha 2 code Code2 string `json:"code2,omitempty"` // Alpha 3 code Code3 string `json:"code3,omitempty"` // UN code CodeNo string `json:"codeNo,omitempty"` // Currency name Currency string `json:"currency,omitempty"` // Currency code CurrencyCode string `json:"currencyCode,omitempty"` }
EconomicCode struct for EconomicCode
type EconomicData ¶ added in v1.1.0
type EconomicData struct { // Array of economic data for requested code. Data []map[string]interface{} `json:"data,omitempty"` // Finnhub economic code Code string `json:"code,omitempty"` }
EconomicData struct for EconomicData
type EconomicEvent ¶ added in v1.1.0
type EconomicEvent struct { // Actual release Actual float32 `json:"actual,omitempty"` // Previous release Prev float32 `json:"prev,omitempty"` // Country Country string `json:"country,omitempty"` // Unit Unit string `json:"unit,omitempty"` // Estimate Estimate float32 `json:"estimate,omitempty"` // Event Event string `json:"event,omitempty"` // Impact level Impact string `json:"impact,omitempty"` // Release time Time string `json:"time,omitempty"` }
EconomicEvent struct for EconomicEvent
type Estimate ¶
type Estimate struct { // Average revenue estimates. RevenueAvg int64 `json:"revenueAvg,omitempty"` // Highest estimate. RevenueHigh int64 `json:"revenueHigh,omitempty"` // Lowest estimate. RevenueLow int64 `json:"revenueLow,omitempty"` // Number of Analysts. NumberAnalysts int64 `json:"numberAnalysts,omitempty"` // Period. Period string `json:"period,omitempty"` }
Estimate struct for Estimate
type Filing ¶
type Filing struct { // Access number. AccessNumber string `json:"accessNumber,omitempty"` // Symbol. Symbol string `json:"symbol,omitempty"` // CIK. Cik string `json:"cik,omitempty"` // Form type. Form string `json:"form,omitempty"` // Filed date <code>%Y-%m-%d %H:%M:%S</code>. FiledDate time.Time `json:"filedDate,omitempty"` // Accepted date <code>%Y-%m-%d %H:%M:%S</code>. AcceptedDate time.Time `json:"acceptedDate,omitempty"` // Report's URL. ReportUrl string `json:"reportUrl,omitempty"` // Filing's URL. FilingUrl string `json:"filingUrl,omitempty"` }
Filing struct for Filing
type FilingsOpts ¶
type FilingsOpts struct { Symbol optional.String Cik optional.String AccessNumber optional.String Form optional.String From optional.String To optional.String }
FilingsOpts Optional parameters for the method 'Filings'
type FinancialStatements ¶
type FinancialStatements struct { // Symbol of the company. Symbol string `json:"symbol,omitempty"` // An array of map of key, value pairs containing the data for each period. Financials []map[string]interface{} `json:"financials,omitempty"` }
FinancialStatements struct for FinancialStatements
type FinancialsAsReported ¶
type FinancialsAsReported struct { // Symbol Symbol string `json:"symbol,omitempty"` // CIK Cik string `json:"cik,omitempty"` // Array of filings. Data []map[string]interface{} `json:"data,omitempty"` }
FinancialsAsReported struct for FinancialsAsReported
type FinancialsReportedOpts ¶
type FinancialsReportedOpts struct { Symbol optional.String Cik optional.String AccessNumber optional.String Freq optional.String }
FinancialsReportedOpts Optional parameters for the method 'FinancialsReported'
type ForexCandles ¶
type ForexCandles struct { // List of open prices for returned candles. O []float32 `json:"o,omitempty"` // List of high prices for returned candles. H []float32 `json:"h,omitempty"` // List of low prices for returned candles. L []float32 `json:"l,omitempty"` // List of close prices for returned candles. C []float32 `json:"c,omitempty"` // List of volume data for returned candles. V []float32 `json:"v,omitempty"` // List of timestamp for returned candles. T []float32 `json:"t,omitempty"` // Status of the response. This field can either be ok or no_data. S string `json:"s,omitempty"` }
ForexCandles struct for ForexCandles
type ForexCandlesOpts ¶
ForexCandlesOpts Optional parameters for the method 'ForexCandles'
type ForexRatesOpts ¶
ForexRatesOpts Optional parameters for the method 'ForexRates'
type ForexSymbol ¶
type ForexSymbol struct { // Symbol description Description string `json:"description,omitempty"` // Display symbol name. DisplaySymbol string `json:"displaySymbol,omitempty"` // Unique symbol used to identify this symbol used in <code>/forex/candle</code> endpoint. Symbol string `json:"symbol,omitempty"` }
ForexSymbol struct for ForexSymbol
type Forexrates ¶
type Forexrates struct { // Base currency. Base string `json:"base,omitempty"` Quote map[string]interface{} `json:"quote,omitempty"` }
Forexrates struct for Forexrates
type FundOwnership ¶
type FundOwnership struct { // Symbol of the company. Symbol string `json:"symbol,omitempty"` // Array of investors with detailed information about their holdings. Ownership []map[string]interface{} `json:"ownership,omitempty"` }
FundOwnership struct for FundOwnership
type FundOwnershipOpts ¶
FundOwnershipOpts Optional parameters for the method 'FundOwnership'
type GeneralNewsOpts ¶
GeneralNewsOpts Optional parameters for the method 'GeneralNews'
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Indicator ¶
type Indicator struct { // Number of buy signals Buy int64 `json:"buy,omitempty"` // Number of neutral signals Neutral int64 `json:"neutral,omitempty"` // Number of sell signals Sell int64 `json:"sell,omitempty"` }
Indicator struct for Indicator
type Investor ¶
type Investor struct { // Investor's name. Name string `json:"name,omitempty"` Share int64 `json:"share,omitempty"` // Number of share changed (net buy or sell) from the last period. Change int64 `json:"change,omitempty"` // Filing date. FilingDate string `json:"filingDate,omitempty"` }
Investor struct for Investor
type InvestorsOwnership ¶
type InvestorsOwnership struct { // Symbol of the company. Symbol string `json:"symbol,omitempty"` // Array of investors with detailed information about their holdings. Ownership []map[string]interface{} `json:"ownership,omitempty"` }
InvestorsOwnership struct for InvestorsOwnership
type InvestorsOwnershipOpts ¶
InvestorsOwnershipOpts Optional parameters for the method 'InvestorsOwnership'
type IpoEvent ¶
type IpoEvent struct { // Symbol. Symbol string `json:"symbol,omitempty"` // IPO date. Date string `json:"date,omitempty"` // Exchange. Exchange string `json:"exchange,omitempty"` // Company's name. Name string `json:"name,omitempty"` // IPO status. Can take 1 of the following values: <code>expected</code>,<code>priced</code>,<code>withdrawn</code>,<code>filed</code> Status string `json:"status,omitempty"` // Projected price or price range. Price string `json:"price,omitempty"` NumberOfShares int64 `json:"numberOfShares,omitempty"` TotalSharesValue int64 `json:"totalSharesValue,omitempty"` }
IpoEvent struct for IpoEvent
type MajorDevelopments ¶
type MajorDevelopments struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Array of major developments. MajorDevelopment []map[string]interface{} `json:"majorDevelopment,omitempty"` }
MajorDevelopments struct for MajorDevelopments
type MajorDevelopmentsOpts ¶
MajorDevelopmentsOpts Optional parameters for the method 'MajorDevelopments'
type MergerCountry ¶
type MergerCountry struct { // Announcement date of the deal. AnnouncementDate time.Time `json:"announcementDate,omitempty"` // Deal size in millions of USD. DealSize float32 `json:"dealSize,omitempty"` // Deal status. Status string `json:"status,omitempty"` // Target company name. TargetName string `json:"targetName,omitempty"` // Target company country. TargetNation string `json:"targetNation,omitempty"` // Acquirer name. AcquirerName string `json:"acquirerName,omitempty"` // Acquirer nation. AcquirerNation string `json:"acquirerNation,omitempty"` // Deal form. Form string `json:"form,omitempty"` // Target company industry. TargetIndustry string `json:"targetIndustry,omitempty"` // Deal form. AcquirerIndustry string `json:"acquirerIndustry,omitempty"` // Target company business summary. TargetDescription string `json:"targetDescription,omitempty"` // Acquirer business summary. AcquirerDescription string `json:"acquirerDescription,omitempty"` // Target company region. TargetRegion string `json:"targetRegion,omitempty"` // Acquirer company region. AcquirerRegion string `json:"acquirerRegion,omitempty"` // Target company public status. TargetPublicStatus string `json:"targetPublicStatus,omitempty"` // Acquirer company public status. AcquirerPublicStatus string `json:"acquirerPublicStatus,omitempty"` // Deal attitude. DealAttitude string `json:"dealAttitude,omitempty"` // Net Income Multiple. NetincomeMultiple float32 `json:"netincomeMultiple,omitempty"` // Percent acquired. PercentAcquired float32 `json:"percentAcquired,omitempty"` }
MergerCountry struct for MergerCountry
type Metrics ¶
type Metrics struct { // Symbol of the company. Symbol string `json:"symbol,omitempty"` // Metric type. MetricType string `json:"metricType,omitempty"` Metric map[string]interface{} `json:"metric,omitempty"` }
Metrics struct for Metrics
type News ¶
type News struct { // News category. Category string `json:"category,omitempty"` // Published time in UNIX timestamp. Datetime int64 `json:"datetime,omitempty"` // News headline. Headline string `json:"headline,omitempty"` // News ID. This value can be used for <code>minId</code> params to get the latest news only. Id int64 `json:"id,omitempty"` // Thumbnail image URL. Image string `json:"image,omitempty"` // Related stocks and companies mentioned in the article. Related string `json:"related,omitempty"` // News source. Source string `json:"source,omitempty"` // News summary. Summary string `json:"summary,omitempty"` // URL of the original article. Url string `json:"url,omitempty"` }
News struct for News
type NewsSentiment ¶
type NewsSentiment struct { Buzz CompanyNewsStatistics `json:"buzz,omitempty"` // News score. CompanyNewsScore float32 `json:"companyNewsScore,omitempty"` // Sector average bullish percent. SectorAverageBullishPercent float32 `json:"sectorAverageBullishPercent,omitempty"` // Sectore average score. SectorAverageNewsScore float32 `json:"sectorAverageNewsScore,omitempty"` Sentiment Sentiment `json:"sentiment,omitempty"` // Requested symbol. Symbol string `json:"symbol,omitempty"` }
NewsSentiment struct for NewsSentiment
type PriceTarget ¶
type PriceTarget struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Highes analysts' target. TargetHigh float32 `json:"targetHigh,omitempty"` // Lowest analysts' target. TargetLow float32 `json:"targetLow,omitempty"` // Mean of all analysts' targets. TargetMean float32 `json:"targetMean,omitempty"` // Median of all analysts' targets. TargetMedian float32 `json:"targetMedian,omitempty"` // Updated time of the data LastUpdated time.Time `json:"lastUpdated,omitempty"` }
PriceTarget struct for PriceTarget
type Quote ¶
type Quote struct { // Open price of the day O float32 `json:"o,omitempty"` // High price of the day H float32 `json:"h,omitempty"` // Low price of the day L float32 `json:"l,omitempty"` // Current price C float32 `json:"c,omitempty"` // Previous close price Pc float32 `json:"pc,omitempty"` }
Quote struct for Quote
type RecommendationTrends ¶
type RecommendationTrends struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Number of recommendations that fall into the Buy category Buy int64 `json:"buy,omitempty"` // Number of recommendations that fall into the Hold category Hold int64 `json:"hold,omitempty"` // Updated period Period string `json:"period,omitempty"` // Number of recommendations that fall into the Sell category Sell int64 `json:"sell,omitempty"` // Number of recommendations that fall into the Strong Buy category StrongBuy int64 `json:"strongBuy,omitempty"` // Number of recommendations that fall into the Strong Sell category StrongSell int64 `json:"strongSell,omitempty"` }
RecommendationTrends struct for RecommendationTrends
type Report ¶
type Report struct { // Access number. AccessNumber string `json:"accessNumber,omitempty"` // Symbol. Symbol string `json:"symbol,omitempty"` // CIK. Cik string `json:"cik,omitempty"` // Year. Year int64 `json:"year,omitempty"` // Quarter. Quarter int64 `json:"quarter,omitempty"` // Form type. Form string `json:"form,omitempty"` // Period start date <code>%Y-%m-%d %H:%M:%S</code>. StartDate time.Time `json:"startDate,omitempty"` // Period end date <code>%Y-%m-%d %H:%M:%S</code>. EndDate time.Time `json:"endDate,omitempty"` // Filed date <code>%Y-%m-%d %H:%M:%S</code>. FiledDate time.Time `json:"filedDate,omitempty"` // Accepted date <code>%Y-%m-%d %H:%M:%S</code>. AcceptedDate time.Time `json:"acceptedDate,omitempty"` Report map[string]interface{} `json:"report,omitempty"` }
Report struct for Report
type RevenueEstimates ¶
type RevenueEstimates struct { // List of estimates Data []map[string]interface{} `json:"data,omitempty"` // Frequency: annual or quarterly. Freq string `json:"freq,omitempty"` // Company symbol. Symbol string `json:"symbol,omitempty"` }
RevenueEstimates struct for RevenueEstimates
type Sentiment ¶
type Sentiment struct { // BearishPercent int64 `json:"bearishPercent,omitempty"` // BullishPercent int64 `json:"bullishPercent,omitempty"` }
Sentiment struct for Sentiment
type ServerConfiguration ¶
type ServerConfiguration struct { Url string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Splits ¶
type Splits struct { // Symbol. Symbol string `json:"symbol,omitempty"` // Split date. Date string `json:"Date,omitempty"` // From factor. FromFactor float32 `json:"fromFactor,omitempty"` // To factor. ToFactor float32 `json:"toFactor,omitempty"` }
Splits struct for Splits
type Stock ¶
type Stock struct { // Symbol description Description string `json:"description,omitempty"` // Display symbol name. DisplaySymbol string `json:"displaySymbol,omitempty"` // Unique symbol used to identify this symbol used in <code>/stock/candle</code> endpoint. Symbol string `json:"symbol,omitempty"` }
Stock struct for Stock
type StockCandles ¶
type StockCandles struct { // List of open prices for returned candles. O []float32 `json:"o,omitempty"` // List of high prices for returned candles. H []float32 `json:"h,omitempty"` // List of low prices for returned candles. L []float32 `json:"l,omitempty"` // List of close prices for returned candles. C []float32 `json:"c,omitempty"` // List of volume data for returned candles. V []float32 `json:"v,omitempty"` // List of timestamp for returned candles. T []int64 `json:"t,omitempty"` // Status of the response. This field can either be ok or no_data. S string `json:"s,omitempty"` }
StockCandles struct for StockCandles
type StockCandlesOpts ¶
StockCandlesOpts Optional parameters for the method 'StockCandles'
type StockExchange ¶
type StockExchange struct { // Exchange name. Name string `json:"name,omitempty"` // Exchange code. Code string `json:"code,omitempty"` // Currency. Currency string `json:"currency,omitempty"` }
StockExchange struct for StockExchange
type StockTranscripts ¶
type StockTranscripts struct { // Transcript's ID used to get the <a href=\"#transcripts\">full transcript</a>. Id string `json:"id,omitempty"` // Title. Title string `json:"title,omitempty"` // Time of the event. Time time.Time `json:"time,omitempty"` // Year of earnings result in the case of earnings call transcript. Year int64 `json:"year,omitempty"` // Quarter of earnings result in the case of earnings call transcript. Quarter int64 `json:"quarter,omitempty"` }
StockTranscripts struct for StockTranscripts
type TechnicalAnalysis ¶
type TechnicalAnalysis struct { Count Indicator `json:"count,omitempty"` // Aggregate Signal Signal string `json:"signal,omitempty"` }
TechnicalAnalysis struct for TechnicalAnalysis
type TechnicalIndicatorOpts ¶
TechnicalIndicatorOpts Optional parameters for the method 'TechnicalIndicator'
type TechnicalIndicators ¶
type TechnicalIndicators struct { // List of open prices for returned candles. O []float32 `json:"o,omitempty"` // List of high prices for returned candles. H []float32 `json:"h,omitempty"` // List of low prices for returned candles. L []float32 `json:"l,omitempty"` // List of close prices for returned candles. C []float32 `json:"c,omitempty"` // List of volume data for returned candles. V []float32 `json:"v,omitempty"` // List of timestamp for returned candles. T []int64 `json:"t,omitempty"` // Status of the response. This field can either be ok or no_data. S string `json:"s,omitempty"` }
TechnicalIndicators struct for TechnicalIndicators
type TickData ¶
type TickData struct { // UNIX milliseconds timestamp. Timestamp int64 `json:"timestamp,omitempty"` // Price. Price float32 `json:"price,omitempty"` // Volume of the trade. Volume float32 `json:"volume,omitempty"` }
TickData struct for TickData
type TranscriptContent ¶
type TranscriptContent struct { // Speaker's name Name string `json:"name,omitempty"` // Speaker's speech Speech []string `json:"speech,omitempty"` }
TranscriptContent struct for TranscriptContent
type TranscriptParticipant ¶
type TranscriptParticipant struct { // Participant's name Name string `json:"name,omitempty"` // Participant's description Description string `json:"description,omitempty"` }
TranscriptParticipant struct for TranscriptParticipant
type Trend ¶
type Trend struct { // ADX reading Adx float32 `json:"adx,omitempty"` }
Trend struct for Trend
type UpgradeDowngrade ¶
type UpgradeDowngrade struct { // Company symbol. Symbol string `json:"symbol,omitempty"` // Upgrade/downgrade time in UNIX timestamp. GradeTime int64 `json:"gradeTime,omitempty"` // From grade. FromGrade string `json:"fromGrade,omitempty"` // To grade. ToGrade string `json:"toGrade,omitempty"` // Company/analyst who did the upgrade/downgrade. Company string `json:"Company,omitempty"` // Action can take any of the following values: <code>up(upgrade), down(downgrade), main(maintains), init(initiate), reit(reiterate)</code>. Action string `json:"action,omitempty"` }
UpgradeDowngrade struct for UpgradeDowngrade
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_aggregate_indicators.go
- model_basic_financials.go
- model_company.go
- model_company_executive.go
- model_company_news_statistics.go
- model_company_profile.go
- model_company_profile2.go
- model_covid_19.go
- model_crypto_candles.go
- model_crypto_symbol.go
- model_development.go
- model_dividends.go
- model_earning_estimate.go
- model_earning_release.go
- model_earning_result.go
- model_earnings_call_transcripts.go
- model_earnings_call_transcripts_list.go
- model_earnings_estimates.go
- model_economic.go
- model_economic_calendar.go
- model_economic_code.go
- model_economic_data.go
- model_economic_event.go
- model_estimate.go
- model_filing.go
- model_financial_statements.go
- model_financials_as_reported.go
- model_forex_candles.go
- model_forex_symbol.go
- model_forexrates.go
- model_fund_ownership.go
- model_indicator.go
- model_investor.go
- model_investors_ownership.go
- model_ipo_event.go
- model_major_developments.go
- model_merger_country.go
- model_metrics.go
- model_news.go
- model_news_sentiment.go
- model_price_target.go
- model_quote.go
- model_recommendation_trends.go
- model_report.go
- model_revenue_estimates.go
- model_sentiment.go
- model_splits.go
- model_stock.go
- model_stock_candles.go
- model_stock_exchange.go
- model_stock_transcripts.go
- model_technical_analysis.go
- model_technical_indicators.go
- model_tick_data.go
- model_transcript_content.go
- model_transcript_participant.go
- model_trend.go
- model_upgrade_downgrade.go
- response.go