intrinio-sdk 5.4.0 → 5.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +2 -0
- data/README.md +51 -12
- data/docs/ApiResponseETFHoldings.md +25 -0
- data/docs/ApiResponseETFs.md +21 -0
- data/docs/ApiResponseOptionPricesRealtime.md +24 -0
- data/docs/ApiResponseOptionsChainRealtime.md +23 -0
- data/docs/ApiResponseZacksETFHoldings.md +24 -0
- data/docs/ApiResponseZacksInstitutionalHoldingCompanies.md +24 -0
- data/docs/ApiResponseZacksInstitutionalHoldingOwners.md +24 -0
- data/docs/ApiResponseZacksInstitutionalHoldings.md +24 -0
- data/docs/BulkDownloadsApi.md +3 -7
- data/docs/CompanyApi.md +115 -172
- data/docs/DataPointApi.md +10 -22
- data/docs/DataTagApi.md +21 -33
- data/docs/ETF.md +138 -0
- data/docs/ETFAnalytics.md +31 -0
- data/docs/ETFHolding.md +37 -0
- data/docs/ETFStats.md +53 -0
- data/docs/ETFSummary.md +27 -0
- data/docs/ETFsApi.md +490 -0
- data/docs/FilingApi.md +72 -116
- data/docs/ForexApi.md +22 -35
- data/docs/FundamentalsApi.md +19 -42
- data/docs/HistoricalDataApi.md +14 -19
- data/docs/IndexApi.md +117 -204
- data/docs/MunicipalityApi.md +28 -39
- data/docs/OptionChainRealtime.md +27 -0
- data/docs/OptionPriceRealtime.md +31 -0
- data/docs/OptionRealtime.md +24 -0
- data/docs/OptionsApi.md +231 -62
- data/docs/RealtimeStockPrice.md +1 -0
- data/docs/SecurityApi.md +536 -721
- data/docs/StockExchangeApi.md +43 -67
- data/docs/TechnicalApi.md +359 -483
- data/docs/ZacksApi.md +448 -121
- data/docs/ZacksETFHolding.md +26 -0
- data/docs/ZacksInstitutionalHolding.md +41 -0
- data/docs/ZacksInstitutionalHoldingCompanyDetail.md +32 -0
- data/docs/ZacksInstitutionalHoldingCompanySummary.md +22 -0
- data/docs/ZacksInstitutionalHoldingHistoricalSummary.md +21 -0
- data/docs/ZacksInstitutionalHoldingOwnerDetail.md +40 -0
- data/docs/ZacksInstitutionalHoldingOwnerSummary.md +21 -0
- data/intrinio-sdk.gemspec +3 -2
- data/lib/intrinio-sdk.rb +25 -1
- data/lib/intrinio-sdk/api/bulk_downloads_api.rb +1 -1
- data/lib/intrinio-sdk/api/company_api.rb +4 -1
- data/lib/intrinio-sdk/api/data_point_api.rb +1 -1
- data/lib/intrinio-sdk/api/data_tag_api.rb +1 -1
- data/lib/intrinio-sdk/api/et_fs_api.rb +359 -0
- data/lib/intrinio-sdk/api/filing_api.rb +1 -1
- data/lib/intrinio-sdk/api/forex_api.rb +5 -5
- data/lib/intrinio-sdk/api/fundamentals_api.rb +1 -1
- data/lib/intrinio-sdk/api/historical_data_api.rb +1 -1
- data/lib/intrinio-sdk/api/index_api.rb +1 -1
- data/lib/intrinio-sdk/api/municipality_api.rb +3 -3
- data/lib/intrinio-sdk/api/options_api.rb +158 -1
- data/lib/intrinio-sdk/api/security_api.rb +13 -13
- data/lib/intrinio-sdk/api/stock_exchange_api.rb +1 -1
- data/lib/intrinio-sdk/api/technical_api.rb +1 -1
- data/lib/intrinio-sdk/api/zacks_api.rb +253 -1
- data/lib/intrinio-sdk/api_client.rb +56 -24
- data/lib/intrinio-sdk/api_error.rb +1 -1
- data/lib/intrinio-sdk/configuration.rb +4 -1
- data/lib/intrinio-sdk/models/accumulation_distribution_index_technical_value.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_bulk_download_links.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_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_et_fs.rb +198 -0
- data/lib/intrinio-sdk/models/api_response_etf_holdings.rb +207 -0
- data/lib/intrinio-sdk/models/api_response_filing_fundamentals.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_initial_public_offerings.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_option_prices_realtime.rb +197 -0
- data/lib/intrinio-sdk/models/api_response_options.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_chain.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_chain_realtime.rb +191 -0
- 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 +1 -1
- data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings_snapshot.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_zacks_eps_surprises.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_zacks_sales_surprises.rb +1 -1
- 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 +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_eps_estimates.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_eps_growth_rates.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_eps_surprises.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_etf_holdings.rb +201 -0
- data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_companies.rb +201 -0
- data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_owners.rb +201 -0
- data/lib/intrinio-sdk/models/api_response_zacks_institutional_holdings.rb +201 -0
- data/lib/intrinio-sdk/models/api_response_zacks_long_term_growth_rates.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_sales_surprises.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_target_price_consensuses.rb +1 -1
- 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/bulk_download_links.rb +1 -1
- data/lib/intrinio-sdk/models/bulk_download_summary.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 +1 -1
- data/lib/intrinio-sdk/models/company_filing.rb +1 -1
- data/lib/intrinio-sdk/models/company_initial_public_offering.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/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/etf.rb +1369 -0
- data/lib/intrinio-sdk/models/etf_analytics.rb +268 -0
- data/lib/intrinio-sdk/models/etf_holding.rb +359 -0
- data/lib/intrinio-sdk/models/etf_stats.rb +487 -0
- data/lib/intrinio-sdk/models/etf_summary.rb +259 -0
- 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 +1 -1
- 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_chain_realtime.rb +197 -0
- data/lib/intrinio-sdk/models/option_price.rb +1 -1
- data/lib/intrinio-sdk/models/option_price_realtime.rb +332 -0
- data/lib/intrinio-sdk/models/option_realtime.rb +262 -0
- data/lib/intrinio-sdk/models/realtime_stock_price.rb +12 -2
- 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 +1 -1
- data/lib/intrinio-sdk/models/zacks_analyst_rating_snapshot.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_analyst_rating_summary.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_eps_estimate.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_eps_growth_rate.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_eps_surprise.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_eps_surprise_summary.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_etf_holding.rb +249 -0
- data/lib/intrinio-sdk/models/zacks_institutional_holding.rb +308 -0
- data/lib/intrinio-sdk/models/zacks_institutional_holding_company_detail.rb +309 -0
- data/lib/intrinio-sdk/models/zacks_institutional_holding_company_summary.rb +209 -0
- data/lib/intrinio-sdk/models/zacks_institutional_holding_historical_summary.rb +199 -0
- data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_detail.rb +389 -0
- data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_summary.rb +199 -0
- data/lib/intrinio-sdk/models/zacks_long_term_growth_rate.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_sales_surprise.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_sales_surprise_summary.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_target_price_consensus.rb +1 -1
- data/lib/intrinio-sdk/version.rb +2 -2
- data/spec/api/bulk_downloads_api_spec.rb +1 -1
- data/spec/api/company_api_spec.rb +2 -1
- data/spec/api/data_point_api_spec.rb +1 -1
- data/spec/api/data_tag_api_spec.rb +1 -1
- data/spec/api/et_fs_api_spec.rb +111 -0
- data/spec/api/filing_api_spec.rb +1 -1
- 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 +1 -1
- data/spec/api/index_api_spec.rb +1 -1
- data/spec/api/municipality_api_spec.rb +2 -2
- data/spec/api/options_api_spec.rb +37 -1
- data/spec/api/security_api_spec.rb +7 -7
- data/spec/api/stock_exchange_api_spec.rb +1 -1
- data/spec/api/technical_api_spec.rb +1 -1
- data/spec/api/zacks_api_spec.rb +61 -1
- 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_bulk_download_links_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_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_et_fs_spec.rb +48 -0
- data/spec/models/api_response_etf_holdings_spec.rb +54 -0
- data/spec/models/api_response_filing_fundamentals_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_initial_public_offerings_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_realtime_spec.rb +48 -0
- data/spec/models/api_response_option_prices_spec.rb +1 -1
- data/spec/models/api_response_options_chain_realtime_spec.rb +42 -0
- data/spec/models/api_response_options_chain_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/api_response_security_zacks_analyst_ratings_spec.rb +1 -1
- data/spec/models/api_response_security_zacks_eps_surprises_spec.rb +1 -1
- data/spec/models/api_response_security_zacks_sales_surprises_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/api_response_zacks_eps_estimates_spec.rb +1 -1
- data/spec/models/api_response_zacks_eps_growth_rates_spec.rb +1 -1
- data/spec/models/api_response_zacks_eps_surprises_spec.rb +1 -1
- data/spec/models/api_response_zacks_etf_holdings_spec.rb +48 -0
- data/spec/models/api_response_zacks_institutional_holding_companies_spec.rb +48 -0
- data/spec/models/api_response_zacks_institutional_holding_owners_spec.rb +48 -0
- data/spec/models/api_response_zacks_institutional_holdings_spec.rb +48 -0
- data/spec/models/api_response_zacks_long_term_growth_rates_spec.rb +1 -1
- data/spec/models/api_response_zacks_sales_surprises_spec.rb +1 -1
- data/spec/models/api_response_zacks_target_price_consensuses_spec.rb +1 -1
- 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/bulk_download_links_spec.rb +1 -1
- data/spec/models/bulk_download_summary_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_initial_public_offering_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 +1 -1
- data/spec/models/company_summary_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/etf_analytics_spec.rb +90 -0
- data/spec/models/etf_holding_spec.rb +144 -0
- data/spec/models/etf_spec.rb +750 -0
- data/spec/models/etf_stats_spec.rb +222 -0
- data/spec/models/etf_summary_spec.rb +84 -0
- 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_realtime_spec.rb +48 -0
- data/spec/models/option_chain_spec.rb +1 -1
- data/spec/models/option_price_realtime_spec.rb +112 -0
- data/spec/models/option_price_spec.rb +1 -1
- data/spec/models/option_realtime_spec.rb +70 -0
- 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 +7 -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 +1 -1
- data/spec/models/zacks_analyst_rating_spec.rb +1 -1
- data/spec/models/zacks_analyst_rating_summary_spec.rb +1 -1
- data/spec/models/zacks_eps_estimate_spec.rb +1 -1
- data/spec/models/zacks_eps_growth_rate_spec.rb +1 -1
- data/spec/models/zacks_eps_surprise_spec.rb +1 -1
- data/spec/models/zacks_eps_surprise_summary_spec.rb +1 -1
- data/spec/models/zacks_etf_holding_spec.rb +78 -0
- data/spec/models/zacks_institutional_holding_company_detail_spec.rb +114 -0
- data/spec/models/zacks_institutional_holding_company_summary_spec.rb +54 -0
- data/spec/models/zacks_institutional_holding_historical_summary_spec.rb +48 -0
- data/spec/models/zacks_institutional_holding_owner_detail_spec.rb +162 -0
- data/spec/models/zacks_institutional_holding_owner_summary_spec.rb +48 -0
- data/spec/models/zacks_institutional_holding_spec.rb +114 -0
- data/spec/models/zacks_long_term_growth_rate_spec.rb +1 -1
- data/spec/models/zacks_sales_surprise_spec.rb +1 -1
- data/spec/models/zacks_sales_surprise_summary_spec.rb +1 -1
- data/spec/models/zacks_target_price_consensus_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +122 -7
data/docs/StockExchangeApi.md
CHANGED
@@ -58,23 +58,20 @@ require 'pp'
|
|
58
58
|
# Setup authorization
|
59
59
|
Intrinio.configure do |config|
|
60
60
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
61
|
+
config.allow_retries = true
|
61
62
|
end
|
62
63
|
|
63
64
|
stockExchange_api = Intrinio::StockExchangeApi.new
|
64
65
|
|
65
|
-
opts = {
|
66
|
-
city: "New York",
|
67
|
-
country: "UNITED STATES OF AMERICA",
|
68
|
-
country_code: "US",
|
69
|
-
page_size: 100
|
66
|
+
opts = {
|
67
|
+
city: "New York",
|
68
|
+
country: "UNITED STATES OF AMERICA",
|
69
|
+
country_code: "US",
|
70
|
+
page_size: 100
|
70
71
|
}
|
71
72
|
|
72
|
-
|
73
|
-
|
74
|
-
pp result
|
75
|
-
rescue Intrinio::ApiError => e
|
76
|
-
puts "Exception when calling StockExchangeApi->get_all_stock_exchanges: #{e}"
|
77
|
-
end
|
73
|
+
result = stockExchange_api.get_all_stock_exchanges(opts)
|
74
|
+
pp result
|
78
75
|
```
|
79
76
|
|
80
77
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -147,19 +144,14 @@ require 'pp'
|
|
147
144
|
# Setup authorization
|
148
145
|
Intrinio.configure do |config|
|
149
146
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
147
|
+
config.allow_retries = true
|
150
148
|
end
|
151
149
|
|
152
150
|
stockExchange_api = Intrinio::StockExchangeApi.new
|
151
|
+
identifier = "USCOMP"
|
153
152
|
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
begin
|
158
|
-
result = stockExchange_api.get_stock_exchange_by_id(identifier)
|
159
|
-
pp result
|
160
|
-
rescue Intrinio::ApiError => e
|
161
|
-
puts "Exception when calling StockExchangeApi->get_stock_exchange_by_id: #{e}"
|
162
|
-
end
|
153
|
+
result = stockExchange_api.get_stock_exchange_by_id(identifier)
|
154
|
+
pp result
|
163
155
|
```
|
164
156
|
|
165
157
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -229,24 +221,20 @@ require 'pp'
|
|
229
221
|
# Setup authorization
|
230
222
|
Intrinio.configure do |config|
|
231
223
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
224
|
+
config.allow_retries = true
|
232
225
|
end
|
233
226
|
|
234
227
|
stockExchange_api = Intrinio::StockExchangeApi.new
|
228
|
+
identifier = "USCOMP"
|
235
229
|
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
page_size: 100, # Integer | The number of results to return
|
241
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
230
|
+
opts = {
|
231
|
+
date: Date.parse("2018-08-14"),
|
232
|
+
page_size: 100,
|
233
|
+
next_page: nil
|
242
234
|
}
|
243
235
|
|
244
|
-
|
245
|
-
|
246
|
-
pp result
|
247
|
-
rescue Intrinio::ApiError => e
|
248
|
-
puts "Exception when calling StockExchangeApi->get_stock_exchange_price_adjustments: #{e}"
|
249
|
-
end
|
236
|
+
result = stockExchange_api.get_stock_exchange_price_adjustments(identifier, opts)
|
237
|
+
pp result
|
250
238
|
```
|
251
239
|
|
252
240
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -319,24 +307,20 @@ require 'pp'
|
|
319
307
|
# Setup authorization
|
320
308
|
Intrinio.configure do |config|
|
321
309
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
310
|
+
config.allow_retries = true
|
322
311
|
end
|
323
312
|
|
324
313
|
stockExchange_api = Intrinio::StockExchangeApi.new
|
314
|
+
identifier = "USCOMP"
|
325
315
|
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
page_size: 100, # Integer | The number of results to return
|
331
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
316
|
+
opts = {
|
317
|
+
date: Date.parse("2018-08-14"),
|
318
|
+
page_size: 100,
|
319
|
+
next_page: nil
|
332
320
|
}
|
333
321
|
|
334
|
-
|
335
|
-
|
336
|
-
pp result
|
337
|
-
rescue Intrinio::ApiError => e
|
338
|
-
puts "Exception when calling StockExchangeApi->get_stock_exchange_prices: #{e}"
|
339
|
-
end
|
322
|
+
result = stockExchange_api.get_stock_exchange_prices(identifier, opts)
|
323
|
+
pp result
|
340
324
|
```
|
341
325
|
|
342
326
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -409,24 +393,20 @@ require 'pp'
|
|
409
393
|
# Setup authorization
|
410
394
|
Intrinio.configure do |config|
|
411
395
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
396
|
+
config.allow_retries = true
|
412
397
|
end
|
413
398
|
|
414
399
|
stockExchange_api = Intrinio::StockExchangeApi.new
|
400
|
+
identifier = "USCOMP"
|
415
401
|
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
page_size: 100, # Integer | The number of results to return
|
421
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
402
|
+
opts = {
|
403
|
+
source: nil,
|
404
|
+
page_size: 100,
|
405
|
+
next_page: nil
|
422
406
|
}
|
423
407
|
|
424
|
-
|
425
|
-
|
426
|
-
pp result
|
427
|
-
rescue Intrinio::ApiError => e
|
428
|
-
puts "Exception when calling StockExchangeApi->get_stock_exchange_realtime_prices: #{e}"
|
429
|
-
end
|
408
|
+
result = stockExchange_api.get_stock_exchange_realtime_prices(identifier, opts)
|
409
|
+
pp result
|
430
410
|
```
|
431
411
|
|
432
412
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -499,23 +479,19 @@ require 'pp'
|
|
499
479
|
# Setup authorization
|
500
480
|
Intrinio.configure do |config|
|
501
481
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
482
|
+
config.allow_retries = true
|
502
483
|
end
|
503
484
|
|
504
485
|
stockExchange_api = Intrinio::StockExchangeApi.new
|
486
|
+
identifier = "USCOMP"
|
505
487
|
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
page_size: 100, # Integer | The number of results to return
|
510
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
488
|
+
opts = {
|
489
|
+
page_size: 100,
|
490
|
+
next_page: nil
|
511
491
|
}
|
512
492
|
|
513
|
-
|
514
|
-
|
515
|
-
pp result
|
516
|
-
rescue Intrinio::ApiError => e
|
517
|
-
puts "Exception when calling StockExchangeApi->get_stock_exchange_securities: #{e}"
|
518
|
-
end
|
493
|
+
result = stockExchange_api.get_stock_exchange_securities(identifier, opts)
|
494
|
+
pp result
|
519
495
|
```
|
520
496
|
|
521
497
|
[//]: # (END_CODE_EXAMPLE)
|
data/docs/TechnicalApi.md
CHANGED
@@ -83,25 +83,21 @@ require 'pp'
|
|
83
83
|
# Setup authorization
|
84
84
|
Intrinio.configure do |config|
|
85
85
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
86
|
+
config.allow_retries = true
|
86
87
|
end
|
87
88
|
|
88
89
|
technical_api = Intrinio::TechnicalApi.new
|
90
|
+
identifier = "AAPL"
|
89
91
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
page_size: 100, # Integer | The number of results to return
|
96
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
92
|
+
opts = {
|
93
|
+
start_date: "2018-01-01",
|
94
|
+
end_date: "2019-01-01",
|
95
|
+
page_size: 100,
|
96
|
+
next_page: nil
|
97
97
|
}
|
98
98
|
|
99
|
-
|
100
|
-
|
101
|
-
pp result
|
102
|
-
rescue Intrinio::ApiError => e
|
103
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_adi: #{e}"
|
104
|
-
end
|
99
|
+
result = technical_api.get_security_price_technicals_adi(identifier, opts)
|
100
|
+
pp result
|
105
101
|
```
|
106
102
|
|
107
103
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -175,26 +171,22 @@ require 'pp'
|
|
175
171
|
# Setup authorization
|
176
172
|
Intrinio.configure do |config|
|
177
173
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
174
|
+
config.allow_retries = true
|
178
175
|
end
|
179
176
|
|
180
177
|
technical_api = Intrinio::TechnicalApi.new
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
178
|
+
identifier = "AAPL"
|
179
|
+
|
180
|
+
opts = {
|
181
|
+
period: 22,
|
182
|
+
start_date: "2018-01-01",
|
183
|
+
end_date: "2019-01-01",
|
184
|
+
page_size: 100,
|
185
|
+
next_page: nil
|
190
186
|
}
|
191
187
|
|
192
|
-
|
193
|
-
|
194
|
-
pp result
|
195
|
-
rescue Intrinio::ApiError => e
|
196
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_adtv: #{e}"
|
197
|
-
end
|
188
|
+
result = technical_api.get_security_price_technicals_adtv(identifier, opts)
|
189
|
+
pp result
|
198
190
|
```
|
199
191
|
|
200
192
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -269,26 +261,22 @@ require 'pp'
|
|
269
261
|
# Setup authorization
|
270
262
|
Intrinio.configure do |config|
|
271
263
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
264
|
+
config.allow_retries = true
|
272
265
|
end
|
273
266
|
|
274
267
|
technical_api = Intrinio::TechnicalApi.new
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
268
|
+
identifier = "AAPL"
|
269
|
+
|
270
|
+
opts = {
|
271
|
+
period: 14,
|
272
|
+
start_date: "2018-01-01",
|
273
|
+
end_date: "2019-01-01",
|
274
|
+
page_size: 100,
|
275
|
+
next_page: nil
|
284
276
|
}
|
285
277
|
|
286
|
-
|
287
|
-
|
288
|
-
pp result
|
289
|
-
rescue Intrinio::ApiError => e
|
290
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_adx: #{e}"
|
291
|
-
end
|
278
|
+
result = technical_api.get_security_price_technicals_adx(identifier, opts)
|
279
|
+
pp result
|
292
280
|
```
|
293
281
|
|
294
282
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -363,27 +351,23 @@ require 'pp'
|
|
363
351
|
# Setup authorization
|
364
352
|
Intrinio.configure do |config|
|
365
353
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
354
|
+
config.allow_retries = true
|
366
355
|
end
|
367
356
|
|
368
357
|
technical_api = Intrinio::TechnicalApi.new
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
358
|
+
identifier = "AAPL"
|
359
|
+
|
360
|
+
opts = {
|
361
|
+
short_period: 5,
|
362
|
+
long_period: 34,
|
363
|
+
start_date: "2018-01-01",
|
364
|
+
end_date: "2019-01-01",
|
365
|
+
page_size: 100,
|
366
|
+
next_page: nil
|
379
367
|
}
|
380
368
|
|
381
|
-
|
382
|
-
|
383
|
-
pp result
|
384
|
-
rescue Intrinio::ApiError => e
|
385
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_ao: #{e}"
|
386
|
-
end
|
369
|
+
result = technical_api.get_security_price_technicals_ao(identifier, opts)
|
370
|
+
pp result
|
387
371
|
```
|
388
372
|
|
389
373
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -459,26 +443,22 @@ require 'pp'
|
|
459
443
|
# Setup authorization
|
460
444
|
Intrinio.configure do |config|
|
461
445
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
446
|
+
config.allow_retries = true
|
462
447
|
end
|
463
448
|
|
464
449
|
technical_api = Intrinio::TechnicalApi.new
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
450
|
+
identifier = "AAPL"
|
451
|
+
|
452
|
+
opts = {
|
453
|
+
period: 14,
|
454
|
+
start_date: "2018-01-01",
|
455
|
+
end_date: "2019-01-01",
|
456
|
+
page_size: 100,
|
457
|
+
next_page: nil
|
474
458
|
}
|
475
459
|
|
476
|
-
|
477
|
-
|
478
|
-
pp result
|
479
|
-
rescue Intrinio::ApiError => e
|
480
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_atr: #{e}"
|
481
|
-
end
|
460
|
+
result = technical_api.get_security_price_technicals_atr(identifier, opts)
|
461
|
+
pp result
|
482
462
|
```
|
483
463
|
|
484
464
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -553,28 +533,24 @@ require 'pp'
|
|
553
533
|
# Setup authorization
|
554
534
|
Intrinio.configure do |config|
|
555
535
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
536
|
+
config.allow_retries = true
|
556
537
|
end
|
557
538
|
|
558
539
|
technical_api = Intrinio::TechnicalApi.new
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
540
|
+
identifier = "AAPL"
|
541
|
+
|
542
|
+
opts = {
|
543
|
+
period: 20,
|
544
|
+
standard_deviations: 2.0,
|
545
|
+
price_key: "close",
|
546
|
+
start_date: "2018-01-01",
|
547
|
+
end_date: "2019-01-01",
|
548
|
+
page_size: 100,
|
549
|
+
next_page: nil
|
570
550
|
}
|
571
551
|
|
572
|
-
|
573
|
-
|
574
|
-
pp result
|
575
|
-
rescue Intrinio::ApiError => e
|
576
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_bb: #{e}"
|
577
|
-
end
|
552
|
+
result = technical_api.get_security_price_technicals_bb(identifier, opts)
|
553
|
+
pp result
|
578
554
|
```
|
579
555
|
|
580
556
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -651,27 +627,23 @@ require 'pp'
|
|
651
627
|
# Setup authorization
|
652
628
|
Intrinio.configure do |config|
|
653
629
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
630
|
+
config.allow_retries = true
|
654
631
|
end
|
655
632
|
|
656
633
|
technical_api = Intrinio::TechnicalApi.new
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
634
|
+
identifier = "AAPL"
|
635
|
+
|
636
|
+
opts = {
|
637
|
+
period: 20,
|
638
|
+
constant: 0.015,
|
639
|
+
start_date: "2018-01-01",
|
640
|
+
end_date: "2019-01-01",
|
641
|
+
page_size: 100,
|
642
|
+
next_page: nil
|
667
643
|
}
|
668
644
|
|
669
|
-
|
670
|
-
|
671
|
-
pp result
|
672
|
-
rescue Intrinio::ApiError => e
|
673
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_cci: #{e}"
|
674
|
-
end
|
645
|
+
result = technical_api.get_security_price_technicals_cci(identifier, opts)
|
646
|
+
pp result
|
675
647
|
```
|
676
648
|
|
677
649
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -747,26 +719,22 @@ require 'pp'
|
|
747
719
|
# Setup authorization
|
748
720
|
Intrinio.configure do |config|
|
749
721
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
722
|
+
config.allow_retries = true
|
750
723
|
end
|
751
724
|
|
752
725
|
technical_api = Intrinio::TechnicalApi.new
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
726
|
+
identifier = "AAPL"
|
727
|
+
|
728
|
+
opts = {
|
729
|
+
period: 20,
|
730
|
+
start_date: "2018-01-01",
|
731
|
+
end_date: "2019-01-01",
|
732
|
+
page_size: 100,
|
733
|
+
next_page: nil
|
762
734
|
}
|
763
735
|
|
764
|
-
|
765
|
-
|
766
|
-
pp result
|
767
|
-
rescue Intrinio::ApiError => e
|
768
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_cmf: #{e}"
|
769
|
-
end
|
736
|
+
result = technical_api.get_security_price_technicals_cmf(identifier, opts)
|
737
|
+
pp result
|
770
738
|
```
|
771
739
|
|
772
740
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -841,27 +809,23 @@ require 'pp'
|
|
841
809
|
# Setup authorization
|
842
810
|
Intrinio.configure do |config|
|
843
811
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
812
|
+
config.allow_retries = true
|
844
813
|
end
|
845
814
|
|
846
815
|
technical_api = Intrinio::TechnicalApi.new
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
816
|
+
identifier = "AAPL"
|
817
|
+
|
818
|
+
opts = {
|
819
|
+
period: 20,
|
820
|
+
price_key: "close",
|
821
|
+
start_date: "2018-01-01",
|
822
|
+
end_date: "2019-01-01",
|
823
|
+
page_size: 100,
|
824
|
+
next_page: nil
|
857
825
|
}
|
858
826
|
|
859
|
-
|
860
|
-
|
861
|
-
pp result
|
862
|
-
rescue Intrinio::ApiError => e
|
863
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_dc: #{e}"
|
864
|
-
end
|
827
|
+
result = technical_api.get_security_price_technicals_dc(identifier, opts)
|
828
|
+
pp result
|
865
829
|
```
|
866
830
|
|
867
831
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -937,27 +901,23 @@ require 'pp'
|
|
937
901
|
# Setup authorization
|
938
902
|
Intrinio.configure do |config|
|
939
903
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
904
|
+
config.allow_retries = true
|
940
905
|
end
|
941
906
|
|
942
907
|
technical_api = Intrinio::TechnicalApi.new
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
908
|
+
identifier = "AAPL"
|
909
|
+
|
910
|
+
opts = {
|
911
|
+
period: 20,
|
912
|
+
price_key: "close",
|
913
|
+
start_date: "2018-01-01",
|
914
|
+
end_date: "2019-01-01",
|
915
|
+
page_size: 100,
|
916
|
+
next_page: nil
|
953
917
|
}
|
954
918
|
|
955
|
-
|
956
|
-
|
957
|
-
pp result
|
958
|
-
rescue Intrinio::ApiError => e
|
959
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_dpo: #{e}"
|
960
|
-
end
|
919
|
+
result = technical_api.get_security_price_technicals_dpo(identifier, opts)
|
920
|
+
pp result
|
961
921
|
```
|
962
922
|
|
963
923
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1033,26 +993,22 @@ require 'pp'
|
|
1033
993
|
# Setup authorization
|
1034
994
|
Intrinio.configure do |config|
|
1035
995
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
996
|
+
config.allow_retries = true
|
1036
997
|
end
|
1037
998
|
|
1038
999
|
technical_api = Intrinio::TechnicalApi.new
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1000
|
+
identifier = "AAPL"
|
1001
|
+
|
1002
|
+
opts = {
|
1003
|
+
period: 20,
|
1004
|
+
start_date: "2018-01-01",
|
1005
|
+
end_date: "2019-01-01",
|
1006
|
+
page_size: 100,
|
1007
|
+
next_page: nil
|
1048
1008
|
}
|
1049
1009
|
|
1050
|
-
|
1051
|
-
|
1052
|
-
pp result
|
1053
|
-
rescue Intrinio::ApiError => e
|
1054
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_eom: #{e}"
|
1055
|
-
end
|
1010
|
+
result = technical_api.get_security_price_technicals_eom(identifier, opts)
|
1011
|
+
pp result
|
1056
1012
|
```
|
1057
1013
|
|
1058
1014
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1127,25 +1083,21 @@ require 'pp'
|
|
1127
1083
|
# Setup authorization
|
1128
1084
|
Intrinio.configure do |config|
|
1129
1085
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1086
|
+
config.allow_retries = true
|
1130
1087
|
end
|
1131
1088
|
|
1132
1089
|
technical_api = Intrinio::TechnicalApi.new
|
1090
|
+
identifier = "AAPL"
|
1133
1091
|
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
page_size: 100, # Integer | The number of results to return
|
1140
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1092
|
+
opts = {
|
1093
|
+
start_date: "2018-01-01",
|
1094
|
+
end_date: "2019-01-01",
|
1095
|
+
page_size: 100,
|
1096
|
+
next_page: nil
|
1141
1097
|
}
|
1142
1098
|
|
1143
|
-
|
1144
|
-
|
1145
|
-
pp result
|
1146
|
-
rescue Intrinio::ApiError => e
|
1147
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_fi: #{e}"
|
1148
|
-
end
|
1099
|
+
result = technical_api.get_security_price_technicals_fi(identifier, opts)
|
1100
|
+
pp result
|
1149
1101
|
```
|
1150
1102
|
|
1151
1103
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1219,28 +1171,24 @@ require 'pp'
|
|
1219
1171
|
# Setup authorization
|
1220
1172
|
Intrinio.configure do |config|
|
1221
1173
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1174
|
+
config.allow_retries = true
|
1222
1175
|
end
|
1223
1176
|
|
1224
1177
|
technical_api = Intrinio::TechnicalApi.new
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1178
|
+
identifier = "AAPL"
|
1179
|
+
|
1180
|
+
opts = {
|
1181
|
+
low_period: 9,
|
1182
|
+
medium_period: 26,
|
1183
|
+
high_period: 52,
|
1184
|
+
start_date: "2018-01-01",
|
1185
|
+
end_date: "2019-01-01",
|
1186
|
+
page_size: 100,
|
1187
|
+
next_page: nil
|
1236
1188
|
}
|
1237
1189
|
|
1238
|
-
|
1239
|
-
|
1240
|
-
pp result
|
1241
|
-
rescue Intrinio::ApiError => e
|
1242
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_ichimoku: #{e}"
|
1243
|
-
end
|
1190
|
+
result = technical_api.get_security_price_technicals_ichimoku(identifier, opts)
|
1191
|
+
pp result
|
1244
1192
|
```
|
1245
1193
|
|
1246
1194
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1317,26 +1265,22 @@ require 'pp'
|
|
1317
1265
|
# Setup authorization
|
1318
1266
|
Intrinio.configure do |config|
|
1319
1267
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1268
|
+
config.allow_retries = true
|
1320
1269
|
end
|
1321
1270
|
|
1322
1271
|
technical_api = Intrinio::TechnicalApi.new
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1272
|
+
identifier = "AAPL"
|
1273
|
+
|
1274
|
+
opts = {
|
1275
|
+
period: 10,
|
1276
|
+
start_date: "2018-01-01",
|
1277
|
+
end_date: "2019-01-01",
|
1278
|
+
page_size: 100,
|
1279
|
+
next_page: nil
|
1332
1280
|
}
|
1333
1281
|
|
1334
|
-
|
1335
|
-
|
1336
|
-
pp result
|
1337
|
-
rescue Intrinio::ApiError => e
|
1338
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_kc: #{e}"
|
1339
|
-
end
|
1282
|
+
result = technical_api.get_security_price_technicals_kc(identifier, opts)
|
1283
|
+
pp result
|
1340
1284
|
```
|
1341
1285
|
|
1342
1286
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1411,34 +1355,30 @@ require 'pp'
|
|
1411
1355
|
# Setup authorization
|
1412
1356
|
Intrinio.configure do |config|
|
1413
1357
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1358
|
+
config.allow_retries = true
|
1414
1359
|
end
|
1415
1360
|
|
1416
1361
|
technical_api = Intrinio::TechnicalApi.new
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1362
|
+
identifier = "AAPL"
|
1363
|
+
|
1364
|
+
opts = {
|
1365
|
+
roc1: 10,
|
1366
|
+
roc2: 15,
|
1367
|
+
roc3: 20,
|
1368
|
+
roc4: 30,
|
1369
|
+
sma1: 10,
|
1370
|
+
sma2: 10,
|
1371
|
+
sma3: 10,
|
1372
|
+
sma4: 15,
|
1373
|
+
price_key: "close",
|
1374
|
+
start_date: "2018-01-01",
|
1375
|
+
end_date: "2019-01-01",
|
1376
|
+
page_size: 100,
|
1377
|
+
next_page: nil
|
1434
1378
|
}
|
1435
1379
|
|
1436
|
-
|
1437
|
-
|
1438
|
-
pp result
|
1439
|
-
rescue Intrinio::ApiError => e
|
1440
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_kst: #{e}"
|
1441
|
-
end
|
1380
|
+
result = technical_api.get_security_price_technicals_kst(identifier, opts)
|
1381
|
+
pp result
|
1442
1382
|
```
|
1443
1383
|
|
1444
1384
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1521,29 +1461,25 @@ require 'pp'
|
|
1521
1461
|
# Setup authorization
|
1522
1462
|
Intrinio.configure do |config|
|
1523
1463
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1464
|
+
config.allow_retries = true
|
1524
1465
|
end
|
1525
1466
|
|
1526
1467
|
technical_api = Intrinio::TechnicalApi.new
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1468
|
+
identifier = "AAPL"
|
1469
|
+
|
1470
|
+
opts = {
|
1471
|
+
fast_period: 12,
|
1472
|
+
slow_period: 26,
|
1473
|
+
signal_period: 9,
|
1474
|
+
price_key: "close",
|
1475
|
+
start_date: "2018-01-01",
|
1476
|
+
end_date: "2019-01-01",
|
1477
|
+
page_size: 100,
|
1478
|
+
next_page: nil
|
1539
1479
|
}
|
1540
1480
|
|
1541
|
-
|
1542
|
-
|
1543
|
-
pp result
|
1544
|
-
rescue Intrinio::ApiError => e
|
1545
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_macd: #{e}"
|
1546
|
-
end
|
1481
|
+
result = technical_api.get_security_price_technicals_macd(identifier, opts)
|
1482
|
+
pp result
|
1547
1483
|
```
|
1548
1484
|
|
1549
1485
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1621,26 +1557,22 @@ require 'pp'
|
|
1621
1557
|
# Setup authorization
|
1622
1558
|
Intrinio.configure do |config|
|
1623
1559
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1560
|
+
config.allow_retries = true
|
1624
1561
|
end
|
1625
1562
|
|
1626
1563
|
technical_api = Intrinio::TechnicalApi.new
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1564
|
+
identifier = "AAPL"
|
1565
|
+
|
1566
|
+
opts = {
|
1567
|
+
period: 14,
|
1568
|
+
start_date: "2018-01-01",
|
1569
|
+
end_date: "2019-01-01",
|
1570
|
+
page_size: 100,
|
1571
|
+
next_page: nil
|
1636
1572
|
}
|
1637
1573
|
|
1638
|
-
|
1639
|
-
|
1640
|
-
pp result
|
1641
|
-
rescue Intrinio::ApiError => e
|
1642
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_mfi: #{e}"
|
1643
|
-
end
|
1574
|
+
result = technical_api.get_security_price_technicals_mfi(identifier, opts)
|
1575
|
+
pp result
|
1644
1576
|
```
|
1645
1577
|
|
1646
1578
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1715,27 +1647,23 @@ require 'pp'
|
|
1715
1647
|
# Setup authorization
|
1716
1648
|
Intrinio.configure do |config|
|
1717
1649
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1650
|
+
config.allow_retries = true
|
1718
1651
|
end
|
1719
1652
|
|
1720
1653
|
technical_api = Intrinio::TechnicalApi.new
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1654
|
+
identifier = "AAPL"
|
1655
|
+
|
1656
|
+
opts = {
|
1657
|
+
ema_period: 9,
|
1658
|
+
sum_period: 25,
|
1659
|
+
start_date: "2018-01-01",
|
1660
|
+
end_date: "2019-01-01",
|
1661
|
+
page_size: 100,
|
1662
|
+
next_page: nil
|
1731
1663
|
}
|
1732
1664
|
|
1733
|
-
|
1734
|
-
|
1735
|
-
pp result
|
1736
|
-
rescue Intrinio::ApiError => e
|
1737
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_mi: #{e}"
|
1738
|
-
end
|
1665
|
+
result = technical_api.get_security_price_technicals_mi(identifier, opts)
|
1666
|
+
pp result
|
1739
1667
|
```
|
1740
1668
|
|
1741
1669
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1811,25 +1739,21 @@ require 'pp'
|
|
1811
1739
|
# Setup authorization
|
1812
1740
|
Intrinio.configure do |config|
|
1813
1741
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1742
|
+
config.allow_retries = true
|
1814
1743
|
end
|
1815
1744
|
|
1816
1745
|
technical_api = Intrinio::TechnicalApi.new
|
1746
|
+
identifier = "AAPL"
|
1817
1747
|
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
page_size: 100, # Integer | The number of results to return
|
1824
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1748
|
+
opts = {
|
1749
|
+
start_date: "2018-01-01",
|
1750
|
+
end_date: "2019-01-01",
|
1751
|
+
page_size: 100,
|
1752
|
+
next_page: nil
|
1825
1753
|
}
|
1826
1754
|
|
1827
|
-
|
1828
|
-
|
1829
|
-
pp result
|
1830
|
-
rescue Intrinio::ApiError => e
|
1831
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_nvi: #{e}"
|
1832
|
-
end
|
1755
|
+
result = technical_api.get_security_price_technicals_nvi(identifier, opts)
|
1756
|
+
pp result
|
1833
1757
|
```
|
1834
1758
|
|
1835
1759
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1903,25 +1827,21 @@ require 'pp'
|
|
1903
1827
|
# Setup authorization
|
1904
1828
|
Intrinio.configure do |config|
|
1905
1829
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1830
|
+
config.allow_retries = true
|
1906
1831
|
end
|
1907
1832
|
|
1908
1833
|
technical_api = Intrinio::TechnicalApi.new
|
1834
|
+
identifier = "AAPL"
|
1909
1835
|
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
page_size: 100, # Integer | The number of results to return
|
1916
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1836
|
+
opts = {
|
1837
|
+
start_date: "2018-01-01",
|
1838
|
+
end_date: "2019-01-01",
|
1839
|
+
page_size: 100,
|
1840
|
+
next_page: nil
|
1917
1841
|
}
|
1918
1842
|
|
1919
|
-
|
1920
|
-
|
1921
|
-
pp result
|
1922
|
-
rescue Intrinio::ApiError => e
|
1923
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_obv: #{e}"
|
1924
|
-
end
|
1843
|
+
result = technical_api.get_security_price_technicals_obv(identifier, opts)
|
1844
|
+
pp result
|
1925
1845
|
```
|
1926
1846
|
|
1927
1847
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -1995,26 +1915,22 @@ require 'pp'
|
|
1995
1915
|
# Setup authorization
|
1996
1916
|
Intrinio.configure do |config|
|
1997
1917
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
1918
|
+
config.allow_retries = true
|
1998
1919
|
end
|
1999
1920
|
|
2000
1921
|
technical_api = Intrinio::TechnicalApi.new
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
1922
|
+
identifier = "AAPL"
|
1923
|
+
|
1924
|
+
opts = {
|
1925
|
+
period: 10,
|
1926
|
+
start_date: "2018-01-01",
|
1927
|
+
end_date: "2019-01-01",
|
1928
|
+
page_size: 100,
|
1929
|
+
next_page: nil
|
2010
1930
|
}
|
2011
1931
|
|
2012
|
-
|
2013
|
-
|
2014
|
-
pp result
|
2015
|
-
rescue Intrinio::ApiError => e
|
2016
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_obv_mean: #{e}"
|
2017
|
-
end
|
1932
|
+
result = technical_api.get_security_price_technicals_obv_mean(identifier, opts)
|
1933
|
+
pp result
|
2018
1934
|
```
|
2019
1935
|
|
2020
1936
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2089,27 +2005,23 @@ require 'pp'
|
|
2089
2005
|
# Setup authorization
|
2090
2006
|
Intrinio.configure do |config|
|
2091
2007
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2008
|
+
config.allow_retries = true
|
2092
2009
|
end
|
2093
2010
|
|
2094
2011
|
technical_api = Intrinio::TechnicalApi.new
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2098
|
-
|
2099
|
-
|
2100
|
-
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2104
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2012
|
+
identifier = "AAPL"
|
2013
|
+
|
2014
|
+
opts = {
|
2015
|
+
period: 14,
|
2016
|
+
price_key: "close",
|
2017
|
+
start_date: "2018-01-01",
|
2018
|
+
end_date: "2019-01-01",
|
2019
|
+
page_size: 100,
|
2020
|
+
next_page: nil
|
2105
2021
|
}
|
2106
2022
|
|
2107
|
-
|
2108
|
-
|
2109
|
-
pp result
|
2110
|
-
rescue Intrinio::ApiError => e
|
2111
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_rsi: #{e}"
|
2112
|
-
end
|
2023
|
+
result = technical_api.get_security_price_technicals_rsi(identifier, opts)
|
2024
|
+
pp result
|
2113
2025
|
```
|
2114
2026
|
|
2115
2027
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2185,27 +2097,23 @@ require 'pp'
|
|
2185
2097
|
# Setup authorization
|
2186
2098
|
Intrinio.configure do |config|
|
2187
2099
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2100
|
+
config.allow_retries = true
|
2188
2101
|
end
|
2189
2102
|
|
2190
2103
|
technical_api = Intrinio::TechnicalApi.new
|
2191
|
-
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2197
|
-
|
2198
|
-
|
2199
|
-
|
2200
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2104
|
+
identifier = "AAPL"
|
2105
|
+
|
2106
|
+
opts = {
|
2107
|
+
period: 20,
|
2108
|
+
price_key: "close",
|
2109
|
+
start_date: "2018-01-01",
|
2110
|
+
end_date: "2019-01-01",
|
2111
|
+
page_size: 100,
|
2112
|
+
next_page: nil
|
2201
2113
|
}
|
2202
2114
|
|
2203
|
-
|
2204
|
-
|
2205
|
-
pp result
|
2206
|
-
rescue Intrinio::ApiError => e
|
2207
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_sma: #{e}"
|
2208
|
-
end
|
2115
|
+
result = technical_api.get_security_price_technicals_sma(identifier, opts)
|
2116
|
+
pp result
|
2209
2117
|
```
|
2210
2118
|
|
2211
2119
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2281,27 +2189,23 @@ require 'pp'
|
|
2281
2189
|
# Setup authorization
|
2282
2190
|
Intrinio.configure do |config|
|
2283
2191
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2192
|
+
config.allow_retries = true
|
2284
2193
|
end
|
2285
2194
|
|
2286
2195
|
technical_api = Intrinio::TechnicalApi.new
|
2287
|
-
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2196
|
+
identifier = "AAPL"
|
2197
|
+
|
2198
|
+
opts = {
|
2199
|
+
period: 14,
|
2200
|
+
signal_period: 3,
|
2201
|
+
start_date: "2018-01-01",
|
2202
|
+
end_date: "2019-01-01",
|
2203
|
+
page_size: 100,
|
2204
|
+
next_page: nil
|
2297
2205
|
}
|
2298
2206
|
|
2299
|
-
|
2300
|
-
|
2301
|
-
pp result
|
2302
|
-
rescue Intrinio::ApiError => e
|
2303
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_sr: #{e}"
|
2304
|
-
end
|
2207
|
+
result = technical_api.get_security_price_technicals_sr(identifier, opts)
|
2208
|
+
pp result
|
2305
2209
|
```
|
2306
2210
|
|
2307
2211
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2377,26 +2281,22 @@ require 'pp'
|
|
2377
2281
|
# Setup authorization
|
2378
2282
|
Intrinio.configure do |config|
|
2379
2283
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2284
|
+
config.allow_retries = true
|
2380
2285
|
end
|
2381
2286
|
|
2382
2287
|
technical_api = Intrinio::TechnicalApi.new
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
|
2389
|
-
|
2390
|
-
|
2391
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2288
|
+
identifier = "AAPL"
|
2289
|
+
|
2290
|
+
opts = {
|
2291
|
+
period: 15,
|
2292
|
+
start_date: "2018-01-01",
|
2293
|
+
end_date: "2019-01-01",
|
2294
|
+
page_size: 100,
|
2295
|
+
next_page: nil
|
2392
2296
|
}
|
2393
2297
|
|
2394
|
-
|
2395
|
-
|
2396
|
-
pp result
|
2397
|
-
rescue Intrinio::ApiError => e
|
2398
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_trix: #{e}"
|
2399
|
-
end
|
2298
|
+
result = technical_api.get_security_price_technicals_trix(identifier, opts)
|
2299
|
+
pp result
|
2400
2300
|
```
|
2401
2301
|
|
2402
2302
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2471,28 +2371,24 @@ require 'pp'
|
|
2471
2371
|
# Setup authorization
|
2472
2372
|
Intrinio.configure do |config|
|
2473
2373
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2374
|
+
config.allow_retries = true
|
2474
2375
|
end
|
2475
2376
|
|
2476
2377
|
technical_api = Intrinio::TechnicalApi.new
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2378
|
+
identifier = "AAPL"
|
2379
|
+
|
2380
|
+
opts = {
|
2381
|
+
low_period: 13,
|
2382
|
+
high_period: 25,
|
2383
|
+
price_key: "close",
|
2384
|
+
start_date: "2018-01-01",
|
2385
|
+
end_date: "2019-01-01",
|
2386
|
+
page_size: 100,
|
2387
|
+
next_page: nil
|
2488
2388
|
}
|
2489
2389
|
|
2490
|
-
|
2491
|
-
|
2492
|
-
pp result
|
2493
|
-
rescue Intrinio::ApiError => e
|
2494
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_tsi: #{e}"
|
2495
|
-
end
|
2390
|
+
result = technical_api.get_security_price_technicals_tsi(identifier, opts)
|
2391
|
+
pp result
|
2496
2392
|
```
|
2497
2393
|
|
2498
2394
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2569,31 +2465,27 @@ require 'pp'
|
|
2569
2465
|
# Setup authorization
|
2570
2466
|
Intrinio.configure do |config|
|
2571
2467
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2468
|
+
config.allow_retries = true
|
2572
2469
|
end
|
2573
2470
|
|
2574
2471
|
technical_api = Intrinio::TechnicalApi.new
|
2575
|
-
|
2576
|
-
|
2577
|
-
|
2578
|
-
|
2579
|
-
|
2580
|
-
|
2581
|
-
|
2582
|
-
|
2583
|
-
|
2584
|
-
|
2585
|
-
|
2586
|
-
|
2587
|
-
|
2588
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2472
|
+
identifier = "AAPL"
|
2473
|
+
|
2474
|
+
opts = {
|
2475
|
+
short_period: 7,
|
2476
|
+
medium_period: 14,
|
2477
|
+
long_period: 28,
|
2478
|
+
short_weight: 4.0,
|
2479
|
+
medium_weight: 2.0,
|
2480
|
+
long_weight: 1.0,
|
2481
|
+
start_date: "2018-01-01",
|
2482
|
+
end_date: "2019-01-01",
|
2483
|
+
page_size: 100,
|
2484
|
+
next_page: nil
|
2589
2485
|
}
|
2590
2486
|
|
2591
|
-
|
2592
|
-
|
2593
|
-
pp result
|
2594
|
-
rescue Intrinio::ApiError => e
|
2595
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_uo: #{e}"
|
2596
|
-
end
|
2487
|
+
result = technical_api.get_security_price_technicals_uo(identifier, opts)
|
2488
|
+
pp result
|
2597
2489
|
```
|
2598
2490
|
|
2599
2491
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2673,26 +2565,22 @@ require 'pp'
|
|
2673
2565
|
# Setup authorization
|
2674
2566
|
Intrinio.configure do |config|
|
2675
2567
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2568
|
+
config.allow_retries = true
|
2676
2569
|
end
|
2677
2570
|
|
2678
2571
|
technical_api = Intrinio::TechnicalApi.new
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2682
|
-
|
2683
|
-
|
2684
|
-
|
2685
|
-
|
2686
|
-
|
2687
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2572
|
+
identifier = "AAPL"
|
2573
|
+
|
2574
|
+
opts = {
|
2575
|
+
period: 14,
|
2576
|
+
start_date: "2018-01-01",
|
2577
|
+
end_date: "2019-01-01",
|
2578
|
+
page_size: 100,
|
2579
|
+
next_page: nil
|
2688
2580
|
}
|
2689
2581
|
|
2690
|
-
|
2691
|
-
|
2692
|
-
pp result
|
2693
|
-
rescue Intrinio::ApiError => e
|
2694
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_vi: #{e}"
|
2695
|
-
end
|
2582
|
+
result = technical_api.get_security_price_technicals_vi(identifier, opts)
|
2583
|
+
pp result
|
2696
2584
|
```
|
2697
2585
|
|
2698
2586
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2767,25 +2655,21 @@ require 'pp'
|
|
2767
2655
|
# Setup authorization
|
2768
2656
|
Intrinio.configure do |config|
|
2769
2657
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2658
|
+
config.allow_retries = true
|
2770
2659
|
end
|
2771
2660
|
|
2772
2661
|
technical_api = Intrinio::TechnicalApi.new
|
2662
|
+
identifier = "AAPL"
|
2773
2663
|
|
2774
|
-
|
2775
|
-
|
2776
|
-
|
2777
|
-
|
2778
|
-
|
2779
|
-
page_size: 100, # Integer | The number of results to return
|
2780
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2664
|
+
opts = {
|
2665
|
+
start_date: "2018-01-01",
|
2666
|
+
end_date: "2019-01-01",
|
2667
|
+
page_size: 100,
|
2668
|
+
next_page: nil
|
2781
2669
|
}
|
2782
2670
|
|
2783
|
-
|
2784
|
-
|
2785
|
-
pp result
|
2786
|
-
rescue Intrinio::ApiError => e
|
2787
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_vpt: #{e}"
|
2788
|
-
end
|
2671
|
+
result = technical_api.get_security_price_technicals_vpt(identifier, opts)
|
2672
|
+
pp result
|
2789
2673
|
```
|
2790
2674
|
|
2791
2675
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2859,25 +2743,21 @@ require 'pp'
|
|
2859
2743
|
# Setup authorization
|
2860
2744
|
Intrinio.configure do |config|
|
2861
2745
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2746
|
+
config.allow_retries = true
|
2862
2747
|
end
|
2863
2748
|
|
2864
2749
|
technical_api = Intrinio::TechnicalApi.new
|
2750
|
+
identifier = "AAPL"
|
2865
2751
|
|
2866
|
-
|
2867
|
-
|
2868
|
-
|
2869
|
-
|
2870
|
-
|
2871
|
-
page_size: 100, # Integer | The number of results to return
|
2872
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2752
|
+
opts = {
|
2753
|
+
start_date: "2018-01-01",
|
2754
|
+
end_date: "2019-01-01",
|
2755
|
+
page_size: 100,
|
2756
|
+
next_page: nil
|
2873
2757
|
}
|
2874
2758
|
|
2875
|
-
|
2876
|
-
|
2877
|
-
pp result
|
2878
|
-
rescue Intrinio::ApiError => e
|
2879
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_vwap: #{e}"
|
2880
|
-
end
|
2759
|
+
result = technical_api.get_security_price_technicals_vwap(identifier, opts)
|
2760
|
+
pp result
|
2881
2761
|
```
|
2882
2762
|
|
2883
2763
|
[//]: # (END_CODE_EXAMPLE)
|
@@ -2951,26 +2831,22 @@ require 'pp'
|
|
2951
2831
|
# Setup authorization
|
2952
2832
|
Intrinio.configure do |config|
|
2953
2833
|
config.api_key['api_key'] = 'YOUR_API_KEY'
|
2834
|
+
config.allow_retries = true
|
2954
2835
|
end
|
2955
2836
|
|
2956
2837
|
technical_api = Intrinio::TechnicalApi.new
|
2957
|
-
|
2958
|
-
|
2959
|
-
|
2960
|
-
|
2961
|
-
|
2962
|
-
|
2963
|
-
|
2964
|
-
|
2965
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
2838
|
+
identifier = "AAPL"
|
2839
|
+
|
2840
|
+
opts = {
|
2841
|
+
period: 14,
|
2842
|
+
start_date: "2018-01-01",
|
2843
|
+
end_date: "2019-01-01",
|
2844
|
+
page_size: 100,
|
2845
|
+
next_page: nil
|
2966
2846
|
}
|
2967
2847
|
|
2968
|
-
|
2969
|
-
|
2970
|
-
pp result
|
2971
|
-
rescue Intrinio::ApiError => e
|
2972
|
-
puts "Exception when calling TechnicalApi->get_security_price_technicals_wr: #{e}"
|
2973
|
-
end
|
2848
|
+
result = technical_api.get_security_price_technicals_wr(identifier, opts)
|
2849
|
+
pp result
|
2974
2850
|
```
|
2975
2851
|
|
2976
2852
|
[//]: # (END_CODE_EXAMPLE)
|