intrinio-sdk 6.24.0 → 6.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/docs/OptionsApi.md +24 -5
- data/docs/SecurityApi.md +270 -0
- data/docs/SecurityReplayFileResult.md +22 -0
- data/docs/SecurityTrades.md +26 -0
- data/docs/SecurityTradesResult.md +25 -0
- data/intrinio-sdk.gemspec +1 -1
- data/lib/intrinio-sdk/api/bulk_downloads_api.rb +1 -1
- data/lib/intrinio-sdk/api/company_api.rb +1 -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/esg_api.rb +1 -1
- data/lib/intrinio-sdk/api/et_fs_api.rb +1 -1
- data/lib/intrinio-sdk/api/filing_api.rb +1 -1
- data/lib/intrinio-sdk/api/forex_api.rb +1 -1
- 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/insider_transaction_filings_api.rb +1 -1
- data/lib/intrinio-sdk/api/municipality_api.rb +1 -1
- data/lib/intrinio-sdk/api/options_api.rb +49 -1
- data/lib/intrinio-sdk/api/owners_api.rb +1 -1
- data/lib/intrinio-sdk/api/security_api.rb +242 -5
- 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 +1 -1
- 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_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_answers.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_insider_transaction_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_recognize.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_shares_outstanding.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_esg_companies.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_esg_company_comprehensive_rating_history.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_esg_company_rating_history.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_esg_latest.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_esg_latest_comprehensive.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_et_fs.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_etf_holdings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filing_answers.rb +1 -1
- 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_insider_transaction_filings.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 +1 -1
- data/lib/intrinio-sdk/models/api_response_options_chain_eod.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_chain_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_expirations.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_price_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_prices_batch_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_prices_eod.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_stats_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_tickers.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_options_unusual_activity.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_owner_insider_transaction_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_owner_institutional_holdings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_owners.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_institutional_ownership.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_interval_prices.rb +3 -3
- data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +3 -3
- 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_standardized_financials_dimensions.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 +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_companies.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_owners.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_zacks_institutional_holdings.rb +1 -1
- 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_shares_outstanding.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/esg_company_summary.rb +1 -1
- data/lib/intrinio-sdk/models/esg_comprehensive_rating.rb +1 -1
- data/lib/intrinio-sdk/models/esg_comprehensive_rating_with_company.rb +1 -1
- data/lib/intrinio-sdk/models/esg_rating.rb +1 -1
- data/lib/intrinio-sdk/models/esg_rating_with_company.rb +1 -1
- data/lib/intrinio-sdk/models/etf.rb +1 -1
- data/lib/intrinio-sdk/models/etf_analytics.rb +1 -1
- data/lib/intrinio-sdk/models/etf_holding.rb +1 -1
- data/lib/intrinio-sdk/models/etf_stats.rb +1 -1
- data/lib/intrinio-sdk/models/etf_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 +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/insider_transaction.rb +1 -1
- data/lib/intrinio-sdk/models/insider_transaction_filing.rb +1 -1
- data/lib/intrinio-sdk/models/institutional_holding.rb +1 -1
- data/lib/intrinio-sdk/models/institutional_ownership.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_eod.rb +1 -1
- data/lib/intrinio-sdk/models/option_chain_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/option_contracts_list.rb +1 -1
- data/lib/intrinio-sdk/models/option_eod.rb +1 -1
- data/lib/intrinio-sdk/models/option_factors_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/option_interval.rb +1 -1
- data/lib/intrinio-sdk/models/option_interval_mover.rb +1 -1
- data/lib/intrinio-sdk/models/option_intervals_movers_result.rb +1 -1
- data/lib/intrinio-sdk/models/option_intervals_result.rb +1 -1
- data/lib/intrinio-sdk/models/option_price.rb +1 -1
- data/lib/intrinio-sdk/models/option_price_batch_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/option_price_eod.rb +1 -1
- data/lib/intrinio-sdk/models/option_price_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/option_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/option_snapshot_group.rb +1 -1
- data/lib/intrinio-sdk/models/option_snapshots_result.rb +1 -1
- data/lib/intrinio-sdk/models/option_stats_realtime.rb +1 -1
- data/lib/intrinio-sdk/models/option_unusual_trade.rb +1 -1
- data/lib/intrinio-sdk/models/owner.rb +1 -1
- data/lib/intrinio-sdk/models/owner_summary.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_interval_mover.rb +1 -1
- data/lib/intrinio-sdk/models/security_intervals_movers_result.rb +1 -1
- data/lib/intrinio-sdk/models/security_replay_file_result.rb +209 -0
- 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_snapshot_group.rb +1 -1
- data/lib/intrinio-sdk/models/security_snapshots_result.rb +1 -1
- data/lib/intrinio-sdk/models/security_summary.rb +1 -1
- data/lib/intrinio-sdk/models/security_trades.rb +249 -0
- data/lib/intrinio-sdk/models/security_trades_result.rb +244 -0
- 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/standardized_financials_dimension.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_interval.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/thea_entity_answer.rb +1 -1
- data/lib/intrinio-sdk/models/thea_source_document.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 +1 -1
- data/lib/intrinio-sdk/models/zacks_institutional_holding.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_institutional_holding_company_detail.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_institutional_holding_company_summary.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_institutional_holding_historical_summary.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_detail.rb +1 -1
- data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_summary.rb +1 -1
- 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/lib/intrinio-sdk.rb +4 -1
- data/spec/models/security_replay_file_result_spec.rb +54 -0
- data/spec/models/security_trades_result_spec.rb +58 -0
- data/spec/models/security_trades_spec.rb +78 -0
- metadata +265 -253
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1893903d258b71d17a291be3723c6ed37e4c0769659990f924c4399bad870edb
|
4
|
+
data.tar.gz: cac34bd2761a1ce362b69d2a4a871f2a4596c9cc64b426d35dfab73ff72bab9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3354f48f18bc4a4f6339b7b13a4dfca8281356ee2651fa728657686a17c909377b226bd317e0e33bf9453aaa2dd2173d09164b1774ad0674eb77d9ec0742002
|
7
|
+
data.tar.gz: c395d86d9f5e9fdca988541ef33bb57daee248e57f5799e97d331adb35bed3569d444aaaf87fc48f3f67c333d7c488145738f783f92a7b46bde7bfbb4a74a66c
|
data/README.md
CHANGED
@@ -8,8 +8,8 @@ Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a
|
|
8
8
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
|
-
- API version: 2.
|
12
|
-
- Package version: 6.
|
11
|
+
- API version: 2.45.0
|
12
|
+
- Package version: 6.25.0
|
13
13
|
|
14
14
|
|
15
15
|
## Installation
|
@@ -213,9 +213,12 @@ Class | Method | HTTP request | Description
|
|
213
213
|
*Intrinio::SecurityApi* | [**get_security_price_technicals_vwap**](docs/SecurityApi.md#get_security_price_technicals_vwap) | **GET** /securities/{identifier}/prices/technicals/vwap | Volume Weighted Average Price
|
214
214
|
*Intrinio::SecurityApi* | [**get_security_price_technicals_wr**](docs/SecurityApi.md#get_security_price_technicals_wr) | **GET** /securities/{identifier}/prices/technicals/wr | Williams %R
|
215
215
|
*Intrinio::SecurityApi* | [**get_security_realtime_price**](docs/SecurityApi.md#get_security_realtime_price) | **GET** /securities/{identifier}/prices/realtime | Realtime Stock Price for Security
|
216
|
+
*Intrinio::SecurityApi* | [**get_security_replay_file**](docs/SecurityApi.md#get_security_replay_file) | **GET** /securities/replay | Security Replay File
|
216
217
|
*Intrinio::SecurityApi* | [**get_security_snapshots**](docs/SecurityApi.md#get_security_snapshots) | **GET** /securities/snapshots | Realtime Stock Prices Snapshot
|
217
218
|
*Intrinio::SecurityApi* | [**get_security_stock_price_adjustments**](docs/SecurityApi.md#get_security_stock_price_adjustments) | **GET** /securities/{identifier}/prices/adjustments | Stock Price Adjustments by Security
|
218
219
|
*Intrinio::SecurityApi* | [**get_security_stock_prices**](docs/SecurityApi.md#get_security_stock_prices) | **GET** /securities/{identifier}/prices | Stock Prices by Security
|
220
|
+
*Intrinio::SecurityApi* | [**get_security_trades**](docs/SecurityApi.md#get_security_trades) | **GET** /securities/trades | Security Trades
|
221
|
+
*Intrinio::SecurityApi* | [**get_security_trades_by_symbol**](docs/SecurityApi.md#get_security_trades_by_symbol) | **GET** /securities/{identifier}/trades | Security Trades By Symbol
|
219
222
|
*Intrinio::SecurityApi* | [**get_security_zacks_analyst_ratings**](docs/SecurityApi.md#get_security_zacks_analyst_ratings) | **GET** /securities/{identifier}/zacks/analyst_ratings | Zacks Analyst Ratings for Security
|
220
223
|
*Intrinio::SecurityApi* | [**get_security_zacks_analyst_ratings_snapshot**](docs/SecurityApi.md#get_security_zacks_analyst_ratings_snapshot) | **GET** /securities/{identifier}/zacks/analyst_ratings/snapshot | Zacks Analyst Ratings Snapshot
|
221
224
|
*Intrinio::SecurityApi* | [**get_security_zacks_eps_surprises**](docs/SecurityApi.md#get_security_zacks_eps_surprises) | **GET** /securities/{identifier}/zacks/eps_surprises | Zacks EPS Surprises for Security
|
@@ -492,6 +495,7 @@ Class | Method | HTTP request | Description
|
|
492
495
|
- [Intrinio::Security](docs/Security.md)
|
493
496
|
- [Intrinio::SecurityIntervalMover](docs/SecurityIntervalMover.md)
|
494
497
|
- [Intrinio::SecurityIntervalsMoversResult](docs/SecurityIntervalsMoversResult.md)
|
498
|
+
- [Intrinio::SecurityReplayFileResult](docs/SecurityReplayFileResult.md)
|
495
499
|
- [Intrinio::SecurityScreenClause](docs/SecurityScreenClause.md)
|
496
500
|
- [Intrinio::SecurityScreenGroup](docs/SecurityScreenGroup.md)
|
497
501
|
- [Intrinio::SecurityScreenResult](docs/SecurityScreenResult.md)
|
@@ -499,6 +503,8 @@ Class | Method | HTTP request | Description
|
|
499
503
|
- [Intrinio::SecuritySnapshotGroup](docs/SecuritySnapshotGroup.md)
|
500
504
|
- [Intrinio::SecuritySnapshotsResult](docs/SecuritySnapshotsResult.md)
|
501
505
|
- [Intrinio::SecuritySummary](docs/SecuritySummary.md)
|
506
|
+
- [Intrinio::SecurityTrades](docs/SecurityTrades.md)
|
507
|
+
- [Intrinio::SecurityTradesResult](docs/SecurityTradesResult.md)
|
502
508
|
- [Intrinio::SimpleMovingAverageTechnicalValue](docs/SimpleMovingAverageTechnicalValue.md)
|
503
509
|
- [Intrinio::StandardizedFinancial](docs/StandardizedFinancial.md)
|
504
510
|
- [Intrinio::StandardizedFinancialsDimension](docs/StandardizedFinancialsDimension.md)
|
data/docs/OptionsApi.md
CHANGED
@@ -213,7 +213,7 @@ Name | Type | Description | Notes
|
|
213
213
|
|
214
214
|
[//]: # (START_OVERVIEW)
|
215
215
|
|
216
|
-
> ApiResponseOptionsChainRealtime get_option_strikes_realtime(symbol, strike)
|
216
|
+
> ApiResponseOptionsChainRealtime get_option_strikes_realtime(symbol, strike, opts)
|
217
217
|
|
218
218
|
#### Option Strikes Realtime
|
219
219
|
|
@@ -241,7 +241,12 @@ options_api = Intrinio::OptionsApi.new
|
|
241
241
|
symbol = "MSFT"
|
242
242
|
strike = 95
|
243
243
|
|
244
|
-
|
244
|
+
opts = {
|
245
|
+
stock_price_source: nil,
|
246
|
+
model: nil
|
247
|
+
}
|
248
|
+
|
249
|
+
result = options_api.get_option_strikes_realtime(symbol, strike, opts)
|
245
250
|
pp result
|
246
251
|
```
|
247
252
|
|
@@ -258,6 +263,8 @@ Name | Type | Description | Notes
|
|
258
263
|
------------- | ------------- | ------------- | -------------
|
259
264
|
**symbol** | String| The option symbol, corresponding to the underlying security. |
|
260
265
|
**strike** | Float| The strike price of the option contract. This will return options contracts with strike price equal to this price. |
|
266
|
+
**stock_price_source** | String| Source for underlying price for calculating Greeks. | [optional]
|
267
|
+
**model** | String| Model for calculating Greek values. Default is black_scholes. | [optional]
|
261
268
|
|
262
269
|
[//]: # (END_PARAMETERS)
|
263
270
|
|
@@ -712,7 +719,9 @@ opts = {
|
|
712
719
|
volume_less_than: nil,
|
713
720
|
open_interest_greater_than: nil,
|
714
721
|
open_interest_less_than: nil,
|
715
|
-
moneyness: nil
|
722
|
+
moneyness: nil,
|
723
|
+
stock_price_source: nil,
|
724
|
+
model: nil
|
716
725
|
}
|
717
726
|
|
718
727
|
result = options_api.get_options_chain_realtime(symbol, expiration, opts)
|
@@ -742,6 +751,8 @@ Name | Type | Description | Notes
|
|
742
751
|
**open_interest_greater_than** | Float| The open interest of the option contract. This will return options contracts with open interest greater than this amount. | [optional]
|
743
752
|
**open_interest_less_than** | Float| The open interest of the option contract. This will return options contracts with open interest less than this amount. | [optional]
|
744
753
|
**moneyness** | String| The moneyness of the options contracts to return. 'all' will return all options contracts. 'in_the_money' will return options contracts that are in the money (call options with strike prices below the current price, put options with strike prices above the current price). 'out_of_they_money' will return options contracts that are out of the money (call options with strike prices above the current price, put options with strike prices below the current price). 'near_the_money' will return options contracts that are $0.50 or less away from being in the money. Requires subscription to realtime stock price data. | [optional]
|
754
|
+
**stock_price_source** | String| Source for underlying price for calculating Greeks. | [optional]
|
755
|
+
**model** | String| Model for calculating Greek values. Default is black_scholes. | [optional]
|
745
756
|
|
746
757
|
[//]: # (END_PARAMETERS)
|
747
758
|
|
@@ -1400,7 +1411,9 @@ body = {
|
|
1400
1411
|
}
|
1401
1412
|
|
1402
1413
|
opts = {
|
1403
|
-
source: nil
|
1414
|
+
source: nil,
|
1415
|
+
stock_price_source: nil,
|
1416
|
+
model: nil
|
1404
1417
|
}
|
1405
1418
|
|
1406
1419
|
result = options_api.get_options_prices_batch_realtime(body, opts)
|
@@ -1420,6 +1433,8 @@ Name | Type | Description | Notes
|
|
1420
1433
|
------------- | ------------- | ------------- | -------------
|
1421
1434
|
**body** | [**OptionContractsList**](OptionContractsList.md)| The contract symbols for which to return options prices for. |
|
1422
1435
|
**source** | String| Realtime or 15-minute delayed contracts. | [optional]
|
1436
|
+
**stock_price_source** | String| Source for underlying price for calculating Greeks. | [optional]
|
1437
|
+
**model** | String| Model for calculating Greek values. Default is black_scholes. | [optional]
|
1423
1438
|
|
1424
1439
|
[//]: # (END_PARAMETERS)
|
1425
1440
|
|
@@ -1559,7 +1574,9 @@ options_api = Intrinio::OptionsApi.new
|
|
1559
1574
|
identifier = "AAPL230120C00090000"
|
1560
1575
|
|
1561
1576
|
opts = {
|
1562
|
-
source: nil
|
1577
|
+
source: nil,
|
1578
|
+
stock_price_source: nil,
|
1579
|
+
model: nil
|
1563
1580
|
}
|
1564
1581
|
|
1565
1582
|
result = options_api.get_options_prices_realtime(identifier, opts)
|
@@ -1579,6 +1596,8 @@ Name | Type | Description | Notes
|
|
1579
1596
|
------------- | ------------- | ------------- | -------------
|
1580
1597
|
**identifier** | String| The Intrinio ID or code of the options contract to request prices for. |
|
1581
1598
|
**source** | String| Realtime or 15-minute delayed contracts. | [optional]
|
1599
|
+
**stock_price_source** | String| Source for underlying price for calculating Greeks. | [optional]
|
1600
|
+
**model** | String| Model for calculating Greek values. Default is black_scholes. | [optional]
|
1582
1601
|
|
1583
1602
|
[//]: # (END_PARAMETERS)
|
1584
1603
|
|
data/docs/SecurityApi.md
CHANGED
@@ -49,9 +49,12 @@ Method | HTTP request | Description
|
|
49
49
|
[**get_security_price_technicals_vwap**](SecurityApi.md#get_security_price_technicals_vwap) | **GET** /securities/{identifier}/prices/technicals/vwap | Volume Weighted Average Price
|
50
50
|
[**get_security_price_technicals_wr**](SecurityApi.md#get_security_price_technicals_wr) | **GET** /securities/{identifier}/prices/technicals/wr | Williams %R
|
51
51
|
[**get_security_realtime_price**](SecurityApi.md#get_security_realtime_price) | **GET** /securities/{identifier}/prices/realtime | Realtime Stock Price for Security
|
52
|
+
[**get_security_replay_file**](SecurityApi.md#get_security_replay_file) | **GET** /securities/replay | Security Replay File
|
52
53
|
[**get_security_snapshots**](SecurityApi.md#get_security_snapshots) | **GET** /securities/snapshots | Realtime Stock Prices Snapshot
|
53
54
|
[**get_security_stock_price_adjustments**](SecurityApi.md#get_security_stock_price_adjustments) | **GET** /securities/{identifier}/prices/adjustments | Stock Price Adjustments by Security
|
54
55
|
[**get_security_stock_prices**](SecurityApi.md#get_security_stock_prices) | **GET** /securities/{identifier}/prices | Stock Prices by Security
|
56
|
+
[**get_security_trades**](SecurityApi.md#get_security_trades) | **GET** /securities/trades | Security Trades
|
57
|
+
[**get_security_trades_by_symbol**](SecurityApi.md#get_security_trades_by_symbol) | **GET** /securities/{identifier}/trades | Security Trades By Symbol
|
55
58
|
[**get_security_zacks_analyst_ratings**](SecurityApi.md#get_security_zacks_analyst_ratings) | **GET** /securities/{identifier}/zacks/analyst_ratings | Zacks Analyst Ratings for Security
|
56
59
|
[**get_security_zacks_analyst_ratings_snapshot**](SecurityApi.md#get_security_zacks_analyst_ratings_snapshot) | **GET** /securities/{identifier}/zacks/analyst_ratings/snapshot | Zacks Analyst Ratings Snapshot
|
57
60
|
[**get_security_zacks_eps_surprises**](SecurityApi.md#get_security_zacks_eps_surprises) | **GET** /securities/{identifier}/zacks/eps_surprises | Zacks EPS Surprises for Security
|
@@ -4097,6 +4100,85 @@ Name | Type | Description | Notes
|
|
4097
4100
|
[//]: # (END_OPERATION)
|
4098
4101
|
|
4099
4102
|
|
4103
|
+
[//]: # (START_OPERATION)
|
4104
|
+
|
4105
|
+
[//]: # (CLASS:Intrinio::SecurityApi)
|
4106
|
+
|
4107
|
+
[//]: # (METHOD:get_security_replay_file)
|
4108
|
+
|
4109
|
+
[//]: # (RETURN_TYPE:Intrinio::SecurityReplayFileResult)
|
4110
|
+
|
4111
|
+
[//]: # (RETURN_TYPE_KIND:object)
|
4112
|
+
|
4113
|
+
[//]: # (RETURN_TYPE_DOC:SecurityReplayFileResult.md)
|
4114
|
+
|
4115
|
+
[//]: # (OPERATION:get_security_replay_file_v2)
|
4116
|
+
|
4117
|
+
[//]: # (ENDPOINT:/securities/replay)
|
4118
|
+
|
4119
|
+
[//]: # (DOCUMENT_LINK:SecurityApi.md#get_security_replay_file)
|
4120
|
+
|
4121
|
+
## **get_security_replay_file**
|
4122
|
+
|
4123
|
+
[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_security_replay_file_v2)
|
4124
|
+
|
4125
|
+
[//]: # (START_OVERVIEW)
|
4126
|
+
|
4127
|
+
> SecurityReplayFileResult get_security_replay_file(subsource, date)
|
4128
|
+
|
4129
|
+
#### Security Replay File
|
4130
|
+
|
4131
|
+
|
4132
|
+
Returns a url where the requested replay file may be downloaded from.
|
4133
|
+
|
4134
|
+
[//]: # (END_OVERVIEW)
|
4135
|
+
|
4136
|
+
### Example
|
4137
|
+
|
4138
|
+
[//]: # (START_CODE_EXAMPLE)
|
4139
|
+
|
4140
|
+
```ruby
|
4141
|
+
# Load the gem
|
4142
|
+
require 'intrinio-sdk'
|
4143
|
+
require 'pp'
|
4144
|
+
|
4145
|
+
# Setup authorization
|
4146
|
+
Intrinio.configure do |config|
|
4147
|
+
config.api_key['api_key'] = 'YOUR_API_KEY'
|
4148
|
+
config.allow_retries = true
|
4149
|
+
end
|
4150
|
+
|
4151
|
+
security_api = Intrinio::SecurityApi.new
|
4152
|
+
subsource = nil
|
4153
|
+
date = nil
|
4154
|
+
|
4155
|
+
result = security_api.get_security_replay_file(subsource, date)
|
4156
|
+
pp result
|
4157
|
+
```
|
4158
|
+
|
4159
|
+
[//]: # (END_CODE_EXAMPLE)
|
4160
|
+
|
4161
|
+
[//]: # (START_DEFINITION)
|
4162
|
+
|
4163
|
+
### Parameters
|
4164
|
+
|
4165
|
+
[//]: # (START_PARAMETERS)
|
4166
|
+
|
4167
|
+
|
4168
|
+
Name | Type | Description | Notes
|
4169
|
+
------------- | ------------- | ------------- | -------------
|
4170
|
+
**subsource** | String| The specific source of the data being requested. |
|
4171
|
+
**date** | Date| The date for the data being requested. |
|
4172
|
+
|
4173
|
+
[//]: # (END_PARAMETERS)
|
4174
|
+
|
4175
|
+
### Return type
|
4176
|
+
|
4177
|
+
[**SecurityReplayFileResult**](SecurityReplayFileResult.md)
|
4178
|
+
|
4179
|
+
[//]: # (END_OPERATION)
|
4180
|
+
|
4181
|
+
|
4100
4182
|
[//]: # (START_OPERATION)
|
4101
4183
|
|
4102
4184
|
[//]: # (CLASS:Intrinio::SecurityApi)
|
@@ -4355,6 +4437,194 @@ Name | Type | Description | Notes
|
|
4355
4437
|
[//]: # (END_OPERATION)
|
4356
4438
|
|
4357
4439
|
|
4440
|
+
[//]: # (START_OPERATION)
|
4441
|
+
|
4442
|
+
[//]: # (CLASS:Intrinio::SecurityApi)
|
4443
|
+
|
4444
|
+
[//]: # (METHOD:get_security_trades)
|
4445
|
+
|
4446
|
+
[//]: # (RETURN_TYPE:Intrinio::SecurityTradesResult)
|
4447
|
+
|
4448
|
+
[//]: # (RETURN_TYPE_KIND:object)
|
4449
|
+
|
4450
|
+
[//]: # (RETURN_TYPE_DOC:SecurityTradesResult.md)
|
4451
|
+
|
4452
|
+
[//]: # (OPERATION:get_security_trades_v2)
|
4453
|
+
|
4454
|
+
[//]: # (ENDPOINT:/securities/trades)
|
4455
|
+
|
4456
|
+
[//]: # (DOCUMENT_LINK:SecurityApi.md#get_security_trades)
|
4457
|
+
|
4458
|
+
## **get_security_trades**
|
4459
|
+
|
4460
|
+
[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_security_trades_v2)
|
4461
|
+
|
4462
|
+
[//]: # (START_OVERVIEW)
|
4463
|
+
|
4464
|
+
> SecurityTradesResult get_security_trades(source, opts)
|
4465
|
+
|
4466
|
+
#### Security Trades
|
4467
|
+
|
4468
|
+
|
4469
|
+
Returns all trades between start time and end time, up to seven days ago for the specified source.
|
4470
|
+
|
4471
|
+
[//]: # (END_OVERVIEW)
|
4472
|
+
|
4473
|
+
### Example
|
4474
|
+
|
4475
|
+
[//]: # (START_CODE_EXAMPLE)
|
4476
|
+
|
4477
|
+
```ruby
|
4478
|
+
# Load the gem
|
4479
|
+
require 'intrinio-sdk'
|
4480
|
+
require 'pp'
|
4481
|
+
|
4482
|
+
# Setup authorization
|
4483
|
+
Intrinio.configure do |config|
|
4484
|
+
config.api_key['api_key'] = 'YOUR_API_KEY'
|
4485
|
+
config.allow_retries = true
|
4486
|
+
end
|
4487
|
+
|
4488
|
+
security_api = Intrinio::SecurityApi.new
|
4489
|
+
source = nil
|
4490
|
+
|
4491
|
+
opts = {
|
4492
|
+
start_date: nil,
|
4493
|
+
start_time: nil,
|
4494
|
+
end_date: nil,
|
4495
|
+
end_time: nil,
|
4496
|
+
timezone: "UTC",
|
4497
|
+
page_size: 100,
|
4498
|
+
next_page: nil
|
4499
|
+
}
|
4500
|
+
|
4501
|
+
result = security_api.get_security_trades(source, opts)
|
4502
|
+
pp result
|
4503
|
+
```
|
4504
|
+
|
4505
|
+
[//]: # (END_CODE_EXAMPLE)
|
4506
|
+
|
4507
|
+
[//]: # (START_DEFINITION)
|
4508
|
+
|
4509
|
+
### Parameters
|
4510
|
+
|
4511
|
+
[//]: # (START_PARAMETERS)
|
4512
|
+
|
4513
|
+
|
4514
|
+
Name | Type | Description | Notes
|
4515
|
+
------------- | ------------- | ------------- | -------------
|
4516
|
+
**source** | String| The specific source of the data being requested. |
|
4517
|
+
**start_date** | Date| The start date for the data being requested. | [optional]
|
4518
|
+
**start_time** | String| The start time for the data being requested. | [optional]
|
4519
|
+
**end_date** | Date| The end date for the data being requested. | [optional]
|
4520
|
+
**end_time** | String| The end time for the data being requested. | [optional]
|
4521
|
+
**timezone** | String| The timezone the start and end date/times use. | [optional] [default to UTC]
|
4522
|
+
**page_size** | Integer| The maximum number of results to return per page. | [optional] [default to 100]
|
4523
|
+
**next_page** | String| Gets the next page of data from a previous API call | [optional]
|
4524
|
+
|
4525
|
+
[//]: # (END_PARAMETERS)
|
4526
|
+
|
4527
|
+
### Return type
|
4528
|
+
|
4529
|
+
[**SecurityTradesResult**](SecurityTradesResult.md)
|
4530
|
+
|
4531
|
+
[//]: # (END_OPERATION)
|
4532
|
+
|
4533
|
+
|
4534
|
+
[//]: # (START_OPERATION)
|
4535
|
+
|
4536
|
+
[//]: # (CLASS:Intrinio::SecurityApi)
|
4537
|
+
|
4538
|
+
[//]: # (METHOD:get_security_trades_by_symbol)
|
4539
|
+
|
4540
|
+
[//]: # (RETURN_TYPE:Intrinio::SecurityTradesResult)
|
4541
|
+
|
4542
|
+
[//]: # (RETURN_TYPE_KIND:object)
|
4543
|
+
|
4544
|
+
[//]: # (RETURN_TYPE_DOC:SecurityTradesResult.md)
|
4545
|
+
|
4546
|
+
[//]: # (OPERATION:get_security_trades_by_symbol_v2)
|
4547
|
+
|
4548
|
+
[//]: # (ENDPOINT:/securities/{identifier}/trades)
|
4549
|
+
|
4550
|
+
[//]: # (DOCUMENT_LINK:SecurityApi.md#get_security_trades_by_symbol)
|
4551
|
+
|
4552
|
+
## **get_security_trades_by_symbol**
|
4553
|
+
|
4554
|
+
[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_security_trades_by_symbol_v2)
|
4555
|
+
|
4556
|
+
[//]: # (START_OVERVIEW)
|
4557
|
+
|
4558
|
+
> SecurityTradesResult get_security_trades_by_symbol(source, opts)
|
4559
|
+
|
4560
|
+
#### Security Trades By Symbol
|
4561
|
+
|
4562
|
+
|
4563
|
+
Returns all trades for a symbol between start time and end time, up to seven days ago for the specified source.
|
4564
|
+
|
4565
|
+
[//]: # (END_OVERVIEW)
|
4566
|
+
|
4567
|
+
### Example
|
4568
|
+
|
4569
|
+
[//]: # (START_CODE_EXAMPLE)
|
4570
|
+
|
4571
|
+
```ruby
|
4572
|
+
# Load the gem
|
4573
|
+
require 'intrinio-sdk'
|
4574
|
+
require 'pp'
|
4575
|
+
|
4576
|
+
# Setup authorization
|
4577
|
+
Intrinio.configure do |config|
|
4578
|
+
config.api_key['api_key'] = 'YOUR_API_KEY'
|
4579
|
+
config.allow_retries = true
|
4580
|
+
end
|
4581
|
+
|
4582
|
+
security_api = Intrinio::SecurityApi.new
|
4583
|
+
source = nil
|
4584
|
+
|
4585
|
+
opts = {
|
4586
|
+
start_date: nil,
|
4587
|
+
start_time: nil,
|
4588
|
+
end_date: nil,
|
4589
|
+
end_time: nil,
|
4590
|
+
timezone: "UTC",
|
4591
|
+
page_size: 100,
|
4592
|
+
next_page: nil
|
4593
|
+
}
|
4594
|
+
|
4595
|
+
result = security_api.get_security_trades_by_symbol(source, opts)
|
4596
|
+
pp result
|
4597
|
+
```
|
4598
|
+
|
4599
|
+
[//]: # (END_CODE_EXAMPLE)
|
4600
|
+
|
4601
|
+
[//]: # (START_DEFINITION)
|
4602
|
+
|
4603
|
+
### Parameters
|
4604
|
+
|
4605
|
+
[//]: # (START_PARAMETERS)
|
4606
|
+
|
4607
|
+
|
4608
|
+
Name | Type | Description | Notes
|
4609
|
+
------------- | ------------- | ------------- | -------------
|
4610
|
+
**source** | String| The specific source of the data being requested. |
|
4611
|
+
**start_date** | Date| The start date for the data being requested. | [optional]
|
4612
|
+
**start_time** | String| The start time for the data being requested. | [optional]
|
4613
|
+
**end_date** | Date| The end date for the data being requested. | [optional]
|
4614
|
+
**end_time** | String| The end time for the data being requested. | [optional]
|
4615
|
+
**timezone** | String| The timezone the start and end date/times use. | [optional] [default to UTC]
|
4616
|
+
**page_size** | Integer| The maximum number of results to return per page. | [optional] [default to 100]
|
4617
|
+
**next_page** | String| Gets the next page of data from a previous API call | [optional]
|
4618
|
+
|
4619
|
+
[//]: # (END_PARAMETERS)
|
4620
|
+
|
4621
|
+
### Return type
|
4622
|
+
|
4623
|
+
[**SecurityTradesResult**](SecurityTradesResult.md)
|
4624
|
+
|
4625
|
+
[//]: # (END_OPERATION)
|
4626
|
+
|
4627
|
+
|
4358
4628
|
[//]: # (START_OPERATION)
|
4359
4629
|
|
4360
4630
|
[//]: # (CLASS:Intrinio::SecurityApi)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
[//]: # (CLASS:Intrinio::SecurityReplayFileResult)
|
4
|
+
|
5
|
+
[//]: # (KIND:object)
|
6
|
+
|
7
|
+
### Intrinio::SecurityReplayFileResult
|
8
|
+
|
9
|
+
#### Properties
|
10
|
+
|
11
|
+
[//]: # (START_DEFINITION)
|
12
|
+
|
13
|
+
Name | Type | Description
|
14
|
+
------------ | ------------- | -------------
|
15
|
+
**name** | String | The name of the file.
|
16
|
+
**url** | String | The url where the file may be downloaded.
|
17
|
+
**size** | Float | The size of the file in bytes.
|
18
|
+
|
19
|
+
[//]: # (END_DEFINITION)
|
20
|
+
|
21
|
+
|
22
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
[//]: # (CLASS:Intrinio::SecurityTrades)
|
4
|
+
|
5
|
+
[//]: # (KIND:object)
|
6
|
+
|
7
|
+
### Intrinio::SecurityTrades
|
8
|
+
|
9
|
+
#### Properties
|
10
|
+
|
11
|
+
[//]: # (START_DEFINITION)
|
12
|
+
|
13
|
+
Name | Type | Description
|
14
|
+
------------ | ------------- | -------------
|
15
|
+
**symbol** | String | The ticker symbol
|
16
|
+
**timestamp** | DateTime | The UTC timestamp at the time of the trade.
|
17
|
+
**price** | Float | The price of the trade.
|
18
|
+
**size** | Float | The size of the trade.
|
19
|
+
**total_volume** | Float | The total volume of the symbol for the day up to the timestamp point in time.
|
20
|
+
**market_center** | String | The market center for the trade.
|
21
|
+
**condition** | String | The condition of the trade.
|
22
|
+
|
23
|
+
[//]: # (END_DEFINITION)
|
24
|
+
|
25
|
+
|
26
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
[//]: # (CLASS:Intrinio::SecurityTradesResult)
|
4
|
+
|
5
|
+
[//]: # (KIND:object)
|
6
|
+
|
7
|
+
### Intrinio::SecurityTradesResult
|
8
|
+
|
9
|
+
#### Properties
|
10
|
+
|
11
|
+
[//]: # (START_DEFINITION)
|
12
|
+
|
13
|
+
Name | Type | Description
|
14
|
+
------------ | ------------- | -------------
|
15
|
+
**next_page** | String | The token required to request the next page of the data. If null, no further results are available.
|
16
|
+
**source** | String | The source of the trades.
|
17
|
+
**trades** | [**Array<SecurityTrades>**](SecurityTrades.md) | Array of all the trades in this page of the result.
|
18
|
+
|
19
|
+
[//]: # (END_DEFINITION)
|
20
|
+
|
21
|
+
|
22
|
+
[//]: # (CONTAINED_CLASS:Intrinio::SecurityTrades)
|
23
|
+
|
24
|
+
|
25
|
+
|
data/intrinio-sdk.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#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://docs.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.
|
7
7
|
|
8
|
-
OpenAPI spec version: 2.
|
8
|
+
OpenAPI spec version: 2.45.0
|
9
9
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
11
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|
@@ -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://docs.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.45.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: unset
|