intrinio-sdk 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +116 -2
- data/docs/ApiResponseCryptoAccumulationDistributionIndex.md +13 -0
- data/docs/ApiResponseCryptoAverageDailyTradingVolume.md +13 -0
- data/docs/ApiResponseCryptoAverageDirectionalIndex.md +13 -0
- data/docs/ApiResponseCryptoAverageTrueRange.md +13 -0
- data/docs/ApiResponseCryptoAwesomeOscillator.md +13 -0
- data/docs/ApiResponseCryptoBollingerBands.md +13 -0
- data/docs/ApiResponseCryptoChaikinMoneyFlow.md +13 -0
- data/docs/ApiResponseCryptoCommodityChannelIndex.md +13 -0
- data/docs/ApiResponseCryptoDetrendedPriceOscillator.md +13 -0
- data/docs/ApiResponseCryptoDonchianChannel.md +13 -0
- data/docs/ApiResponseCryptoEaseOfMovement.md +13 -0
- data/docs/ApiResponseCryptoForceIndex.md +13 -0
- data/docs/ApiResponseCryptoIchimokuKinkoHyo.md +13 -0
- data/docs/ApiResponseCryptoKeltnerChannel.md +13 -0
- data/docs/ApiResponseCryptoKnowSureThing.md +13 -0
- data/docs/ApiResponseCryptoMassIndex.md +13 -0
- data/docs/ApiResponseCryptoMoneyFlowIndex.md +13 -0
- data/docs/ApiResponseCryptoMovingAverageConvergenceDivergence.md +13 -0
- data/docs/ApiResponseCryptoNegativeVolumeIndex.md +13 -0
- data/docs/ApiResponseCryptoOnBalanceVolume.md +13 -0
- data/docs/ApiResponseCryptoOnBalanceVolumeMean.md +13 -0
- data/docs/ApiResponseCryptoRelativeStrengthIndex.md +13 -0
- data/docs/ApiResponseCryptoSimpleMovingAverage.md +13 -0
- data/docs/ApiResponseCryptoStochasticOscillator.md +13 -0
- data/docs/ApiResponseCryptoTripleExponentialAverage.md +13 -0
- data/docs/ApiResponseCryptoTrueStrengthIndex.md +13 -0
- data/docs/ApiResponseCryptoUltimateOscillator.md +13 -0
- data/docs/ApiResponseCryptoVolumePriceTrend.md +13 -0
- data/docs/ApiResponseCryptoVolumeWeightedAveragePrice.md +13 -0
- data/docs/ApiResponseCryptoVortexIndicator.md +13 -0
- data/docs/ApiResponseCryptoWilliamsR.md +13 -0
- data/docs/ApiResponseOptionsChain.md +1 -1
- data/docs/ApiResponseSecurityZacksAnalystRatings.md +10 -0
- data/docs/ApiResponseSecurityZacksAnalystRatingsSnapshot.md +9 -0
- data/docs/ApiResponseSecurityZacksEPSSurprises.md +10 -0
- data/docs/ApiResponseSecurityZacksSalesSurprises.md +10 -0
- data/docs/ApiResponseZacksAnalystRatings.md +9 -0
- data/docs/ApiResponseZacksEPSSurprises.md +9 -0
- data/docs/ApiResponseZacksSalesSurprises.md +9 -0
- data/docs/Company.md +4 -0
- data/docs/CompanyApi.md +240 -36
- data/docs/CryptoApi.md +2769 -57
- data/docs/CryptoPrice.md +1 -1
- data/docs/DataPointApi.md +44 -10
- data/docs/DataTagApi.md +55 -4
- data/docs/FilingApi.md +128 -9
- data/docs/ForexApi.md +57 -6
- data/docs/Fundamental.md +1 -1
- data/docs/FundamentalsApi.md +68 -0
- data/docs/HistoricalDataApi.md +25 -8
- data/docs/IndexApi.md +331 -25
- data/docs/MunicipalityApi.md +51 -0
- data/docs/OptionsApi.md +74 -6
- data/docs/SecurityApi.md +1108 -78
- data/docs/StockExchangeApi.md +117 -15
- data/docs/TechnicalApi.md +3121 -37
- data/docs/ZacksAnalystRating.md +17 -0
- data/docs/ZacksAnalystRatingSnapshot.md +18 -0
- data/docs/ZacksAnalystRatingSummary.md +16 -0
- data/docs/ZacksApi.md +281 -0
- data/docs/ZacksEPSSurprise.md +24 -0
- data/docs/ZacksEPSSurpriseSummary.md +23 -0
- data/docs/ZacksSalesSurprise.md +24 -0
- data/docs/ZacksSalesSurpriseSummary.md +25 -0
- data/intrinio-sdk.gemspec +1 -1
- data/lib/intrinio-sdk.rb +47 -1
- data/lib/intrinio-sdk/api/company_api.rb +33 -33
- data/lib/intrinio-sdk/api/crypto_api.rb +3108 -8
- data/lib/intrinio-sdk/api/data_point_api.rb +13 -13
- data/lib/intrinio-sdk/api/data_tag_api.rb +5 -5
- data/lib/intrinio-sdk/api/filing_api.rb +9 -9
- data/lib/intrinio-sdk/api/forex_api.rb +7 -6
- data/lib/intrinio-sdk/api/fundamentals_api.rb +1 -1
- data/lib/intrinio-sdk/api/historical_data_api.rb +9 -9
- data/lib/intrinio-sdk/api/index_api.rb +23 -23
- data/lib/intrinio-sdk/api/municipality_api.rb +1 -1
- data/lib/intrinio-sdk/api/options_api.rb +7 -7
- data/lib/intrinio-sdk/api/security_api.rb +393 -42
- data/lib/intrinio-sdk/api/stock_exchange_api.rb +11 -11
- data/lib/intrinio-sdk/api/technical_api.rb +3108 -12
- data/lib/intrinio-sdk/api/zacks_api.rb +393 -0
- data/lib/intrinio-sdk/api_client.rb +1 -1
- data/lib/intrinio-sdk/api_error.rb +1 -1
- data/lib/intrinio-sdk/configuration.rb +1 -1
- data/lib/intrinio-sdk/models/accumulation_distribution_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_companies.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_companies_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_accumulation_distribution_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_average_daily_trading_volume.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_average_directional_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_average_true_range.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_awesome_oscillator.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_bollinger_bands.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_book.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_book_asks.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_book_bids.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_chaikin_money_flow.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_commodity_channel_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_currencies.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_detrended_price_oscillator.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_donchian_channel.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_ease_of_movement.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_exchanges.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_force_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_ichimoku_kinko_hyo.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_keltner_channel.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_know_sure_thing.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_mass_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_money_flow_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_moving_average_convergence_divergence.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_negative_volume_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_on_balance_volume.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_on_balance_volume_mean.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_pairs.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_relative_strength_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_simple_moving_average.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_snapshot.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_stats.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_crypto_stochastic_oscillator.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_triple_exponential_average.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_true_strength_index.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_ultimate_oscillator.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_volume_price_trend.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_volume_weighted_average_price.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_vortex_indicator.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_crypto_williams_r.rb +238 -0
- data/lib/intrinio-sdk/models/api_response_data_tags.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_economic_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filing_notes.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_forex_currencies.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_forex_pairs.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_forex_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_municipalities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_news.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_option_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_chain.rb +9 -9
- data/lib/intrinio-sdk/models/api_response_options_expirations.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_reported_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_securities_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_accumulation_distribution_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_average_daily_trading_volume.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_average_directional_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_average_true_range.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_awesome_oscillator.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_bollinger_bands.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_chaikin_money_flow.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_commodity_channel_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_detrended_price_oscillator.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_donchian_channel.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_ease_of_movement.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_force_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_ichimoku_kinko_hyo.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_keltner_channel.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_know_sure_thing.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_mass_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_money_flow_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_moving_average_convergence_divergence.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_negative_volume_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_on_balance_volume.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_on_balance_volume_mean.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_relative_strength_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_simple_moving_average.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_stochastic_oscillator.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_triple_exponential_average.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_true_strength_index.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_ultimate_oscillator.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_volume_price_trend.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_volume_weighted_average_price.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_vortex_indicator.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_williams_r.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings.rb +210 -0
- data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings_snapshot.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_security_zacks_eps_surprises.rb +210 -0
- data/lib/intrinio-sdk/models/api_response_security_zacks_sales_surprises.rb +210 -0
- data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_analyst_ratings.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_zacks_eps_surprises.rb +201 -0
- data/lib/intrinio-sdk/models/api_response_zacks_sales_surprises.rb +201 -0
- data/lib/intrinio-sdk/models/average_daily_trading_volume_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/average_directional_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/average_true_range_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/awesome_oscillator_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/bollinger_bands_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/chaikin_money_flow_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/commodity_channel_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/company.rb +45 -5
- data/lib/intrinio-sdk/models/company_filing.rb +1 -1
- data/lib/intrinio-sdk/models/company_news.rb +1 -1
- data/lib/intrinio-sdk/models/company_news_summary.rb +1 -1
- data/lib/intrinio-sdk/models/company_summary.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_ask.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_bid.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_book_entry.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_currency.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_exchange.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_exchange_summary.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_pair.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_pair_summary.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_price.rb +2 -2
- data/lib/intrinio-sdk/models/crypto_snapshot.rb +1 -1
- data/lib/intrinio-sdk/models/crypto_stat.rb +1 -1
- data/lib/intrinio-sdk/models/data_tag.rb +1 -1
- data/lib/intrinio-sdk/models/data_tag_summary.rb +1 -1
- data/lib/intrinio-sdk/models/detrended_price_oscillator_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/dividend_record.rb +1 -1
- data/lib/intrinio-sdk/models/donchian_channel_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/earnings_record.rb +1 -1
- data/lib/intrinio-sdk/models/ease_of_movement_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/economic_index.rb +1 -1
- data/lib/intrinio-sdk/models/economic_index_summary.rb +1 -1
- data/lib/intrinio-sdk/models/filing.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note_filing.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note_summary.rb +1 -1
- data/lib/intrinio-sdk/models/filing_summary.rb +1 -1
- data/lib/intrinio-sdk/models/force_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/forex_currency.rb +1 -1
- data/lib/intrinio-sdk/models/forex_pair.rb +1 -1
- data/lib/intrinio-sdk/models/forex_price.rb +1 -1
- data/lib/intrinio-sdk/models/fundamental.rb +2 -2
- data/lib/intrinio-sdk/models/fundamental_summary.rb +1 -1
- data/lib/intrinio-sdk/models/historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/ichimoku_kinko_hyo_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/intraday_stock_price.rb +1 -1
- data/lib/intrinio-sdk/models/keltner_channel_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/know_sure_thing_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/mass_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/money_flow_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/moving_average_convergence_divergence_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/municipality.rb +1 -1
- data/lib/intrinio-sdk/models/municipality_financial.rb +1 -1
- data/lib/intrinio-sdk/models/negative_volume_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/on_balance_volume_mean_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/on_balance_volume_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/option.rb +1 -1
- data/lib/intrinio-sdk/models/option_chain.rb +1 -1
- data/lib/intrinio-sdk/models/option_price.rb +1 -1
- data/lib/intrinio-sdk/models/realtime_stock_price.rb +1 -1
- data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +1 -1
- data/lib/intrinio-sdk/models/relative_strength_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/reported_financial.rb +1 -1
- data/lib/intrinio-sdk/models/reported_financial_dimension.rb +1 -1
- data/lib/intrinio-sdk/models/reported_tag.rb +1 -1
- data/lib/intrinio-sdk/models/security.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_clause.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_group.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_result.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_result_data.rb +1 -1
- data/lib/intrinio-sdk/models/security_summary.rb +1 -1
- data/lib/intrinio-sdk/models/sic_index.rb +1 -1
- data/lib/intrinio-sdk/models/simple_moving_average_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/standardized_financial.rb +1 -1
- data/lib/intrinio-sdk/models/stochastic_oscillator_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/stock_exchange.rb +1 -1
- data/lib/intrinio-sdk/models/stock_market_index.rb +1 -1
- data/lib/intrinio-sdk/models/stock_market_index_summary.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_adjustment.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_summary.rb +1 -1
- data/lib/intrinio-sdk/models/technical_indicator.rb +1 -1
- data/lib/intrinio-sdk/models/triple_exponential_average_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/true_strength_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/ultimate_oscillator_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/volume_price_trend_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/volume_weighted_average_price_value.rb +1 -1
- data/lib/intrinio-sdk/models/vortex_indicator_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/williams_r_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_analyst_rating.rb +279 -0
- data/lib/intrinio-sdk/models/zacks_analyst_rating_snapshot.rb +289 -0
- data/lib/intrinio-sdk/models/zacks_analyst_rating_summary.rb +269 -0
- data/lib/intrinio-sdk/models/zacks_eps_surprise.rb +349 -0
- data/lib/intrinio-sdk/models/zacks_eps_surprise_summary.rb +339 -0
- data/lib/intrinio-sdk/models/zacks_sales_surprise.rb +349 -0
- data/lib/intrinio-sdk/models/zacks_sales_surprise_summary.rb +359 -0
- data/lib/intrinio-sdk/version.rb +2 -2
- data/spec/api/company_api_spec.rb +17 -17
- data/spec/api/crypto_api_spec.rb +741 -4
- data/spec/api/data_point_api_spec.rb +7 -7
- data/spec/api/data_tag_api_spec.rb +3 -3
- data/spec/api/filing_api_spec.rb +5 -5
- data/spec/api/forex_api_spec.rb +3 -3
- data/spec/api/fundamentals_api_spec.rb +1 -1
- data/spec/api/historical_data_api_spec.rb +5 -5
- data/spec/api/index_api_spec.rb +12 -12
- data/spec/api/municipality_api_spec.rb +1 -1
- data/spec/api/options_api_spec.rb +4 -4
- data/spec/api/security_api_spec.rb +88 -19
- data/spec/api/stock_exchange_api_spec.rb +6 -6
- data/spec/api/technical_api_spec.rb +740 -4
- data/spec/api/zacks_api_spec.rb +119 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/accumulation_distribution_index_technical_value_spec.rb +1 -1
- data/spec/models/api_response_companies_search_spec.rb +1 -1
- data/spec/models/api_response_companies_spec.rb +1 -1
- data/spec/models/api_response_company_filings_spec.rb +1 -1
- data/spec/models/api_response_company_fundamentals_spec.rb +1 -1
- data/spec/models/api_response_company_historical_data_spec.rb +1 -1
- data/spec/models/api_response_company_news_spec.rb +1 -1
- data/spec/models/api_response_company_securities_spec.rb +1 -1
- data/spec/models/api_response_crypto_accumulation_distribution_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_average_daily_trading_volume_spec.rb +72 -0
- data/spec/models/api_response_crypto_average_directional_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_average_true_range_spec.rb +72 -0
- data/spec/models/api_response_crypto_awesome_oscillator_spec.rb +72 -0
- data/spec/models/api_response_crypto_bollinger_bands_spec.rb +72 -0
- data/spec/models/api_response_crypto_book_asks_spec.rb +1 -1
- data/spec/models/api_response_crypto_book_bids_spec.rb +1 -1
- data/spec/models/api_response_crypto_book_spec.rb +1 -1
- data/spec/models/api_response_crypto_chaikin_money_flow_spec.rb +72 -0
- data/spec/models/api_response_crypto_commodity_channel_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_currencies_spec.rb +1 -1
- data/spec/models/api_response_crypto_detrended_price_oscillator_spec.rb +72 -0
- data/spec/models/api_response_crypto_donchian_channel_spec.rb +72 -0
- data/spec/models/api_response_crypto_ease_of_movement_spec.rb +72 -0
- data/spec/models/api_response_crypto_exchanges_spec.rb +1 -1
- data/spec/models/api_response_crypto_force_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_ichimoku_kinko_hyo_spec.rb +72 -0
- data/spec/models/api_response_crypto_keltner_channel_spec.rb +72 -0
- data/spec/models/api_response_crypto_know_sure_thing_spec.rb +72 -0
- data/spec/models/api_response_crypto_mass_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_money_flow_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_moving_average_convergence_divergence_spec.rb +72 -0
- data/spec/models/api_response_crypto_negative_volume_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_on_balance_volume_mean_spec.rb +72 -0
- data/spec/models/api_response_crypto_on_balance_volume_spec.rb +72 -0
- data/spec/models/api_response_crypto_pairs_spec.rb +1 -1
- data/spec/models/api_response_crypto_prices_spec.rb +1 -1
- data/spec/models/api_response_crypto_relative_strength_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_simple_moving_average_spec.rb +72 -0
- data/spec/models/api_response_crypto_snapshot_spec.rb +1 -1
- data/spec/models/api_response_crypto_stats_spec.rb +1 -1
- data/spec/models/api_response_crypto_stochastic_oscillator_spec.rb +72 -0
- data/spec/models/api_response_crypto_triple_exponential_average_spec.rb +72 -0
- data/spec/models/api_response_crypto_true_strength_index_spec.rb +72 -0
- data/spec/models/api_response_crypto_ultimate_oscillator_spec.rb +72 -0
- data/spec/models/api_response_crypto_volume_price_trend_spec.rb +72 -0
- data/spec/models/api_response_crypto_volume_weighted_average_price_spec.rb +72 -0
- data/spec/models/api_response_crypto_vortex_indicator_spec.rb +72 -0
- data/spec/models/api_response_crypto_williams_r_spec.rb +72 -0
- data/spec/models/api_response_data_tags_search_spec.rb +1 -1
- data/spec/models/api_response_data_tags_spec.rb +1 -1
- data/spec/models/api_response_economic_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_economic_indices_search_spec.rb +1 -1
- data/spec/models/api_response_economic_indices_spec.rb +1 -1
- data/spec/models/api_response_filing_notes_search_spec.rb +1 -1
- data/spec/models/api_response_filing_notes_spec.rb +1 -1
- data/spec/models/api_response_filings_spec.rb +1 -1
- data/spec/models/api_response_forex_currencies_spec.rb +1 -1
- data/spec/models/api_response_forex_pairs_spec.rb +1 -1
- data/spec/models/api_response_forex_prices_spec.rb +1 -1
- data/spec/models/api_response_historical_data_spec.rb +1 -1
- data/spec/models/api_response_municipalities_spec.rb +1 -1
- data/spec/models/api_response_municipalitiy_financials_spec.rb +1 -1
- data/spec/models/api_response_news_spec.rb +1 -1
- data/spec/models/api_response_option_prices_spec.rb +1 -1
- data/spec/models/api_response_options_chain_spec.rb +2 -2
- data/spec/models/api_response_options_expirations_spec.rb +1 -1
- data/spec/models/api_response_options_spec.rb +1 -1
- data/spec/models/api_response_reported_financials_spec.rb +1 -1
- data/spec/models/api_response_securities_search_spec.rb +1 -1
- data/spec/models/api_response_securities_spec.rb +1 -1
- data/spec/models/api_response_security_accumulation_distribution_index_spec.rb +1 -1
- data/spec/models/api_response_security_average_daily_trading_volume_spec.rb +1 -1
- data/spec/models/api_response_security_average_directional_index_spec.rb +1 -1
- data/spec/models/api_response_security_average_true_range_spec.rb +1 -1
- data/spec/models/api_response_security_awesome_oscillator_spec.rb +1 -1
- data/spec/models/api_response_security_bollinger_bands_spec.rb +1 -1
- data/spec/models/api_response_security_chaikin_money_flow_spec.rb +1 -1
- data/spec/models/api_response_security_commodity_channel_index_spec.rb +1 -1
- data/spec/models/api_response_security_detrended_price_oscillator_spec.rb +1 -1
- data/spec/models/api_response_security_donchian_channel_spec.rb +1 -1
- data/spec/models/api_response_security_ease_of_movement_spec.rb +1 -1
- data/spec/models/api_response_security_force_index_spec.rb +1 -1
- data/spec/models/api_response_security_historical_data_spec.rb +1 -1
- data/spec/models/api_response_security_ichimoku_kinko_hyo_spec.rb +1 -1
- data/spec/models/api_response_security_intraday_prices_spec.rb +1 -1
- data/spec/models/api_response_security_keltner_channel_spec.rb +1 -1
- data/spec/models/api_response_security_know_sure_thing_spec.rb +1 -1
- data/spec/models/api_response_security_mass_index_spec.rb +1 -1
- data/spec/models/api_response_security_money_flow_index_spec.rb +1 -1
- data/spec/models/api_response_security_moving_average_convergence_divergence_spec.rb +1 -1
- data/spec/models/api_response_security_negative_volume_index_spec.rb +1 -1
- data/spec/models/api_response_security_on_balance_volume_mean_spec.rb +1 -1
- data/spec/models/api_response_security_on_balance_volume_spec.rb +1 -1
- data/spec/models/api_response_security_relative_strength_index_spec.rb +1 -1
- data/spec/models/api_response_security_simple_moving_average_spec.rb +1 -1
- data/spec/models/api_response_security_stochastic_oscillator_spec.rb +1 -1
- data/spec/models/api_response_security_stock_price_adjustments_spec.rb +1 -1
- data/spec/models/api_response_security_stock_prices_spec.rb +1 -1
- data/spec/models/api_response_security_triple_exponential_average_spec.rb +1 -1
- data/spec/models/api_response_security_true_strength_index_spec.rb +1 -1
- data/spec/models/api_response_security_ultimate_oscillator_spec.rb +1 -1
- data/spec/models/api_response_security_volume_price_trend_spec.rb +1 -1
- data/spec/models/api_response_security_volume_weighted_average_price_spec.rb +1 -1
- data/spec/models/api_response_security_vortex_indicator_spec.rb +1 -1
- data/spec/models/api_response_security_williams_r_spec.rb +1 -1
- data/spec/models/api_response_security_zacks_analyst_ratings_snapshot_spec.rb +48 -0
- data/spec/models/api_response_security_zacks_analyst_ratings_spec.rb +54 -0
- data/spec/models/api_response_security_zacks_eps_surprises_spec.rb +54 -0
- data/spec/models/api_response_security_zacks_sales_surprises_spec.rb +54 -0
- data/spec/models/api_response_sic_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_sic_indices_search_spec.rb +1 -1
- data/spec/models/api_response_sic_indices_spec.rb +1 -1
- data/spec/models/api_response_standardized_financials_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_realtime_stock_prices_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_securities_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +1 -1
- data/spec/models/api_response_stock_exchanges_spec.rb +1 -1
- data/spec/models/api_response_stock_market_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_stock_market_indices_search_spec.rb +1 -1
- data/spec/models/api_response_stock_market_indices_spec.rb +1 -1
- data/spec/models/api_response_zacks_analyst_ratings_spec.rb +48 -0
- data/spec/models/api_response_zacks_eps_surprises_spec.rb +48 -0
- data/spec/models/api_response_zacks_sales_surprises_spec.rb +48 -0
- data/spec/models/average_daily_trading_volume_technical_value_spec.rb +1 -1
- data/spec/models/average_directional_index_technical_value_spec.rb +1 -1
- data/spec/models/average_true_range_technical_value_spec.rb +1 -1
- data/spec/models/awesome_oscillator_technical_value_spec.rb +1 -1
- data/spec/models/bollinger_bands_technical_value_spec.rb +1 -1
- data/spec/models/chaikin_money_flow_technical_value_spec.rb +1 -1
- data/spec/models/commodity_channel_index_technical_value_spec.rb +1 -1
- data/spec/models/company_filing_spec.rb +1 -1
- data/spec/models/company_news_spec.rb +1 -1
- data/spec/models/company_news_summary_spec.rb +1 -1
- data/spec/models/company_spec.rb +25 -1
- data/spec/models/company_summary_spec.rb +1 -1
- data/spec/models/crypto_ask_spec.rb +1 -1
- data/spec/models/crypto_bid_spec.rb +1 -1
- data/spec/models/crypto_book_entry_spec.rb +1 -1
- data/spec/models/crypto_currency_spec.rb +1 -1
- data/spec/models/crypto_exchange_spec.rb +1 -1
- data/spec/models/crypto_exchange_summary_spec.rb +1 -1
- data/spec/models/crypto_pair_spec.rb +1 -1
- data/spec/models/crypto_pair_summary_spec.rb +1 -1
- data/spec/models/crypto_price_spec.rb +1 -1
- data/spec/models/crypto_snapshot_spec.rb +1 -1
- data/spec/models/crypto_stat_spec.rb +1 -1
- data/spec/models/data_tag_spec.rb +1 -1
- data/spec/models/data_tag_summary_spec.rb +1 -1
- data/spec/models/detrended_price_oscillator_technical_value_spec.rb +1 -1
- data/spec/models/dividend_record_spec.rb +1 -1
- data/spec/models/donchian_channel_technical_value_spec.rb +1 -1
- data/spec/models/earnings_record_spec.rb +1 -1
- data/spec/models/ease_of_movement_technical_value_spec.rb +1 -1
- data/spec/models/economic_index_spec.rb +1 -1
- data/spec/models/economic_index_summary_spec.rb +1 -1
- data/spec/models/filing_note_filing_spec.rb +1 -1
- data/spec/models/filing_note_spec.rb +1 -1
- data/spec/models/filing_note_summary_spec.rb +1 -1
- data/spec/models/filing_spec.rb +1 -1
- data/spec/models/filing_summary_spec.rb +1 -1
- data/spec/models/force_index_technical_value_spec.rb +1 -1
- data/spec/models/forex_currency_spec.rb +1 -1
- data/spec/models/forex_pair_spec.rb +1 -1
- data/spec/models/forex_price_spec.rb +1 -1
- data/spec/models/fundamental_spec.rb +1 -1
- data/spec/models/fundamental_summary_spec.rb +1 -1
- data/spec/models/historical_data_spec.rb +1 -1
- data/spec/models/ichimoku_kinko_hyo_technical_value_spec.rb +1 -1
- data/spec/models/intraday_stock_price_spec.rb +1 -1
- data/spec/models/keltner_channel_technical_value_spec.rb +1 -1
- data/spec/models/know_sure_thing_technical_value_spec.rb +1 -1
- data/spec/models/mass_index_technical_value_spec.rb +1 -1
- data/spec/models/money_flow_index_technical_value_spec.rb +1 -1
- data/spec/models/moving_average_convergence_divergence_technical_value_spec.rb +1 -1
- data/spec/models/municipality_financial_spec.rb +1 -1
- data/spec/models/municipality_spec.rb +1 -1
- data/spec/models/negative_volume_index_technical_value_spec.rb +1 -1
- data/spec/models/on_balance_volume_mean_technical_value_spec.rb +1 -1
- data/spec/models/on_balance_volume_technical_value_spec.rb +1 -1
- data/spec/models/option_chain_spec.rb +1 -1
- data/spec/models/option_price_spec.rb +1 -1
- data/spec/models/option_spec.rb +1 -1
- data/spec/models/realtime_stock_price_security_spec.rb +1 -1
- data/spec/models/realtime_stock_price_spec.rb +1 -1
- data/spec/models/relative_strength_index_technical_value_spec.rb +1 -1
- data/spec/models/reported_financial_dimension_spec.rb +1 -1
- data/spec/models/reported_financial_spec.rb +1 -1
- data/spec/models/reported_tag_spec.rb +1 -1
- data/spec/models/security_screen_clause_spec.rb +1 -1
- data/spec/models/security_screen_group_spec.rb +1 -1
- data/spec/models/security_screen_result_data_spec.rb +1 -1
- data/spec/models/security_screen_result_spec.rb +1 -1
- data/spec/models/security_spec.rb +1 -1
- data/spec/models/security_summary_spec.rb +1 -1
- data/spec/models/sic_index_spec.rb +1 -1
- data/spec/models/simple_moving_average_technical_value_spec.rb +1 -1
- data/spec/models/standardized_financial_spec.rb +1 -1
- data/spec/models/stochastic_oscillator_technical_value_spec.rb +1 -1
- data/spec/models/stock_exchange_spec.rb +1 -1
- data/spec/models/stock_market_index_spec.rb +1 -1
- data/spec/models/stock_market_index_summary_spec.rb +1 -1
- data/spec/models/stock_price_adjustment_spec.rb +1 -1
- data/spec/models/stock_price_adjustment_summary_spec.rb +1 -1
- data/spec/models/stock_price_spec.rb +1 -1
- data/spec/models/stock_price_summary_spec.rb +1 -1
- data/spec/models/technical_indicator_spec.rb +1 -1
- data/spec/models/triple_exponential_average_technical_value_spec.rb +1 -1
- data/spec/models/true_strength_index_technical_value_spec.rb +1 -1
- data/spec/models/ultimate_oscillator_technical_value_spec.rb +1 -1
- data/spec/models/volume_price_trend_technical_value_spec.rb +1 -1
- data/spec/models/volume_weighted_average_price_value_spec.rb +1 -1
- data/spec/models/vortex_indicator_technical_value_spec.rb +1 -1
- data/spec/models/williams_r_technical_value_spec.rb +1 -1
- data/spec/models/zacks_analyst_rating_snapshot_spec.rb +102 -0
- data/spec/models/zacks_analyst_rating_spec.rb +96 -0
- data/spec/models/zacks_analyst_rating_summary_spec.rb +90 -0
- data/spec/models/zacks_eps_surprise_spec.rb +138 -0
- data/spec/models/zacks_eps_surprise_summary_spec.rb +132 -0
- data/spec/models/zacks_sales_surprise_spec.rb +138 -0
- data/spec/models/zacks_sales_surprise_summary_spec.rb +144 -0
- data/spec/spec_helper.rb +1 -1
- metadata +186 -2
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Intrinio API
|
|
3
|
+
|
|
4
|
+
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.6.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require "uri"
|
|
14
|
+
|
|
15
|
+
module Intrinio
|
|
16
|
+
class ZacksApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Zacks Analyst Ratings
|
|
24
|
+
# Returns buy, sell, and hold recommendations from analysts at brokerages for all companies in the Zacks universe. Zack’s storied research team aggregates and validates the ratings from professional analysts.
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [String] :identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
|
27
|
+
# @option opts [String] :start_date Limit ratings to those on or after this date
|
|
28
|
+
# @option opts [String] :end_date Limit ratings to those on or before this date
|
|
29
|
+
# @option opts [Float] :mean_greater Return only records with a mean (average) higher than this value
|
|
30
|
+
# @option opts [Float] :mean_less Return only records with a mean (average) lower than this value
|
|
31
|
+
# @option opts [Integer] :strong_buys_greater Return only records with more than this many Strong Buy recommendations
|
|
32
|
+
# @option opts [Integer] :strong_buys_less Return only records with fewer than this many Strong Buy recommendations
|
|
33
|
+
# @option opts [Integer] :buys_greater Return only records with more than this many Buy recommendations
|
|
34
|
+
# @option opts [Integer] :buys_less Return only records with fewer than this many Buy recommendations
|
|
35
|
+
# @option opts [Integer] :holds_greater Return only records with more than this many Hold recommendations
|
|
36
|
+
# @option opts [Integer] :holds_less Return only records with fewer than this many Hold recommendations
|
|
37
|
+
# @option opts [Integer] :sells_greater Return only records with more than this many Sell recommendations
|
|
38
|
+
# @option opts [Integer] :sells_less Return only records with fewer than this many Sell recommendations
|
|
39
|
+
# @option opts [Integer] :strong_sells_greater Return only records with more than this many Strong Sell recommendations
|
|
40
|
+
# @option opts [Integer] :strong_sells_less Return only records with fewer than this many Strong Sell recommendations
|
|
41
|
+
# @option opts [Integer] :total_greater Return only records with more than this many recommendations, regardless of type
|
|
42
|
+
# @option opts [Integer] :total_less Return only records with fewer than this many recommendations, regardless of type
|
|
43
|
+
# @option opts [Integer] :page_size The number of results to return (default to 100)
|
|
44
|
+
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
|
45
|
+
# @return [ApiResponseZacksAnalystRatings]
|
|
46
|
+
def get_zacks_analyst_ratings(opts = {})
|
|
47
|
+
data, _status_code, _headers = get_zacks_analyst_ratings_with_http_info(opts)
|
|
48
|
+
return data
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Zacks Analyst Ratings
|
|
52
|
+
# Returns buy, sell, and hold recommendations from analysts at brokerages for all companies in the Zacks universe. Zack’s storied research team aggregates and validates the ratings from professional analysts.
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [String] :identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
|
55
|
+
# @option opts [String] :start_date Limit ratings to those on or after this date
|
|
56
|
+
# @option opts [String] :end_date Limit ratings to those on or before this date
|
|
57
|
+
# @option opts [Float] :mean_greater Return only records with a mean (average) higher than this value
|
|
58
|
+
# @option opts [Float] :mean_less Return only records with a mean (average) lower than this value
|
|
59
|
+
# @option opts [Integer] :strong_buys_greater Return only records with more than this many Strong Buy recommendations
|
|
60
|
+
# @option opts [Integer] :strong_buys_less Return only records with fewer than this many Strong Buy recommendations
|
|
61
|
+
# @option opts [Integer] :buys_greater Return only records with more than this many Buy recommendations
|
|
62
|
+
# @option opts [Integer] :buys_less Return only records with fewer than this many Buy recommendations
|
|
63
|
+
# @option opts [Integer] :holds_greater Return only records with more than this many Hold recommendations
|
|
64
|
+
# @option opts [Integer] :holds_less Return only records with fewer than this many Hold recommendations
|
|
65
|
+
# @option opts [Integer] :sells_greater Return only records with more than this many Sell recommendations
|
|
66
|
+
# @option opts [Integer] :sells_less Return only records with fewer than this many Sell recommendations
|
|
67
|
+
# @option opts [Integer] :strong_sells_greater Return only records with more than this many Strong Sell recommendations
|
|
68
|
+
# @option opts [Integer] :strong_sells_less Return only records with fewer than this many Strong Sell recommendations
|
|
69
|
+
# @option opts [Integer] :total_greater Return only records with more than this many recommendations, regardless of type
|
|
70
|
+
# @option opts [Integer] :total_less Return only records with fewer than this many recommendations, regardless of type
|
|
71
|
+
# @option opts [Integer] :page_size The number of results to return
|
|
72
|
+
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
|
73
|
+
# @return [Array<(ApiResponseZacksAnalystRatings, Fixnum, Hash)>] ApiResponseZacksAnalystRatings data, response status code and response headers
|
|
74
|
+
def get_zacks_analyst_ratings_with_http_info(opts = {})
|
|
75
|
+
if @api_client.config.debugging
|
|
76
|
+
@api_client.config.logger.debug "Calling API: ZacksApi.get_zacks_analyst_ratings ..."
|
|
77
|
+
end
|
|
78
|
+
if @api_client.config.client_side_validation && !opts[:'mean_greater'].nil? && opts[:'mean_greater'] > 5
|
|
79
|
+
fail ArgumentError, 'invalid value for "opts[:"mean_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be smaller than or equal to 5.'
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
if @api_client.config.client_side_validation && !opts[:'mean_greater'].nil? && opts[:'mean_greater'] < 1
|
|
83
|
+
fail ArgumentError, 'invalid value for "opts[:"mean_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 1.'
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if @api_client.config.client_side_validation && !opts[:'mean_less'].nil? && opts[:'mean_less'] > 5
|
|
87
|
+
fail ArgumentError, 'invalid value for "opts[:"mean_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be smaller than or equal to 5.'
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if @api_client.config.client_side_validation && !opts[:'mean_less'].nil? && opts[:'mean_less'] < 1
|
|
91
|
+
fail ArgumentError, 'invalid value for "opts[:"mean_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 1.'
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if @api_client.config.client_side_validation && !opts[:'strong_buys_greater'].nil? && opts[:'strong_buys_greater'] < 0
|
|
95
|
+
fail ArgumentError, 'invalid value for "opts[:"strong_buys_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if @api_client.config.client_side_validation && !opts[:'strong_buys_less'].nil? && opts[:'strong_buys_less'] < 0
|
|
99
|
+
fail ArgumentError, 'invalid value for "opts[:"strong_buys_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if @api_client.config.client_side_validation && !opts[:'buys_greater'].nil? && opts[:'buys_greater'] < 0
|
|
103
|
+
fail ArgumentError, 'invalid value for "opts[:"buys_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if @api_client.config.client_side_validation && !opts[:'buys_less'].nil? && opts[:'buys_less'] < 0
|
|
107
|
+
fail ArgumentError, 'invalid value for "opts[:"buys_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if @api_client.config.client_side_validation && !opts[:'holds_greater'].nil? && opts[:'holds_greater'] < 0
|
|
111
|
+
fail ArgumentError, 'invalid value for "opts[:"holds_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if @api_client.config.client_side_validation && !opts[:'holds_less'].nil? && opts[:'holds_less'] < 0
|
|
115
|
+
fail ArgumentError, 'invalid value for "opts[:"holds_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if @api_client.config.client_side_validation && !opts[:'sells_greater'].nil? && opts[:'sells_greater'] < 0
|
|
119
|
+
fail ArgumentError, 'invalid value for "opts[:"sells_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
if @api_client.config.client_side_validation && !opts[:'sells_less'].nil? && opts[:'sells_less'] < 0
|
|
123
|
+
fail ArgumentError, 'invalid value for "opts[:"sells_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
if @api_client.config.client_side_validation && !opts[:'strong_sells_greater'].nil? && opts[:'strong_sells_greater'] < 0
|
|
127
|
+
fail ArgumentError, 'invalid value for "opts[:"strong_sells_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
if @api_client.config.client_side_validation && !opts[:'strong_sells_less'].nil? && opts[:'strong_sells_less'] < 0
|
|
131
|
+
fail ArgumentError, 'invalid value for "opts[:"strong_sells_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
if @api_client.config.client_side_validation && !opts[:'total_greater'].nil? && opts[:'total_greater'] < 0
|
|
135
|
+
fail ArgumentError, 'invalid value for "opts[:"total_greater"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if @api_client.config.client_side_validation && !opts[:'total_less'].nil? && opts[:'total_less'] < 0
|
|
139
|
+
fail ArgumentError, 'invalid value for "opts[:"total_less"]" when calling ZacksApi.get_zacks_analyst_ratings, must be greater than or equal to 0.'
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
|
|
143
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ZacksApi.get_zacks_analyst_ratings, must be smaller than or equal to 10000.'
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# resource path
|
|
147
|
+
local_var_path = "/zacks/analyst_ratings"
|
|
148
|
+
|
|
149
|
+
# query parameters
|
|
150
|
+
query_params = {}
|
|
151
|
+
query_params[:'identifier'] = opts[:'identifier'] if !opts[:'identifier'].nil?
|
|
152
|
+
query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
|
153
|
+
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
|
154
|
+
query_params[:'mean_greater'] = opts[:'mean_greater'] if !opts[:'mean_greater'].nil?
|
|
155
|
+
query_params[:'mean_less'] = opts[:'mean_less'] if !opts[:'mean_less'].nil?
|
|
156
|
+
query_params[:'strong_buys_greater'] = opts[:'strong_buys_greater'] if !opts[:'strong_buys_greater'].nil?
|
|
157
|
+
query_params[:'strong_buys_less'] = opts[:'strong_buys_less'] if !opts[:'strong_buys_less'].nil?
|
|
158
|
+
query_params[:'buys_greater'] = opts[:'buys_greater'] if !opts[:'buys_greater'].nil?
|
|
159
|
+
query_params[:'buys_less'] = opts[:'buys_less'] if !opts[:'buys_less'].nil?
|
|
160
|
+
query_params[:'holds_greater'] = opts[:'holds_greater'] if !opts[:'holds_greater'].nil?
|
|
161
|
+
query_params[:'holds_less'] = opts[:'holds_less'] if !opts[:'holds_less'].nil?
|
|
162
|
+
query_params[:'sells_greater'] = opts[:'sells_greater'] if !opts[:'sells_greater'].nil?
|
|
163
|
+
query_params[:'sells_less'] = opts[:'sells_less'] if !opts[:'sells_less'].nil?
|
|
164
|
+
query_params[:'strong_sells_greater'] = opts[:'strong_sells_greater'] if !opts[:'strong_sells_greater'].nil?
|
|
165
|
+
query_params[:'strong_sells_less'] = opts[:'strong_sells_less'] if !opts[:'strong_sells_less'].nil?
|
|
166
|
+
query_params[:'total_greater'] = opts[:'total_greater'] if !opts[:'total_greater'].nil?
|
|
167
|
+
query_params[:'total_less'] = opts[:'total_less'] if !opts[:'total_less'].nil?
|
|
168
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
169
|
+
query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
|
|
170
|
+
|
|
171
|
+
# header parameters
|
|
172
|
+
header_params = {}
|
|
173
|
+
# HTTP header 'Accept' (if needed)
|
|
174
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
175
|
+
|
|
176
|
+
# form parameters
|
|
177
|
+
form_params = {}
|
|
178
|
+
|
|
179
|
+
# http body (model)
|
|
180
|
+
post_body = nil
|
|
181
|
+
auth_names = ['ApiKeyAuth']
|
|
182
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
183
|
+
:header_params => header_params,
|
|
184
|
+
:query_params => query_params,
|
|
185
|
+
:form_params => form_params,
|
|
186
|
+
:body => post_body,
|
|
187
|
+
:auth_names => auth_names,
|
|
188
|
+
:return_type => 'ApiResponseZacksAnalystRatings')
|
|
189
|
+
if @api_client.config.debugging
|
|
190
|
+
@api_client.config.logger.debug "API called: ZacksApi#get_zacks_analyst_ratings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
191
|
+
end
|
|
192
|
+
return data, status_code, headers
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Zacks EPS Surprises
|
|
196
|
+
# Returns Zacks eps surprise data for all Securities.
|
|
197
|
+
# @param [Hash] opts the optional parameters
|
|
198
|
+
# @option opts [String] :start_date Limit EPS surprises to those on or after this date
|
|
199
|
+
# @option opts [String] :end_date Limit EPS surprises to those on or before this date
|
|
200
|
+
# @option opts [Float] :eps_actual_greater Return only records with an actual EPS higher than this value
|
|
201
|
+
# @option opts [Float] :eps_actual_less Return only records with an actual EPS lower than this value
|
|
202
|
+
# @option opts [Float] :eps_mean_estimate_greater Return only records with an EPS mean estimate greater than this value
|
|
203
|
+
# @option opts [Float] :eps_mean_estimate_less Return only records with an EPS mean estimate lower than this value
|
|
204
|
+
# @option opts [Float] :eps_amount_diff_greater Return only records with an EPS amount difference greater than this value
|
|
205
|
+
# @option opts [Float] :eps_amount_diff_less Return only records with an EPS amount difference less than this value
|
|
206
|
+
# @option opts [Float] :eps_percent_diff_greater Return only records with an EPS percent difference greater than this value
|
|
207
|
+
# @option opts [Float] :eps_percent_diff_less Return only records with an EPS percent difference less than this value
|
|
208
|
+
# @option opts [Float] :eps_count_estimate_greater Return only records with an EPS count estimate greater than this value
|
|
209
|
+
# @option opts [Float] :eps_count_estimate_less Return only records with an EPS count estimate less than this value
|
|
210
|
+
# @option opts [Float] :eps_std_dev_estimate_greater Return only records with an EPS standard deviation greater than this value
|
|
211
|
+
# @option opts [Float] :eps_std_dev_estimate_less Return only records with an EPS standard deviation less than this value
|
|
212
|
+
# @option opts [Integer] :page_size The number of results to return (default to 100)
|
|
213
|
+
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
|
214
|
+
# @return [ApiResponseZacksEPSSurprises]
|
|
215
|
+
def get_zacks_eps_surprises(opts = {})
|
|
216
|
+
data, _status_code, _headers = get_zacks_eps_surprises_with_http_info(opts)
|
|
217
|
+
return data
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Zacks EPS Surprises
|
|
221
|
+
# Returns Zacks eps surprise data for all Securities.
|
|
222
|
+
# @param [Hash] opts the optional parameters
|
|
223
|
+
# @option opts [String] :start_date Limit EPS surprises to those on or after this date
|
|
224
|
+
# @option opts [String] :end_date Limit EPS surprises to those on or before this date
|
|
225
|
+
# @option opts [Float] :eps_actual_greater Return only records with an actual EPS higher than this value
|
|
226
|
+
# @option opts [Float] :eps_actual_less Return only records with an actual EPS lower than this value
|
|
227
|
+
# @option opts [Float] :eps_mean_estimate_greater Return only records with an EPS mean estimate greater than this value
|
|
228
|
+
# @option opts [Float] :eps_mean_estimate_less Return only records with an EPS mean estimate lower than this value
|
|
229
|
+
# @option opts [Float] :eps_amount_diff_greater Return only records with an EPS amount difference greater than this value
|
|
230
|
+
# @option opts [Float] :eps_amount_diff_less Return only records with an EPS amount difference less than this value
|
|
231
|
+
# @option opts [Float] :eps_percent_diff_greater Return only records with an EPS percent difference greater than this value
|
|
232
|
+
# @option opts [Float] :eps_percent_diff_less Return only records with an EPS percent difference less than this value
|
|
233
|
+
# @option opts [Float] :eps_count_estimate_greater Return only records with an EPS count estimate greater than this value
|
|
234
|
+
# @option opts [Float] :eps_count_estimate_less Return only records with an EPS count estimate less than this value
|
|
235
|
+
# @option opts [Float] :eps_std_dev_estimate_greater Return only records with an EPS standard deviation greater than this value
|
|
236
|
+
# @option opts [Float] :eps_std_dev_estimate_less Return only records with an EPS standard deviation less than this value
|
|
237
|
+
# @option opts [Integer] :page_size The number of results to return
|
|
238
|
+
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
|
239
|
+
# @return [Array<(ApiResponseZacksEPSSurprises, Fixnum, Hash)>] ApiResponseZacksEPSSurprises data, response status code and response headers
|
|
240
|
+
def get_zacks_eps_surprises_with_http_info(opts = {})
|
|
241
|
+
if @api_client.config.debugging
|
|
242
|
+
@api_client.config.logger.debug "Calling API: ZacksApi.get_zacks_eps_surprises ..."
|
|
243
|
+
end
|
|
244
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
|
|
245
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ZacksApi.get_zacks_eps_surprises, must be smaller than or equal to 10000.'
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# resource path
|
|
249
|
+
local_var_path = "/zacks/eps_surprises"
|
|
250
|
+
|
|
251
|
+
# query parameters
|
|
252
|
+
query_params = {}
|
|
253
|
+
query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
|
254
|
+
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
|
255
|
+
query_params[:'eps_actual_greater'] = opts[:'eps_actual_greater'] if !opts[:'eps_actual_greater'].nil?
|
|
256
|
+
query_params[:'eps_actual_less'] = opts[:'eps_actual_less'] if !opts[:'eps_actual_less'].nil?
|
|
257
|
+
query_params[:'eps_mean_estimate_greater'] = opts[:'eps_mean_estimate_greater'] if !opts[:'eps_mean_estimate_greater'].nil?
|
|
258
|
+
query_params[:'eps_mean_estimate_less'] = opts[:'eps_mean_estimate_less'] if !opts[:'eps_mean_estimate_less'].nil?
|
|
259
|
+
query_params[:'eps_amount_diff_greater'] = opts[:'eps_amount_diff_greater'] if !opts[:'eps_amount_diff_greater'].nil?
|
|
260
|
+
query_params[:'eps_amount_diff_less'] = opts[:'eps_amount_diff_less'] if !opts[:'eps_amount_diff_less'].nil?
|
|
261
|
+
query_params[:'eps_percent_diff_greater'] = opts[:'eps_percent_diff_greater'] if !opts[:'eps_percent_diff_greater'].nil?
|
|
262
|
+
query_params[:'eps_percent_diff_less'] = opts[:'eps_percent_diff_less'] if !opts[:'eps_percent_diff_less'].nil?
|
|
263
|
+
query_params[:'eps_count_estimate_greater'] = opts[:'eps_count_estimate_greater'] if !opts[:'eps_count_estimate_greater'].nil?
|
|
264
|
+
query_params[:'eps_count_estimate_less'] = opts[:'eps_count_estimate_less'] if !opts[:'eps_count_estimate_less'].nil?
|
|
265
|
+
query_params[:'eps_std_dev_estimate_greater'] = opts[:'eps_std_dev_estimate_greater'] if !opts[:'eps_std_dev_estimate_greater'].nil?
|
|
266
|
+
query_params[:'eps_std_dev_estimate_less'] = opts[:'eps_std_dev_estimate_less'] if !opts[:'eps_std_dev_estimate_less'].nil?
|
|
267
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
268
|
+
query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
|
|
269
|
+
|
|
270
|
+
# header parameters
|
|
271
|
+
header_params = {}
|
|
272
|
+
# HTTP header 'Accept' (if needed)
|
|
273
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
274
|
+
|
|
275
|
+
# form parameters
|
|
276
|
+
form_params = {}
|
|
277
|
+
|
|
278
|
+
# http body (model)
|
|
279
|
+
post_body = nil
|
|
280
|
+
auth_names = ['ApiKeyAuth']
|
|
281
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
282
|
+
:header_params => header_params,
|
|
283
|
+
:query_params => query_params,
|
|
284
|
+
:form_params => form_params,
|
|
285
|
+
:body => post_body,
|
|
286
|
+
:auth_names => auth_names,
|
|
287
|
+
:return_type => 'ApiResponseZacksEPSSurprises')
|
|
288
|
+
if @api_client.config.debugging
|
|
289
|
+
@api_client.config.logger.debug "API called: ZacksApi#get_zacks_eps_surprises\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
|
+
end
|
|
291
|
+
return data, status_code, headers
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# Zacks Sales Surprises
|
|
295
|
+
# Returns Zacks sales surprise data for all Securities.
|
|
296
|
+
# @param [Hash] opts the optional parameters
|
|
297
|
+
# @option opts [String] :start_date Limit sales surprises to those on or after this date
|
|
298
|
+
# @option opts [String] :end_date Limit sales surprises to those on or before this date
|
|
299
|
+
# @option opts [Float] :sales_actual_greater Return only records with an actual sales higher than this value
|
|
300
|
+
# @option opts [Float] :sales_actual_less Return only records with an actual sales lower than this value
|
|
301
|
+
# @option opts [Float] :sales_mean_estimate_greater Return only records with a sales mean estimate greater than this value
|
|
302
|
+
# @option opts [Float] :sales_mean_estimate_less Return only records with a sales mean estimate lower than this value
|
|
303
|
+
# @option opts [Float] :sales_amount_diff_greater Return only records with a sales amount difference greater than this value
|
|
304
|
+
# @option opts [Float] :sales_amount_diff_less Return only records with a sales amount difference less than this value
|
|
305
|
+
# @option opts [Float] :sales_percent_diff_greater Return only records with a sales percent difference greater than this value
|
|
306
|
+
# @option opts [Float] :sales_percent_diff_less Return only records with a sales percent difference less than this value
|
|
307
|
+
# @option opts [Float] :sales_count_estimate_greater Return only records with a sales count estimate greater than this value
|
|
308
|
+
# @option opts [Float] :sales_count_estimate_less Return only records with a sales count estimate less than this value
|
|
309
|
+
# @option opts [Float] :sales_std_dev_estimate_greater Return only records with a sales standard deviation greater than this value
|
|
310
|
+
# @option opts [Float] :sales_std_dev_estimate_less Return only records with a sales standard deviation less than this value
|
|
311
|
+
# @option opts [Integer] :page_size The number of results to return (default to 100)
|
|
312
|
+
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
|
313
|
+
# @return [ApiResponseZacksSalesSurprises]
|
|
314
|
+
def get_zacks_sales_surprises(opts = {})
|
|
315
|
+
data, _status_code, _headers = get_zacks_sales_surprises_with_http_info(opts)
|
|
316
|
+
return data
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# Zacks Sales Surprises
|
|
320
|
+
# Returns Zacks sales surprise data for all Securities.
|
|
321
|
+
# @param [Hash] opts the optional parameters
|
|
322
|
+
# @option opts [String] :start_date Limit sales surprises to those on or after this date
|
|
323
|
+
# @option opts [String] :end_date Limit sales surprises to those on or before this date
|
|
324
|
+
# @option opts [Float] :sales_actual_greater Return only records with an actual sales higher than this value
|
|
325
|
+
# @option opts [Float] :sales_actual_less Return only records with an actual sales lower than this value
|
|
326
|
+
# @option opts [Float] :sales_mean_estimate_greater Return only records with a sales mean estimate greater than this value
|
|
327
|
+
# @option opts [Float] :sales_mean_estimate_less Return only records with a sales mean estimate lower than this value
|
|
328
|
+
# @option opts [Float] :sales_amount_diff_greater Return only records with a sales amount difference greater than this value
|
|
329
|
+
# @option opts [Float] :sales_amount_diff_less Return only records with a sales amount difference less than this value
|
|
330
|
+
# @option opts [Float] :sales_percent_diff_greater Return only records with a sales percent difference greater than this value
|
|
331
|
+
# @option opts [Float] :sales_percent_diff_less Return only records with a sales percent difference less than this value
|
|
332
|
+
# @option opts [Float] :sales_count_estimate_greater Return only records with a sales count estimate greater than this value
|
|
333
|
+
# @option opts [Float] :sales_count_estimate_less Return only records with a sales count estimate less than this value
|
|
334
|
+
# @option opts [Float] :sales_std_dev_estimate_greater Return only records with a sales standard deviation greater than this value
|
|
335
|
+
# @option opts [Float] :sales_std_dev_estimate_less Return only records with a sales standard deviation less than this value
|
|
336
|
+
# @option opts [Integer] :page_size The number of results to return
|
|
337
|
+
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
|
338
|
+
# @return [Array<(ApiResponseZacksSalesSurprises, Fixnum, Hash)>] ApiResponseZacksSalesSurprises data, response status code and response headers
|
|
339
|
+
def get_zacks_sales_surprises_with_http_info(opts = {})
|
|
340
|
+
if @api_client.config.debugging
|
|
341
|
+
@api_client.config.logger.debug "Calling API: ZacksApi.get_zacks_sales_surprises ..."
|
|
342
|
+
end
|
|
343
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 10000
|
|
344
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling ZacksApi.get_zacks_sales_surprises, must be smaller than or equal to 10000.'
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# resource path
|
|
348
|
+
local_var_path = "/zacks/sales_surprises"
|
|
349
|
+
|
|
350
|
+
# query parameters
|
|
351
|
+
query_params = {}
|
|
352
|
+
query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
|
353
|
+
query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
|
354
|
+
query_params[:'sales_actual_greater'] = opts[:'sales_actual_greater'] if !opts[:'sales_actual_greater'].nil?
|
|
355
|
+
query_params[:'sales_actual_less'] = opts[:'sales_actual_less'] if !opts[:'sales_actual_less'].nil?
|
|
356
|
+
query_params[:'sales_mean_estimate_greater'] = opts[:'sales_mean_estimate_greater'] if !opts[:'sales_mean_estimate_greater'].nil?
|
|
357
|
+
query_params[:'sales_mean_estimate_less'] = opts[:'sales_mean_estimate_less'] if !opts[:'sales_mean_estimate_less'].nil?
|
|
358
|
+
query_params[:'sales_amount_diff_greater'] = opts[:'sales_amount_diff_greater'] if !opts[:'sales_amount_diff_greater'].nil?
|
|
359
|
+
query_params[:'sales_amount_diff_less'] = opts[:'sales_amount_diff_less'] if !opts[:'sales_amount_diff_less'].nil?
|
|
360
|
+
query_params[:'sales_percent_diff_greater'] = opts[:'sales_percent_diff_greater'] if !opts[:'sales_percent_diff_greater'].nil?
|
|
361
|
+
query_params[:'sales_percent_diff_less'] = opts[:'sales_percent_diff_less'] if !opts[:'sales_percent_diff_less'].nil?
|
|
362
|
+
query_params[:'sales_count_estimate_greater'] = opts[:'sales_count_estimate_greater'] if !opts[:'sales_count_estimate_greater'].nil?
|
|
363
|
+
query_params[:'sales_count_estimate_less'] = opts[:'sales_count_estimate_less'] if !opts[:'sales_count_estimate_less'].nil?
|
|
364
|
+
query_params[:'sales_std_dev_estimate_greater'] = opts[:'sales_std_dev_estimate_greater'] if !opts[:'sales_std_dev_estimate_greater'].nil?
|
|
365
|
+
query_params[:'sales_std_dev_estimate_less'] = opts[:'sales_std_dev_estimate_less'] if !opts[:'sales_std_dev_estimate_less'].nil?
|
|
366
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
367
|
+
query_params[:'next_page'] = opts[:'next_page'] if !opts[:'next_page'].nil?
|
|
368
|
+
|
|
369
|
+
# header parameters
|
|
370
|
+
header_params = {}
|
|
371
|
+
# HTTP header 'Accept' (if needed)
|
|
372
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
373
|
+
|
|
374
|
+
# form parameters
|
|
375
|
+
form_params = {}
|
|
376
|
+
|
|
377
|
+
# http body (model)
|
|
378
|
+
post_body = nil
|
|
379
|
+
auth_names = ['ApiKeyAuth']
|
|
380
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
381
|
+
:header_params => header_params,
|
|
382
|
+
:query_params => query_params,
|
|
383
|
+
:form_params => form_params,
|
|
384
|
+
:body => post_body,
|
|
385
|
+
:auth_names => auth_names,
|
|
386
|
+
:return_type => 'ApiResponseZacksSalesSurprises')
|
|
387
|
+
if @api_client.config.debugging
|
|
388
|
+
@api_client.config.logger.debug "API called: ZacksApi#get_zacks_sales_surprises\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
389
|
+
end
|
|
390
|
+
return data, status_code, headers
|
|
391
|
+
end
|
|
392
|
+
end
|
|
393
|
+
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 2.
|
|
6
|
+
OpenAPI spec version: 2.6.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 2.
|
|
6
|
+
OpenAPI spec version: 2.6.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 2.
|
|
6
|
+
OpenAPI spec version: 2.6.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 2.
|
|
6
|
+
OpenAPI spec version: 2.6.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 2.
|
|
6
|
+
OpenAPI spec version: 2.6.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 2.
|
|
6
|
+
OpenAPI spec version: 2.6.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|