intrinio-sdk 5.13.2 → 5.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -4
  3. data/docs/ApiResponseFilingAnswers.md +29 -0
  4. data/docs/ApiResponseOptionsChainEod.md +23 -0
  5. data/docs/ApiResponseOptionsPricesEod.md +27 -0
  6. data/docs/ApiResponseOptionsUnusualActivity.md +23 -0
  7. data/docs/ApiResponseStandardizedFinancialsDimensions.md +31 -0
  8. data/docs/CompanyApi.md +4 -0
  9. data/docs/FilingApi.md +81 -0
  10. data/docs/FundamentalsApi.md +80 -0
  11. data/docs/OptionChainEod.md +27 -0
  12. data/docs/OptionEod.md +24 -0
  13. data/docs/OptionPriceEod.md +35 -0
  14. data/docs/OptionUnusualTrade.md +30 -0
  15. data/docs/OptionsApi.md +413 -0
  16. data/docs/SecurityApi.md +3 -3
  17. data/docs/StandardizedFinancialsDimension.md +21 -0
  18. data/docs/TheaEntityAnswer.md +1 -1
  19. data/docs/TheaSourceDocument.md +1 -4
  20. data/intrinio-sdk.gemspec +3 -3
  21. data/lib/intrinio-sdk/api/bulk_downloads_api.rb +2 -2
  22. data/lib/intrinio-sdk/api/company_api.rb +8 -2
  23. data/lib/intrinio-sdk/api/data_point_api.rb +2 -2
  24. data/lib/intrinio-sdk/api/data_tag_api.rb +2 -2
  25. data/lib/intrinio-sdk/api/et_fs_api.rb +2 -2
  26. data/lib/intrinio-sdk/api/filing_api.rb +65 -2
  27. data/lib/intrinio-sdk/api/forex_api.rb +2 -2
  28. data/lib/intrinio-sdk/api/fundamentals_api.rb +61 -2
  29. data/lib/intrinio-sdk/api/historical_data_api.rb +2 -2
  30. data/lib/intrinio-sdk/api/index_api.rb +2 -2
  31. data/lib/intrinio-sdk/api/insider_transaction_filings_api.rb +2 -2
  32. data/lib/intrinio-sdk/api/municipality_api.rb +2 -2
  33. data/lib/intrinio-sdk/api/options_api.rb +300 -2
  34. data/lib/intrinio-sdk/api/owners_api.rb +2 -2
  35. data/lib/intrinio-sdk/api/security_api.rb +10 -10
  36. data/lib/intrinio-sdk/api/stock_exchange_api.rb +4 -4
  37. data/lib/intrinio-sdk/api/technical_api.rb +2 -2
  38. data/lib/intrinio-sdk/api/zacks_api.rb +2 -2
  39. data/lib/intrinio-sdk/api_client.rb +2 -2
  40. data/lib/intrinio-sdk/api_error.rb +2 -2
  41. data/lib/intrinio-sdk/configuration.rb +2 -2
  42. data/lib/intrinio-sdk/models/accumulation_distribution_index_technical_value.rb +2 -2
  43. data/lib/intrinio-sdk/models/api_response_bulk_download_links.rb +2 -2
  44. data/lib/intrinio-sdk/models/api_response_companies.rb +2 -2
  45. data/lib/intrinio-sdk/models/api_response_companies_search.rb +2 -2
  46. data/lib/intrinio-sdk/models/api_response_company_answers.rb +2 -2
  47. data/lib/intrinio-sdk/models/api_response_company_filings.rb +2 -2
  48. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +2 -2
  49. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +2 -2
  50. data/lib/intrinio-sdk/models/api_response_company_insider_transaction_filings.rb +2 -2
  51. data/lib/intrinio-sdk/models/api_response_company_news.rb +2 -2
  52. data/lib/intrinio-sdk/models/api_response_company_recognize.rb +2 -2
  53. data/lib/intrinio-sdk/models/api_response_company_securities.rb +2 -2
  54. data/lib/intrinio-sdk/models/api_response_company_shares_outstanding.rb +2 -2
  55. data/lib/intrinio-sdk/models/api_response_data_tags.rb +2 -2
  56. data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +2 -2
  57. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +2 -2
  58. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +2 -2
  59. data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +2 -2
  60. data/lib/intrinio-sdk/models/api_response_et_fs.rb +2 -2
  61. data/lib/intrinio-sdk/models/api_response_etf_holdings.rb +2 -2
  62. data/lib/intrinio-sdk/models/api_response_filing_answers.rb +221 -0
  63. data/lib/intrinio-sdk/models/api_response_filing_fundamentals.rb +2 -2
  64. data/lib/intrinio-sdk/models/api_response_filing_notes.rb +2 -2
  65. data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +2 -2
  66. data/lib/intrinio-sdk/models/api_response_filings.rb +2 -2
  67. data/lib/intrinio-sdk/models/api_response_forex_currencies.rb +2 -2
  68. data/lib/intrinio-sdk/models/api_response_forex_pairs.rb +2 -2
  69. data/lib/intrinio-sdk/models/api_response_forex_prices.rb +2 -2
  70. data/lib/intrinio-sdk/models/api_response_historical_data.rb +2 -2
  71. data/lib/intrinio-sdk/models/api_response_initial_public_offerings.rb +2 -2
  72. data/lib/intrinio-sdk/models/api_response_insider_transaction_filings.rb +2 -2
  73. data/lib/intrinio-sdk/models/api_response_municipalities.rb +2 -2
  74. data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +2 -2
  75. data/lib/intrinio-sdk/models/api_response_news.rb +2 -2
  76. data/lib/intrinio-sdk/models/api_response_option_prices.rb +2 -2
  77. data/lib/intrinio-sdk/models/api_response_options.rb +2 -2
  78. data/lib/intrinio-sdk/models/api_response_options_chain.rb +2 -2
  79. data/lib/intrinio-sdk/models/api_response_options_chain_eod.rb +191 -0
  80. data/lib/intrinio-sdk/models/api_response_options_chain_realtime.rb +2 -2
  81. data/lib/intrinio-sdk/models/api_response_options_expirations.rb +2 -2
  82. data/lib/intrinio-sdk/models/api_response_options_price_realtime.rb +2 -2
  83. data/lib/intrinio-sdk/models/api_response_options_prices_batch_realtime.rb +2 -2
  84. data/lib/intrinio-sdk/models/api_response_options_prices_eod.rb +200 -0
  85. data/lib/intrinio-sdk/models/api_response_options_realtime.rb +2 -2
  86. data/lib/intrinio-sdk/models/api_response_options_stats_realtime.rb +2 -2
  87. data/lib/intrinio-sdk/models/api_response_options_tickers.rb +2 -2
  88. data/lib/intrinio-sdk/models/api_response_options_unusual_activity.rb +191 -0
  89. data/lib/intrinio-sdk/models/api_response_owner_insider_transaction_filings.rb +2 -2
  90. data/lib/intrinio-sdk/models/api_response_owner_institutional_holdings.rb +2 -2
  91. data/lib/intrinio-sdk/models/api_response_owners.rb +2 -2
  92. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +2 -2
  93. data/lib/intrinio-sdk/models/api_response_securities.rb +2 -2
  94. data/lib/intrinio-sdk/models/api_response_securities_search.rb +2 -2
  95. data/lib/intrinio-sdk/models/api_response_security_accumulation_distribution_index.rb +2 -2
  96. data/lib/intrinio-sdk/models/api_response_security_average_daily_trading_volume.rb +2 -2
  97. data/lib/intrinio-sdk/models/api_response_security_average_directional_index.rb +2 -2
  98. data/lib/intrinio-sdk/models/api_response_security_average_true_range.rb +2 -2
  99. data/lib/intrinio-sdk/models/api_response_security_awesome_oscillator.rb +2 -2
  100. data/lib/intrinio-sdk/models/api_response_security_bollinger_bands.rb +2 -2
  101. data/lib/intrinio-sdk/models/api_response_security_chaikin_money_flow.rb +2 -2
  102. data/lib/intrinio-sdk/models/api_response_security_commodity_channel_index.rb +2 -2
  103. data/lib/intrinio-sdk/models/api_response_security_detrended_price_oscillator.rb +2 -2
  104. data/lib/intrinio-sdk/models/api_response_security_donchian_channel.rb +2 -2
  105. data/lib/intrinio-sdk/models/api_response_security_ease_of_movement.rb +2 -2
  106. data/lib/intrinio-sdk/models/api_response_security_force_index.rb +2 -2
  107. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +2 -2
  108. data/lib/intrinio-sdk/models/api_response_security_ichimoku_kinko_hyo.rb +2 -2
  109. data/lib/intrinio-sdk/models/api_response_security_institutional_ownership.rb +2 -2
  110. data/lib/intrinio-sdk/models/api_response_security_interval_prices.rb +2 -2
  111. data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +2 -2
  112. data/lib/intrinio-sdk/models/api_response_security_keltner_channel.rb +2 -2
  113. data/lib/intrinio-sdk/models/api_response_security_know_sure_thing.rb +2 -2
  114. data/lib/intrinio-sdk/models/api_response_security_mass_index.rb +2 -2
  115. data/lib/intrinio-sdk/models/api_response_security_money_flow_index.rb +2 -2
  116. data/lib/intrinio-sdk/models/api_response_security_moving_average_convergence_divergence.rb +2 -2
  117. data/lib/intrinio-sdk/models/api_response_security_negative_volume_index.rb +2 -2
  118. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume.rb +2 -2
  119. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume_mean.rb +2 -2
  120. data/lib/intrinio-sdk/models/api_response_security_relative_strength_index.rb +2 -2
  121. data/lib/intrinio-sdk/models/api_response_security_simple_moving_average.rb +2 -2
  122. data/lib/intrinio-sdk/models/api_response_security_stochastic_oscillator.rb +2 -2
  123. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +2 -2
  124. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +2 -2
  125. data/lib/intrinio-sdk/models/api_response_security_triple_exponential_average.rb +2 -2
  126. data/lib/intrinio-sdk/models/api_response_security_true_strength_index.rb +2 -2
  127. data/lib/intrinio-sdk/models/api_response_security_ultimate_oscillator.rb +2 -2
  128. data/lib/intrinio-sdk/models/api_response_security_volume_price_trend.rb +2 -2
  129. data/lib/intrinio-sdk/models/api_response_security_volume_weighted_average_price.rb +2 -2
  130. data/lib/intrinio-sdk/models/api_response_security_vortex_indicator.rb +2 -2
  131. data/lib/intrinio-sdk/models/api_response_security_williams_r.rb +2 -2
  132. data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings.rb +2 -2
  133. data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings_snapshot.rb +2 -2
  134. data/lib/intrinio-sdk/models/api_response_security_zacks_eps_surprises.rb +2 -2
  135. data/lib/intrinio-sdk/models/api_response_security_zacks_sales_surprises.rb +2 -2
  136. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +2 -2
  137. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +2 -2
  138. data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +2 -2
  139. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +2 -2
  140. data/lib/intrinio-sdk/models/api_response_standardized_financials_dimensions.rb +209 -0
  141. data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +2 -2
  142. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +2 -2
  143. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +2 -2
  144. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +2 -2
  145. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +2 -2
  146. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +2 -2
  147. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +2 -2
  148. data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +2 -2
  149. data/lib/intrinio-sdk/models/api_response_zacks_analyst_ratings.rb +2 -2
  150. data/lib/intrinio-sdk/models/api_response_zacks_eps_estimates.rb +2 -2
  151. data/lib/intrinio-sdk/models/api_response_zacks_eps_growth_rates.rb +2 -2
  152. data/lib/intrinio-sdk/models/api_response_zacks_eps_surprises.rb +2 -2
  153. data/lib/intrinio-sdk/models/api_response_zacks_etf_holdings.rb +2 -2
  154. data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_companies.rb +2 -2
  155. data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_owners.rb +2 -2
  156. data/lib/intrinio-sdk/models/api_response_zacks_institutional_holdings.rb +2 -2
  157. data/lib/intrinio-sdk/models/api_response_zacks_long_term_growth_rates.rb +2 -2
  158. data/lib/intrinio-sdk/models/api_response_zacks_sales_surprises.rb +2 -2
  159. data/lib/intrinio-sdk/models/api_response_zacks_target_price_consensuses.rb +2 -2
  160. data/lib/intrinio-sdk/models/average_daily_trading_volume_technical_value.rb +2 -2
  161. data/lib/intrinio-sdk/models/average_directional_index_technical_value.rb +2 -2
  162. data/lib/intrinio-sdk/models/average_true_range_technical_value.rb +2 -2
  163. data/lib/intrinio-sdk/models/awesome_oscillator_technical_value.rb +2 -2
  164. data/lib/intrinio-sdk/models/bollinger_bands_technical_value.rb +2 -2
  165. data/lib/intrinio-sdk/models/bulk_download_links.rb +2 -2
  166. data/lib/intrinio-sdk/models/bulk_download_summary.rb +2 -2
  167. data/lib/intrinio-sdk/models/chaikin_money_flow_technical_value.rb +2 -2
  168. data/lib/intrinio-sdk/models/commodity_channel_index_technical_value.rb +2 -2
  169. data/lib/intrinio-sdk/models/company.rb +2 -2
  170. data/lib/intrinio-sdk/models/company_filing.rb +2 -2
  171. data/lib/intrinio-sdk/models/company_initial_public_offering.rb +2 -2
  172. data/lib/intrinio-sdk/models/company_news.rb +2 -2
  173. data/lib/intrinio-sdk/models/company_news_summary.rb +2 -2
  174. data/lib/intrinio-sdk/models/company_shares_outstanding.rb +2 -2
  175. data/lib/intrinio-sdk/models/company_summary.rb +2 -2
  176. data/lib/intrinio-sdk/models/data_tag.rb +2 -2
  177. data/lib/intrinio-sdk/models/data_tag_summary.rb +2 -2
  178. data/lib/intrinio-sdk/models/detrended_price_oscillator_technical_value.rb +2 -2
  179. data/lib/intrinio-sdk/models/dividend_record.rb +2 -2
  180. data/lib/intrinio-sdk/models/donchian_channel_technical_value.rb +2 -2
  181. data/lib/intrinio-sdk/models/earnings_record.rb +2 -2
  182. data/lib/intrinio-sdk/models/ease_of_movement_technical_value.rb +2 -2
  183. data/lib/intrinio-sdk/models/economic_index.rb +2 -2
  184. data/lib/intrinio-sdk/models/economic_index_summary.rb +2 -2
  185. data/lib/intrinio-sdk/models/etf.rb +2 -2
  186. data/lib/intrinio-sdk/models/etf_analytics.rb +2 -2
  187. data/lib/intrinio-sdk/models/etf_holding.rb +2 -2
  188. data/lib/intrinio-sdk/models/etf_stats.rb +2 -2
  189. data/lib/intrinio-sdk/models/etf_summary.rb +2 -2
  190. data/lib/intrinio-sdk/models/filing.rb +2 -2
  191. data/lib/intrinio-sdk/models/filing_note.rb +2 -2
  192. data/lib/intrinio-sdk/models/filing_note_filing.rb +2 -2
  193. data/lib/intrinio-sdk/models/filing_note_summary.rb +2 -2
  194. data/lib/intrinio-sdk/models/filing_summary.rb +2 -2
  195. data/lib/intrinio-sdk/models/force_index_technical_value.rb +2 -2
  196. data/lib/intrinio-sdk/models/forex_currency.rb +2 -2
  197. data/lib/intrinio-sdk/models/forex_pair.rb +2 -2
  198. data/lib/intrinio-sdk/models/forex_price.rb +2 -2
  199. data/lib/intrinio-sdk/models/fundamental.rb +2 -2
  200. data/lib/intrinio-sdk/models/fundamental_summary.rb +2 -2
  201. data/lib/intrinio-sdk/models/historical_data.rb +2 -2
  202. data/lib/intrinio-sdk/models/ichimoku_kinko_hyo_technical_value.rb +2 -2
  203. data/lib/intrinio-sdk/models/insider_transaction.rb +2 -2
  204. data/lib/intrinio-sdk/models/insider_transaction_filing.rb +2 -2
  205. data/lib/intrinio-sdk/models/institutional_holding.rb +2 -2
  206. data/lib/intrinio-sdk/models/institutional_ownership.rb +2 -2
  207. data/lib/intrinio-sdk/models/intraday_stock_price.rb +2 -2
  208. data/lib/intrinio-sdk/models/keltner_channel_technical_value.rb +2 -2
  209. data/lib/intrinio-sdk/models/know_sure_thing_technical_value.rb +2 -2
  210. data/lib/intrinio-sdk/models/mass_index_technical_value.rb +2 -2
  211. data/lib/intrinio-sdk/models/money_flow_index_technical_value.rb +2 -2
  212. data/lib/intrinio-sdk/models/moving_average_convergence_divergence_technical_value.rb +2 -2
  213. data/lib/intrinio-sdk/models/municipality.rb +2 -2
  214. data/lib/intrinio-sdk/models/municipality_financial.rb +2 -2
  215. data/lib/intrinio-sdk/models/negative_volume_index_technical_value.rb +2 -2
  216. data/lib/intrinio-sdk/models/on_balance_volume_mean_technical_value.rb +2 -2
  217. data/lib/intrinio-sdk/models/on_balance_volume_technical_value.rb +2 -2
  218. data/lib/intrinio-sdk/models/option.rb +2 -2
  219. data/lib/intrinio-sdk/models/option_chain.rb +2 -2
  220. data/lib/intrinio-sdk/models/option_chain_eod.rb +197 -0
  221. data/lib/intrinio-sdk/models/option_chain_realtime.rb +2 -2
  222. data/lib/intrinio-sdk/models/option_contracts_list.rb +2 -2
  223. data/lib/intrinio-sdk/models/option_eod.rb +229 -0
  224. data/lib/intrinio-sdk/models/option_factors_realtime.rb +2 -2
  225. data/lib/intrinio-sdk/models/option_price.rb +2 -2
  226. data/lib/intrinio-sdk/models/option_price_batch_realtime.rb +2 -2
  227. data/lib/intrinio-sdk/models/option_price_eod.rb +339 -0
  228. data/lib/intrinio-sdk/models/option_price_realtime.rb +2 -2
  229. data/lib/intrinio-sdk/models/option_realtime.rb +2 -2
  230. data/lib/intrinio-sdk/models/option_stats_realtime.rb +2 -2
  231. data/lib/intrinio-sdk/models/option_unusual_trade.rb +322 -0
  232. data/lib/intrinio-sdk/models/owner.rb +2 -2
  233. data/lib/intrinio-sdk/models/owner_summary.rb +2 -2
  234. data/lib/intrinio-sdk/models/realtime_stock_price.rb +2 -2
  235. data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +2 -2
  236. data/lib/intrinio-sdk/models/relative_strength_index_technical_value.rb +2 -2
  237. data/lib/intrinio-sdk/models/reported_financial.rb +2 -2
  238. data/lib/intrinio-sdk/models/reported_financial_dimension.rb +2 -2
  239. data/lib/intrinio-sdk/models/reported_tag.rb +2 -2
  240. data/lib/intrinio-sdk/models/security.rb +2 -2
  241. data/lib/intrinio-sdk/models/security_screen_clause.rb +2 -2
  242. data/lib/intrinio-sdk/models/security_screen_group.rb +2 -2
  243. data/lib/intrinio-sdk/models/security_screen_result.rb +2 -2
  244. data/lib/intrinio-sdk/models/security_screen_result_data.rb +2 -2
  245. data/lib/intrinio-sdk/models/security_summary.rb +2 -2
  246. data/lib/intrinio-sdk/models/sic_index.rb +2 -2
  247. data/lib/intrinio-sdk/models/simple_moving_average_technical_value.rb +2 -2
  248. data/lib/intrinio-sdk/models/standardized_financial.rb +2 -2
  249. data/lib/intrinio-sdk/models/{thea_source_document_tags.rb → standardized_financials_dimension.rb} +13 -13
  250. data/lib/intrinio-sdk/models/stochastic_oscillator_technical_value.rb +2 -2
  251. data/lib/intrinio-sdk/models/stock_exchange.rb +2 -2
  252. data/lib/intrinio-sdk/models/stock_market_index.rb +2 -2
  253. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +2 -2
  254. data/lib/intrinio-sdk/models/stock_price.rb +2 -2
  255. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +2 -2
  256. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +2 -2
  257. data/lib/intrinio-sdk/models/stock_price_interval.rb +2 -2
  258. data/lib/intrinio-sdk/models/stock_price_summary.rb +2 -2
  259. data/lib/intrinio-sdk/models/technical_indicator.rb +2 -2
  260. data/lib/intrinio-sdk/models/thea_entity_answer.rb +3 -2
  261. data/lib/intrinio-sdk/models/thea_source_document.rb +3 -3
  262. data/lib/intrinio-sdk/models/triple_exponential_average_technical_value.rb +2 -2
  263. data/lib/intrinio-sdk/models/true_strength_index_technical_value.rb +2 -2
  264. data/lib/intrinio-sdk/models/ultimate_oscillator_technical_value.rb +2 -2
  265. data/lib/intrinio-sdk/models/volume_price_trend_technical_value.rb +2 -2
  266. data/lib/intrinio-sdk/models/volume_weighted_average_price_value.rb +2 -2
  267. data/lib/intrinio-sdk/models/vortex_indicator_technical_value.rb +2 -2
  268. data/lib/intrinio-sdk/models/williams_r_technical_value.rb +2 -2
  269. data/lib/intrinio-sdk/models/zacks_analyst_rating.rb +2 -2
  270. data/lib/intrinio-sdk/models/zacks_analyst_rating_snapshot.rb +2 -2
  271. data/lib/intrinio-sdk/models/zacks_analyst_rating_summary.rb +2 -2
  272. data/lib/intrinio-sdk/models/zacks_eps_estimate.rb +2 -2
  273. data/lib/intrinio-sdk/models/zacks_eps_growth_rate.rb +2 -2
  274. data/lib/intrinio-sdk/models/zacks_eps_surprise.rb +2 -2
  275. data/lib/intrinio-sdk/models/zacks_eps_surprise_summary.rb +2 -2
  276. data/lib/intrinio-sdk/models/zacks_etf_holding.rb +2 -2
  277. data/lib/intrinio-sdk/models/zacks_institutional_holding.rb +2 -2
  278. data/lib/intrinio-sdk/models/zacks_institutional_holding_company_detail.rb +2 -2
  279. data/lib/intrinio-sdk/models/zacks_institutional_holding_company_summary.rb +2 -2
  280. data/lib/intrinio-sdk/models/zacks_institutional_holding_historical_summary.rb +2 -2
  281. data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_detail.rb +2 -2
  282. data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_summary.rb +2 -2
  283. data/lib/intrinio-sdk/models/zacks_long_term_growth_rate.rb +2 -2
  284. data/lib/intrinio-sdk/models/zacks_sales_surprise.rb +2 -2
  285. data/lib/intrinio-sdk/models/zacks_sales_surprise_summary.rb +2 -2
  286. data/lib/intrinio-sdk/models/zacks_target_price_consensus.rb +2 -2
  287. data/lib/intrinio-sdk/version.rb +3 -3
  288. data/lib/intrinio-sdk.rb +12 -3
  289. data/spec/api/bulk_downloads_api_spec.rb +2 -2
  290. data/spec/api/company_api_spec.rb +4 -2
  291. data/spec/api/data_point_api_spec.rb +2 -2
  292. data/spec/api/data_tag_api_spec.rb +2 -2
  293. data/spec/api/et_fs_api_spec.rb +2 -2
  294. data/spec/api/filing_api_spec.rb +16 -2
  295. data/spec/api/forex_api_spec.rb +2 -2
  296. data/spec/api/fundamentals_api_spec.rb +15 -2
  297. data/spec/api/historical_data_api_spec.rb +2 -2
  298. data/spec/api/index_api_spec.rb +2 -2
  299. data/spec/api/insider_transaction_filings_api_spec.rb +2 -2
  300. data/spec/api/municipality_api_spec.rb +2 -2
  301. data/spec/api/options_api_spec.rb +69 -2
  302. data/spec/api/owners_api_spec.rb +2 -2
  303. data/spec/api/security_api_spec.rb +5 -5
  304. data/spec/api/stock_exchange_api_spec.rb +2 -2
  305. data/spec/api/technical_api_spec.rb +2 -2
  306. data/spec/api/zacks_api_spec.rb +2 -2
  307. data/spec/api_client_spec.rb +2 -2
  308. data/spec/configuration_spec.rb +2 -2
  309. data/spec/models/accumulation_distribution_index_technical_value_spec.rb +2 -2
  310. data/spec/models/api_response_bulk_download_links_spec.rb +2 -2
  311. data/spec/models/api_response_companies_search_spec.rb +2 -2
  312. data/spec/models/api_response_companies_spec.rb +2 -2
  313. data/spec/models/api_response_company_answers_spec.rb +2 -2
  314. data/spec/models/api_response_company_filings_spec.rb +2 -2
  315. data/spec/models/api_response_company_fundamentals_spec.rb +2 -2
  316. data/spec/models/api_response_company_historical_data_spec.rb +2 -2
  317. data/spec/models/api_response_company_insider_transaction_filings_spec.rb +2 -2
  318. data/spec/models/api_response_company_news_spec.rb +2 -2
  319. data/spec/models/api_response_company_recognize_spec.rb +2 -2
  320. data/spec/models/api_response_company_securities_spec.rb +2 -2
  321. data/spec/models/api_response_company_shares_outstanding_spec.rb +2 -2
  322. data/spec/models/api_response_data_tags_search_spec.rb +2 -2
  323. data/spec/models/api_response_data_tags_spec.rb +2 -2
  324. data/spec/models/api_response_economic_index_historical_data_spec.rb +2 -2
  325. data/spec/models/api_response_economic_indices_search_spec.rb +2 -2
  326. data/spec/models/api_response_economic_indices_spec.rb +2 -2
  327. data/spec/models/api_response_et_fs_spec.rb +2 -2
  328. data/spec/models/api_response_etf_holdings_spec.rb +2 -2
  329. data/spec/models/api_response_filing_answers_spec.rb +60 -0
  330. data/spec/models/api_response_filing_fundamentals_spec.rb +2 -2
  331. data/spec/models/api_response_filing_notes_search_spec.rb +2 -2
  332. data/spec/models/api_response_filing_notes_spec.rb +2 -2
  333. data/spec/models/api_response_filings_spec.rb +2 -2
  334. data/spec/models/api_response_forex_currencies_spec.rb +2 -2
  335. data/spec/models/api_response_forex_pairs_spec.rb +2 -2
  336. data/spec/models/api_response_forex_prices_spec.rb +2 -2
  337. data/spec/models/api_response_historical_data_spec.rb +2 -2
  338. data/spec/models/api_response_initial_public_offerings_spec.rb +2 -2
  339. data/spec/models/api_response_insider_transaction_filings_spec.rb +2 -2
  340. data/spec/models/api_response_municipalities_spec.rb +2 -2
  341. data/spec/models/api_response_municipalitiy_financials_spec.rb +2 -2
  342. data/spec/models/api_response_news_spec.rb +2 -2
  343. data/spec/models/api_response_option_prices_spec.rb +2 -2
  344. data/spec/models/api_response_options_chain_eod_spec.rb +42 -0
  345. data/spec/models/api_response_options_chain_realtime_spec.rb +2 -2
  346. data/spec/models/api_response_options_chain_spec.rb +2 -2
  347. data/spec/models/api_response_options_expirations_spec.rb +2 -2
  348. data/spec/models/api_response_options_price_realtime_spec.rb +2 -2
  349. data/spec/models/api_response_options_prices_batch_realtime_spec.rb +2 -2
  350. data/spec/models/api_response_options_prices_eod_spec.rb +48 -0
  351. data/spec/models/api_response_options_realtime_spec.rb +2 -2
  352. data/spec/models/api_response_options_spec.rb +2 -2
  353. data/spec/models/api_response_options_stats_realtime_spec.rb +2 -2
  354. data/spec/models/api_response_options_tickers_spec.rb +2 -2
  355. data/spec/models/api_response_options_unusual_activity_spec.rb +42 -0
  356. data/spec/models/api_response_owner_insider_transaction_filings_spec.rb +2 -2
  357. data/spec/models/api_response_owner_institutional_holdings_spec.rb +2 -2
  358. data/spec/models/api_response_owners_spec.rb +2 -2
  359. data/spec/models/api_response_reported_financials_spec.rb +2 -2
  360. data/spec/models/api_response_securities_search_spec.rb +2 -2
  361. data/spec/models/api_response_securities_spec.rb +2 -2
  362. data/spec/models/api_response_security_accumulation_distribution_index_spec.rb +2 -2
  363. data/spec/models/api_response_security_average_daily_trading_volume_spec.rb +2 -2
  364. data/spec/models/api_response_security_average_directional_index_spec.rb +2 -2
  365. data/spec/models/api_response_security_average_true_range_spec.rb +2 -2
  366. data/spec/models/api_response_security_awesome_oscillator_spec.rb +2 -2
  367. data/spec/models/api_response_security_bollinger_bands_spec.rb +2 -2
  368. data/spec/models/api_response_security_chaikin_money_flow_spec.rb +2 -2
  369. data/spec/models/api_response_security_commodity_channel_index_spec.rb +2 -2
  370. data/spec/models/api_response_security_detrended_price_oscillator_spec.rb +2 -2
  371. data/spec/models/api_response_security_donchian_channel_spec.rb +2 -2
  372. data/spec/models/api_response_security_ease_of_movement_spec.rb +2 -2
  373. data/spec/models/api_response_security_force_index_spec.rb +2 -2
  374. data/spec/models/api_response_security_historical_data_spec.rb +2 -2
  375. data/spec/models/api_response_security_ichimoku_kinko_hyo_spec.rb +2 -2
  376. data/spec/models/api_response_security_institutional_ownership_spec.rb +2 -2
  377. data/spec/models/api_response_security_interval_prices_spec.rb +2 -2
  378. data/spec/models/api_response_security_intraday_prices_spec.rb +2 -2
  379. data/spec/models/api_response_security_keltner_channel_spec.rb +2 -2
  380. data/spec/models/api_response_security_know_sure_thing_spec.rb +2 -2
  381. data/spec/models/api_response_security_mass_index_spec.rb +2 -2
  382. data/spec/models/api_response_security_money_flow_index_spec.rb +2 -2
  383. data/spec/models/api_response_security_moving_average_convergence_divergence_spec.rb +2 -2
  384. data/spec/models/api_response_security_negative_volume_index_spec.rb +2 -2
  385. data/spec/models/api_response_security_on_balance_volume_mean_spec.rb +2 -2
  386. data/spec/models/api_response_security_on_balance_volume_spec.rb +2 -2
  387. data/spec/models/api_response_security_relative_strength_index_spec.rb +2 -2
  388. data/spec/models/api_response_security_simple_moving_average_spec.rb +2 -2
  389. data/spec/models/api_response_security_stochastic_oscillator_spec.rb +2 -2
  390. data/spec/models/api_response_security_stock_price_adjustments_spec.rb +2 -2
  391. data/spec/models/api_response_security_stock_prices_spec.rb +2 -2
  392. data/spec/models/api_response_security_triple_exponential_average_spec.rb +2 -2
  393. data/spec/models/api_response_security_true_strength_index_spec.rb +2 -2
  394. data/spec/models/api_response_security_ultimate_oscillator_spec.rb +2 -2
  395. data/spec/models/api_response_security_volume_price_trend_spec.rb +2 -2
  396. data/spec/models/api_response_security_volume_weighted_average_price_spec.rb +2 -2
  397. data/spec/models/api_response_security_vortex_indicator_spec.rb +2 -2
  398. data/spec/models/api_response_security_williams_r_spec.rb +2 -2
  399. data/spec/models/api_response_security_zacks_analyst_ratings_snapshot_spec.rb +2 -2
  400. data/spec/models/api_response_security_zacks_analyst_ratings_spec.rb +2 -2
  401. data/spec/models/api_response_security_zacks_eps_surprises_spec.rb +2 -2
  402. data/spec/models/api_response_security_zacks_sales_surprises_spec.rb +2 -2
  403. data/spec/models/api_response_sic_index_historical_data_spec.rb +2 -2
  404. data/spec/models/api_response_sic_indices_search_spec.rb +2 -2
  405. data/spec/models/api_response_sic_indices_spec.rb +2 -2
  406. data/spec/models/api_response_standardized_financials_dimensions_spec.rb +54 -0
  407. data/spec/models/api_response_standardized_financials_spec.rb +2 -2
  408. data/spec/models/api_response_stock_exchange_realtime_stock_prices_spec.rb +2 -2
  409. data/spec/models/api_response_stock_exchange_securities_spec.rb +2 -2
  410. data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +2 -2
  411. data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +2 -2
  412. data/spec/models/api_response_stock_exchanges_spec.rb +2 -2
  413. data/spec/models/api_response_stock_market_index_historical_data_spec.rb +2 -2
  414. data/spec/models/api_response_stock_market_indices_search_spec.rb +2 -2
  415. data/spec/models/api_response_stock_market_indices_spec.rb +2 -2
  416. data/spec/models/api_response_zacks_analyst_ratings_spec.rb +2 -2
  417. data/spec/models/api_response_zacks_eps_estimates_spec.rb +2 -2
  418. data/spec/models/api_response_zacks_eps_growth_rates_spec.rb +2 -2
  419. data/spec/models/api_response_zacks_eps_surprises_spec.rb +2 -2
  420. data/spec/models/api_response_zacks_etf_holdings_spec.rb +2 -2
  421. data/spec/models/api_response_zacks_institutional_holding_companies_spec.rb +2 -2
  422. data/spec/models/api_response_zacks_institutional_holding_owners_spec.rb +2 -2
  423. data/spec/models/api_response_zacks_institutional_holdings_spec.rb +2 -2
  424. data/spec/models/api_response_zacks_long_term_growth_rates_spec.rb +2 -2
  425. data/spec/models/api_response_zacks_sales_surprises_spec.rb +2 -2
  426. data/spec/models/api_response_zacks_target_price_consensuses_spec.rb +2 -2
  427. data/spec/models/average_daily_trading_volume_technical_value_spec.rb +2 -2
  428. data/spec/models/average_directional_index_technical_value_spec.rb +2 -2
  429. data/spec/models/average_true_range_technical_value_spec.rb +2 -2
  430. data/spec/models/awesome_oscillator_technical_value_spec.rb +2 -2
  431. data/spec/models/bollinger_bands_technical_value_spec.rb +2 -2
  432. data/spec/models/bulk_download_links_spec.rb +2 -2
  433. data/spec/models/bulk_download_summary_spec.rb +2 -2
  434. data/spec/models/chaikin_money_flow_technical_value_spec.rb +2 -2
  435. data/spec/models/commodity_channel_index_technical_value_spec.rb +2 -2
  436. data/spec/models/company_filing_spec.rb +2 -2
  437. data/spec/models/company_initial_public_offering_spec.rb +2 -2
  438. data/spec/models/company_news_spec.rb +2 -2
  439. data/spec/models/company_news_summary_spec.rb +2 -2
  440. data/spec/models/company_shares_outstanding_spec.rb +2 -2
  441. data/spec/models/company_spec.rb +2 -2
  442. data/spec/models/company_summary_spec.rb +2 -2
  443. data/spec/models/data_tag_spec.rb +2 -2
  444. data/spec/models/data_tag_summary_spec.rb +2 -2
  445. data/spec/models/detrended_price_oscillator_technical_value_spec.rb +2 -2
  446. data/spec/models/dividend_record_spec.rb +2 -2
  447. data/spec/models/donchian_channel_technical_value_spec.rb +2 -2
  448. data/spec/models/earnings_record_spec.rb +2 -2
  449. data/spec/models/ease_of_movement_technical_value_spec.rb +2 -2
  450. data/spec/models/economic_index_spec.rb +2 -2
  451. data/spec/models/economic_index_summary_spec.rb +2 -2
  452. data/spec/models/etf_analytics_spec.rb +2 -2
  453. data/spec/models/etf_holding_spec.rb +2 -2
  454. data/spec/models/etf_spec.rb +2 -2
  455. data/spec/models/etf_stats_spec.rb +2 -2
  456. data/spec/models/etf_summary_spec.rb +2 -2
  457. data/spec/models/filing_note_filing_spec.rb +2 -2
  458. data/spec/models/filing_note_spec.rb +2 -2
  459. data/spec/models/filing_note_summary_spec.rb +2 -2
  460. data/spec/models/filing_spec.rb +2 -2
  461. data/spec/models/filing_summary_spec.rb +2 -2
  462. data/spec/models/force_index_technical_value_spec.rb +2 -2
  463. data/spec/models/forex_currency_spec.rb +2 -2
  464. data/spec/models/forex_pair_spec.rb +2 -2
  465. data/spec/models/forex_price_spec.rb +2 -2
  466. data/spec/models/fundamental_spec.rb +2 -2
  467. data/spec/models/fundamental_summary_spec.rb +2 -2
  468. data/spec/models/historical_data_spec.rb +2 -2
  469. data/spec/models/ichimoku_kinko_hyo_technical_value_spec.rb +2 -2
  470. data/spec/models/insider_transaction_filing_spec.rb +2 -2
  471. data/spec/models/insider_transaction_spec.rb +2 -2
  472. data/spec/models/institutional_holding_spec.rb +2 -2
  473. data/spec/models/institutional_ownership_spec.rb +2 -2
  474. data/spec/models/intraday_stock_price_spec.rb +2 -2
  475. data/spec/models/keltner_channel_technical_value_spec.rb +2 -2
  476. data/spec/models/know_sure_thing_technical_value_spec.rb +2 -2
  477. data/spec/models/mass_index_technical_value_spec.rb +2 -2
  478. data/spec/models/money_flow_index_technical_value_spec.rb +2 -2
  479. data/spec/models/moving_average_convergence_divergence_technical_value_spec.rb +2 -2
  480. data/spec/models/municipality_financial_spec.rb +2 -2
  481. data/spec/models/municipality_spec.rb +2 -2
  482. data/spec/models/negative_volume_index_technical_value_spec.rb +2 -2
  483. data/spec/models/on_balance_volume_mean_technical_value_spec.rb +2 -2
  484. data/spec/models/on_balance_volume_technical_value_spec.rb +2 -2
  485. data/spec/models/option_chain_eod_spec.rb +48 -0
  486. data/spec/models/option_chain_realtime_spec.rb +2 -2
  487. data/spec/models/option_chain_spec.rb +2 -2
  488. data/spec/models/option_contracts_list_spec.rb +2 -2
  489. data/spec/models/option_eod_spec.rb +66 -0
  490. data/spec/models/option_factors_realtime_spec.rb +2 -2
  491. data/spec/models/option_price_batch_realtime_spec.rb +2 -2
  492. data/spec/models/option_price_eod_spec.rb +132 -0
  493. data/spec/models/option_price_realtime_spec.rb +2 -2
  494. data/spec/models/option_price_spec.rb +2 -2
  495. data/spec/models/option_realtime_spec.rb +2 -2
  496. data/spec/models/option_spec.rb +2 -2
  497. data/spec/models/option_stats_realtime_spec.rb +2 -2
  498. data/spec/models/option_unusual_trade_spec.rb +106 -0
  499. data/spec/models/owner_spec.rb +2 -2
  500. data/spec/models/owner_summary_spec.rb +2 -2
  501. data/spec/models/realtime_stock_price_security_spec.rb +2 -2
  502. data/spec/models/realtime_stock_price_spec.rb +2 -2
  503. data/spec/models/relative_strength_index_technical_value_spec.rb +2 -2
  504. data/spec/models/reported_financial_dimension_spec.rb +2 -2
  505. data/spec/models/reported_financial_spec.rb +2 -2
  506. data/spec/models/reported_tag_spec.rb +2 -2
  507. data/spec/models/security_screen_clause_spec.rb +2 -2
  508. data/spec/models/security_screen_group_spec.rb +2 -2
  509. data/spec/models/security_screen_result_data_spec.rb +2 -2
  510. data/spec/models/security_screen_result_spec.rb +2 -2
  511. data/spec/models/security_spec.rb +2 -2
  512. data/spec/models/security_summary_spec.rb +2 -2
  513. data/spec/models/sic_index_spec.rb +2 -2
  514. data/spec/models/simple_moving_average_technical_value_spec.rb +2 -2
  515. data/spec/models/standardized_financial_spec.rb +2 -2
  516. data/spec/models/{thea_source_document_tags_spec.rb → standardized_financials_dimension_spec.rb} +9 -9
  517. data/spec/models/stochastic_oscillator_technical_value_spec.rb +2 -2
  518. data/spec/models/stock_exchange_spec.rb +2 -2
  519. data/spec/models/stock_market_index_spec.rb +2 -2
  520. data/spec/models/stock_market_index_summary_spec.rb +2 -2
  521. data/spec/models/stock_price_adjustment_spec.rb +2 -2
  522. data/spec/models/stock_price_adjustment_summary_spec.rb +2 -2
  523. data/spec/models/stock_price_interval_spec.rb +2 -2
  524. data/spec/models/stock_price_spec.rb +2 -2
  525. data/spec/models/stock_price_summary_spec.rb +2 -2
  526. data/spec/models/technical_indicator_spec.rb +2 -2
  527. data/spec/models/thea_entity_answer_spec.rb +2 -2
  528. data/spec/models/thea_source_document_spec.rb +2 -2
  529. data/spec/models/triple_exponential_average_technical_value_spec.rb +2 -2
  530. data/spec/models/true_strength_index_technical_value_spec.rb +2 -2
  531. data/spec/models/ultimate_oscillator_technical_value_spec.rb +2 -2
  532. data/spec/models/volume_price_trend_technical_value_spec.rb +2 -2
  533. data/spec/models/volume_weighted_average_price_value_spec.rb +2 -2
  534. data/spec/models/vortex_indicator_technical_value_spec.rb +2 -2
  535. data/spec/models/williams_r_technical_value_spec.rb +2 -2
  536. data/spec/models/zacks_analyst_rating_snapshot_spec.rb +2 -2
  537. data/spec/models/zacks_analyst_rating_spec.rb +2 -2
  538. data/spec/models/zacks_analyst_rating_summary_spec.rb +2 -2
  539. data/spec/models/zacks_eps_estimate_spec.rb +2 -2
  540. data/spec/models/zacks_eps_growth_rate_spec.rb +2 -2
  541. data/spec/models/zacks_eps_surprise_spec.rb +2 -2
  542. data/spec/models/zacks_eps_surprise_summary_spec.rb +2 -2
  543. data/spec/models/zacks_etf_holding_spec.rb +2 -2
  544. data/spec/models/zacks_institutional_holding_company_detail_spec.rb +2 -2
  545. data/spec/models/zacks_institutional_holding_company_summary_spec.rb +2 -2
  546. data/spec/models/zacks_institutional_holding_historical_summary_spec.rb +2 -2
  547. data/spec/models/zacks_institutional_holding_owner_detail_spec.rb +2 -2
  548. data/spec/models/zacks_institutional_holding_owner_summary_spec.rb +2 -2
  549. data/spec/models/zacks_institutional_holding_spec.rb +2 -2
  550. data/spec/models/zacks_long_term_growth_rate_spec.rb +2 -2
  551. data/spec/models/zacks_sales_surprise_spec.rb +2 -2
  552. data/spec/models/zacks_sales_surprise_summary_spec.rb +2 -2
  553. data/spec/models/zacks_target_price_consensus_spec.rb +2 -2
  554. data/spec/spec_helper.rb +2 -2
  555. metadata +43 -7
  556. data/docs/TheaSourceDocumentTags.md +0 -21
@@ -0,0 +1,339 @@
1
+ =begin
2
+ #Intrinio API
3
+
4
+ #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://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
+
6
+ OpenAPI spec version: 2.26.6
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module Intrinio
16
+ # An option price contains price information for a specific options contract.
17
+ class OptionPriceEod
18
+ # The date of the price, in the format YYYY-MM-DD
19
+ attr_accessor :date
20
+
21
+ # The closing price of the options contract.
22
+ attr_accessor :close
23
+
24
+ # The closing bid price of the options contract.
25
+ attr_accessor :close_bid
26
+
27
+ # The closing ask price of the options contract.
28
+ attr_accessor :close_ask
29
+
30
+ # The cumulative volume of this options contract that traded that day.
31
+ attr_accessor :volume
32
+
33
+ # The price at the beginning of the period
34
+ attr_accessor :open
35
+
36
+ # The ask at the beginning of the period
37
+ attr_accessor :open_ask
38
+
39
+ # The bid at the beginning of the period
40
+ attr_accessor :open_bid
41
+
42
+ # The total number of this options contract that are still open.
43
+ attr_accessor :open_interest
44
+
45
+ # The highest price over the span of the period
46
+ attr_accessor :high
47
+
48
+ # The highest price over the span of the period
49
+ attr_accessor :low
50
+
51
+ # The mid price between the latest bid and ask spread
52
+ attr_accessor :mark
53
+
54
+ # The highest ask over the span of the period
55
+ attr_accessor :ask_high
56
+
57
+ # The lowest ask over the span of the period
58
+ attr_accessor :ask_low
59
+
60
+ # The highest bid over the span of the period
61
+ attr_accessor :bid_high
62
+
63
+ # The lowest bid over the span of the period
64
+ attr_accessor :bid_low
65
+
66
+
67
+ # Attribute mapping from ruby-style variable name to JSON key.
68
+ def self.attribute_map
69
+ {
70
+ :'date' => :'date',
71
+ :'close' => :'close',
72
+ :'close_bid' => :'close_bid',
73
+ :'close_ask' => :'close_ask',
74
+ :'volume' => :'volume',
75
+ :'open' => :'open',
76
+ :'open_ask' => :'open_ask',
77
+ :'open_bid' => :'open_bid',
78
+ :'open_interest' => :'open_interest',
79
+ :'high' => :'high',
80
+ :'low' => :'low',
81
+ :'mark' => :'mark',
82
+ :'ask_high' => :'ask_high',
83
+ :'ask_low' => :'ask_low',
84
+ :'bid_high' => :'bid_high',
85
+ :'bid_low' => :'bid_low'
86
+ }
87
+ end
88
+
89
+ # Attribute type mapping.
90
+ def self.swagger_types
91
+ {
92
+ :'date' => :'String',
93
+ :'close' => :'Float',
94
+ :'close_bid' => :'Float',
95
+ :'close_ask' => :'Float',
96
+ :'volume' => :'Integer',
97
+ :'open' => :'Float',
98
+ :'open_ask' => :'Float',
99
+ :'open_bid' => :'Float',
100
+ :'open_interest' => :'Integer',
101
+ :'high' => :'Float',
102
+ :'low' => :'Float',
103
+ :'mark' => :'Float',
104
+ :'ask_high' => :'Float',
105
+ :'ask_low' => :'Float',
106
+ :'bid_high' => :'Float',
107
+ :'bid_low' => :'Object'
108
+ }
109
+ end
110
+
111
+ # Initializes the object
112
+ # @param [Hash] attributes Model attributes in the form of hash
113
+ def initialize(attributes = {})
114
+ return unless attributes.is_a?(Hash)
115
+
116
+ # convert string to symbol for hash key
117
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
118
+
119
+ if attributes.has_key?(:'date')
120
+ self.date = attributes[:'date']
121
+ end
122
+
123
+ if attributes.has_key?(:'close')
124
+ self.close = attributes[:'close']
125
+ end
126
+
127
+ if attributes.has_key?(:'close_bid')
128
+ self.close_bid = attributes[:'close_bid']
129
+ end
130
+
131
+ if attributes.has_key?(:'close_ask')
132
+ self.close_ask = attributes[:'close_ask']
133
+ end
134
+
135
+ if attributes.has_key?(:'volume')
136
+ self.volume = attributes[:'volume']
137
+ end
138
+
139
+ if attributes.has_key?(:'open')
140
+ self.open = attributes[:'open']
141
+ end
142
+
143
+ if attributes.has_key?(:'open_ask')
144
+ self.open_ask = attributes[:'open_ask']
145
+ end
146
+
147
+ if attributes.has_key?(:'open_bid')
148
+ self.open_bid = attributes[:'open_bid']
149
+ end
150
+
151
+ if attributes.has_key?(:'open_interest')
152
+ self.open_interest = attributes[:'open_interest']
153
+ end
154
+
155
+ if attributes.has_key?(:'high')
156
+ self.high = attributes[:'high']
157
+ end
158
+
159
+ if attributes.has_key?(:'low')
160
+ self.low = attributes[:'low']
161
+ end
162
+
163
+ if attributes.has_key?(:'mark')
164
+ self.mark = attributes[:'mark']
165
+ end
166
+
167
+ if attributes.has_key?(:'ask_high')
168
+ self.ask_high = attributes[:'ask_high']
169
+ end
170
+
171
+ if attributes.has_key?(:'ask_low')
172
+ self.ask_low = attributes[:'ask_low']
173
+ end
174
+
175
+ if attributes.has_key?(:'bid_high')
176
+ self.bid_high = attributes[:'bid_high']
177
+ end
178
+
179
+ if attributes.has_key?(:'bid_low')
180
+ self.bid_low = attributes[:'bid_low']
181
+ end
182
+
183
+ end
184
+
185
+ # Show invalid properties with the reasons. Usually used together with valid?
186
+ # @return Array for valid properties with the reasons
187
+ def list_invalid_properties
188
+ invalid_properties = Array.new
189
+ return invalid_properties
190
+ end
191
+
192
+ # Check to see if the all the properties in the model are valid
193
+ # @return true if the model is valid
194
+ def valid?
195
+ return true
196
+ end
197
+
198
+ # Checks equality by comparing each attribute.
199
+ # @param [Object] Object to be compared
200
+ def ==(o)
201
+ return true if self.equal?(o)
202
+ self.class == o.class &&
203
+ date == o.date &&
204
+ close == o.close &&
205
+ close_bid == o.close_bid &&
206
+ close_ask == o.close_ask &&
207
+ volume == o.volume &&
208
+ open == o.open &&
209
+ open_ask == o.open_ask &&
210
+ open_bid == o.open_bid &&
211
+ open_interest == o.open_interest &&
212
+ high == o.high &&
213
+ low == o.low &&
214
+ mark == o.mark &&
215
+ ask_high == o.ask_high &&
216
+ ask_low == o.ask_low &&
217
+ bid_high == o.bid_high &&
218
+ bid_low == o.bid_low
219
+ end
220
+
221
+ # @see the `==` method
222
+ # @param [Object] Object to be compared
223
+ def eql?(o)
224
+ self == o
225
+ end
226
+
227
+ # Calculates hash code according to all attributes.
228
+ # @return [Fixnum] Hash code
229
+ def hash
230
+ [date, close, close_bid, close_ask, volume, open, open_ask, open_bid, open_interest, high, low, mark, ask_high, ask_low, bid_high, bid_low].hash
231
+ end
232
+
233
+ # Builds the object from hash
234
+ # @param [Hash] attributes Model attributes in the form of hash
235
+ # @return [Object] Returns the model itself
236
+ def build_from_hash(attributes)
237
+ return nil unless attributes.is_a?(Hash)
238
+ self.class.swagger_types.each_pair do |key, type|
239
+ if type =~ /\AArray<(.*)>/i
240
+ # check to ensure the input is an array given that the the attribute
241
+ # is documented as an array but the input is not
242
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
243
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
244
+ end
245
+ elsif !attributes[self.class.attribute_map[key]].nil?
246
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
247
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
248
+ end
249
+
250
+ self
251
+ end
252
+
253
+ # Deserializes the data based on type
254
+ # @param string type Data type
255
+ # @param string value Value to be deserialized
256
+ # @return [Object] Deserialized data
257
+ def _deserialize(type, value)
258
+ case type.to_sym
259
+ when :DateTime
260
+ DateTime.parse(value)
261
+ when :Date
262
+ Date.parse(value)
263
+ when :String
264
+ value.to_s
265
+ when :Integer
266
+ value.to_i
267
+ when :Float
268
+ value.to_f
269
+ when :BOOLEAN
270
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
271
+ true
272
+ else
273
+ false
274
+ end
275
+ when :Object
276
+ # generic object (usually a Hash), return directly
277
+ value
278
+ when /\AArray<(?<inner_type>.+)>\z/
279
+ inner_type = Regexp.last_match[:inner_type]
280
+ value.map { |v| _deserialize(inner_type, v) }
281
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
282
+ k_type = Regexp.last_match[:k_type]
283
+ v_type = Regexp.last_match[:v_type]
284
+ {}.tap do |hash|
285
+ value.each do |k, v|
286
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
287
+ end
288
+ end
289
+ else # model
290
+ temp_model = Intrinio.const_get(type).new
291
+ temp_model.build_from_hash(value)
292
+ end
293
+ end
294
+
295
+ # Returns the string representation of the object
296
+ # @return [String] String presentation of the object
297
+ def to_s
298
+ to_hash.to_s
299
+ end
300
+
301
+ # to_body is an alias to to_hash (backward compatibility)
302
+ # @return [Hash] Returns the object in the form of hash
303
+ def to_body
304
+ to_hash
305
+ end
306
+
307
+ # Returns the object in the form of hash
308
+ # @return [Hash] Returns the object in the form of hash
309
+ def to_hash
310
+ hash = {}
311
+ self.class.attribute_map.each_pair do |attr, param|
312
+ value = self.send(attr)
313
+ next if value.nil?
314
+ hash[param] = _to_hash(value)
315
+ end
316
+ hash
317
+ end
318
+
319
+ # Outputs non-array value in the form of hash
320
+ # For object, use to_hash. Otherwise, just return the value
321
+ # @param [Object] value Any valid value
322
+ # @return [Hash] Returns the value in the form of hash
323
+ def _to_hash(value)
324
+ if value.is_a?(Array)
325
+ value.compact.map{ |v| _to_hash(v) }
326
+ elsif value.is_a?(Hash)
327
+ {}.tap do |hash|
328
+ value.each { |k, v| hash[k] = _to_hash(v) }
329
+ end
330
+ elsif value.respond_to? :to_hash
331
+ value.to_hash
332
+ else
333
+ value
334
+ end
335
+ end
336
+
337
+ end
338
+
339
+ end
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #Intrinio API
3
3
 
4
- #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
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.23.0
6
+ OpenAPI spec version: 2.26.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: unset
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #Intrinio API
3
3
 
4
- #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
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.23.0
6
+ OpenAPI spec version: 2.26.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: unset
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #Intrinio API
3
3
 
4
- #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
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.23.0
6
+ OpenAPI spec version: 2.26.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: unset
@@ -0,0 +1,322 @@
1
+ =begin
2
+ #Intrinio API
3
+
4
+ #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://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
+
6
+ OpenAPI spec version: 2.26.6
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module Intrinio
16
+ # A large market order that is broken into a collection of smaller orders to take advantage of all contracts and prices offered across all exchanges.
17
+ class OptionUnusualTrade
18
+ # The underlying option security symbol for the trade
19
+ attr_accessor :symbol
20
+
21
+ # The UTC timestamp of order placement
22
+ attr_accessor :timestamp
23
+
24
+ # The type of unusual trade
25
+ attr_accessor :type
26
+
27
+ # The aggregated value of all option contract premiums included in the trade\\
28
+ attr_accessor :total_value
29
+
30
+ # The total number of contracts involved in a single transaction
31
+ attr_accessor :total_size
32
+
33
+ # The average premium paid per option contract
34
+ attr_accessor :average_price
35
+
36
+ # The option contract symbol
37
+ attr_accessor :contract
38
+
39
+ # Ask price at execution
40
+ attr_accessor :ask_at_execution
41
+
42
+ # Bid price at execution
43
+ attr_accessor :bid_at_execution
44
+
45
+ # Bullish, Bearish, or Neutral Sentiment is estimated based on whether the trade was executed at the bid, ask, or mark price.
46
+ attr_accessor :sentiment
47
+
48
+ # Price of the underlying security at execution of trade
49
+ attr_accessor :underlying_price_at_execution
50
+
51
+ class EnumAttributeValidator
52
+ attr_reader :datatype
53
+ attr_reader :allowable_values
54
+
55
+ def initialize(datatype, allowable_values)
56
+ @allowable_values = allowable_values.map do |value|
57
+ case datatype.to_s
58
+ when /Integer/i
59
+ value.to_i
60
+ when /Float/i
61
+ value.to_f
62
+ else
63
+ value
64
+ end
65
+ end
66
+ end
67
+
68
+ def valid?(value)
69
+ !value || allowable_values.include?(value)
70
+ end
71
+ end
72
+
73
+ # Attribute mapping from ruby-style variable name to JSON key.
74
+ def self.attribute_map
75
+ {
76
+ :'symbol' => :'symbol',
77
+ :'timestamp' => :'timestamp',
78
+ :'type' => :'type',
79
+ :'total_value' => :'total_value',
80
+ :'total_size' => :'total_size',
81
+ :'average_price' => :'average_price',
82
+ :'contract' => :'contract',
83
+ :'ask_at_execution' => :'ask_at_execution',
84
+ :'bid_at_execution' => :'bid_at_execution',
85
+ :'sentiment' => :'sentiment',
86
+ :'underlying_price_at_execution' => :'underlying_price_at_execution'
87
+ }
88
+ end
89
+
90
+ # Attribute type mapping.
91
+ def self.swagger_types
92
+ {
93
+ :'symbol' => :'String',
94
+ :'timestamp' => :'Date',
95
+ :'type' => :'String',
96
+ :'total_value' => :'Float',
97
+ :'total_size' => :'Float',
98
+ :'average_price' => :'Float',
99
+ :'contract' => :'String',
100
+ :'ask_at_execution' => :'Float',
101
+ :'bid_at_execution' => :'Float',
102
+ :'sentiment' => :'String',
103
+ :'underlying_price_at_execution' => :'Float'
104
+ }
105
+ end
106
+
107
+ # Initializes the object
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ def initialize(attributes = {})
110
+ return unless attributes.is_a?(Hash)
111
+
112
+ # convert string to symbol for hash key
113
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
114
+
115
+ if attributes.has_key?(:'symbol')
116
+ self.symbol = attributes[:'symbol']
117
+ end
118
+
119
+ if attributes.has_key?(:'timestamp')
120
+ self.timestamp = attributes[:'timestamp']
121
+ end
122
+
123
+ if attributes.has_key?(:'type')
124
+ self.type = attributes[:'type']
125
+ end
126
+
127
+ if attributes.has_key?(:'total_value')
128
+ self.total_value = attributes[:'total_value']
129
+ end
130
+
131
+ if attributes.has_key?(:'total_size')
132
+ self.total_size = attributes[:'total_size']
133
+ end
134
+
135
+ if attributes.has_key?(:'average_price')
136
+ self.average_price = attributes[:'average_price']
137
+ end
138
+
139
+ if attributes.has_key?(:'contract')
140
+ self.contract = attributes[:'contract']
141
+ end
142
+
143
+ if attributes.has_key?(:'ask_at_execution')
144
+ self.ask_at_execution = attributes[:'ask_at_execution']
145
+ end
146
+
147
+ if attributes.has_key?(:'bid_at_execution')
148
+ self.bid_at_execution = attributes[:'bid_at_execution']
149
+ end
150
+
151
+ if attributes.has_key?(:'sentiment')
152
+ self.sentiment = attributes[:'sentiment']
153
+ end
154
+
155
+ if attributes.has_key?(:'underlying_price_at_execution')
156
+ self.underlying_price_at_execution = attributes[:'underlying_price_at_execution']
157
+ end
158
+
159
+ end
160
+
161
+ # Show invalid properties with the reasons. Usually used together with valid?
162
+ # @return Array for valid properties with the reasons
163
+ def list_invalid_properties
164
+ invalid_properties = Array.new
165
+ return invalid_properties
166
+ end
167
+
168
+ # Check to see if the all the properties in the model are valid
169
+ # @return true if the model is valid
170
+ def valid?
171
+ sentiment_validator = EnumAttributeValidator.new('String', ["bullish", "bearish", "neutral"])
172
+ return false unless sentiment_validator.valid?(@sentiment)
173
+ return true
174
+ end
175
+
176
+ # Custom attribute writer method checking allowed values (enum).
177
+ # @param [Object] sentiment Object to be assigned
178
+ def sentiment=(sentiment)
179
+ validator = EnumAttributeValidator.new('String', ["bullish", "bearish", "neutral"])
180
+ unless validator.valid?(sentiment)
181
+ fail ArgumentError, "invalid value for 'sentiment', must be one of #{validator.allowable_values}."
182
+ end
183
+ @sentiment = sentiment
184
+ end
185
+
186
+ # Checks equality by comparing each attribute.
187
+ # @param [Object] Object to be compared
188
+ def ==(o)
189
+ return true if self.equal?(o)
190
+ self.class == o.class &&
191
+ symbol == o.symbol &&
192
+ timestamp == o.timestamp &&
193
+ type == o.type &&
194
+ total_value == o.total_value &&
195
+ total_size == o.total_size &&
196
+ average_price == o.average_price &&
197
+ contract == o.contract &&
198
+ ask_at_execution == o.ask_at_execution &&
199
+ bid_at_execution == o.bid_at_execution &&
200
+ sentiment == o.sentiment &&
201
+ underlying_price_at_execution == o.underlying_price_at_execution
202
+ end
203
+
204
+ # @see the `==` method
205
+ # @param [Object] Object to be compared
206
+ def eql?(o)
207
+ self == o
208
+ end
209
+
210
+ # Calculates hash code according to all attributes.
211
+ # @return [Fixnum] Hash code
212
+ def hash
213
+ [symbol, timestamp, type, total_value, total_size, average_price, contract, ask_at_execution, bid_at_execution, sentiment, underlying_price_at_execution].hash
214
+ end
215
+
216
+ # Builds the object from hash
217
+ # @param [Hash] attributes Model attributes in the form of hash
218
+ # @return [Object] Returns the model itself
219
+ def build_from_hash(attributes)
220
+ return nil unless attributes.is_a?(Hash)
221
+ self.class.swagger_types.each_pair do |key, type|
222
+ if type =~ /\AArray<(.*)>/i
223
+ # check to ensure the input is an array given that the the attribute
224
+ # is documented as an array but the input is not
225
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
226
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
227
+ end
228
+ elsif !attributes[self.class.attribute_map[key]].nil?
229
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
230
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
231
+ end
232
+
233
+ self
234
+ end
235
+
236
+ # Deserializes the data based on type
237
+ # @param string type Data type
238
+ # @param string value Value to be deserialized
239
+ # @return [Object] Deserialized data
240
+ def _deserialize(type, value)
241
+ case type.to_sym
242
+ when :DateTime
243
+ DateTime.parse(value)
244
+ when :Date
245
+ Date.parse(value)
246
+ when :String
247
+ value.to_s
248
+ when :Integer
249
+ value.to_i
250
+ when :Float
251
+ value.to_f
252
+ when :BOOLEAN
253
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
254
+ true
255
+ else
256
+ false
257
+ end
258
+ when :Object
259
+ # generic object (usually a Hash), return directly
260
+ value
261
+ when /\AArray<(?<inner_type>.+)>\z/
262
+ inner_type = Regexp.last_match[:inner_type]
263
+ value.map { |v| _deserialize(inner_type, v) }
264
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
265
+ k_type = Regexp.last_match[:k_type]
266
+ v_type = Regexp.last_match[:v_type]
267
+ {}.tap do |hash|
268
+ value.each do |k, v|
269
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
270
+ end
271
+ end
272
+ else # model
273
+ temp_model = Intrinio.const_get(type).new
274
+ temp_model.build_from_hash(value)
275
+ end
276
+ end
277
+
278
+ # Returns the string representation of the object
279
+ # @return [String] String presentation of the object
280
+ def to_s
281
+ to_hash.to_s
282
+ end
283
+
284
+ # to_body is an alias to to_hash (backward compatibility)
285
+ # @return [Hash] Returns the object in the form of hash
286
+ def to_body
287
+ to_hash
288
+ end
289
+
290
+ # Returns the object in the form of hash
291
+ # @return [Hash] Returns the object in the form of hash
292
+ def to_hash
293
+ hash = {}
294
+ self.class.attribute_map.each_pair do |attr, param|
295
+ value = self.send(attr)
296
+ next if value.nil?
297
+ hash[param] = _to_hash(value)
298
+ end
299
+ hash
300
+ end
301
+
302
+ # Outputs non-array value in the form of hash
303
+ # For object, use to_hash. Otherwise, just return the value
304
+ # @param [Object] value Any valid value
305
+ # @return [Hash] Returns the value in the form of hash
306
+ def _to_hash(value)
307
+ if value.is_a?(Array)
308
+ value.compact.map{ |v| _to_hash(v) }
309
+ elsif value.is_a?(Hash)
310
+ {}.tap do |hash|
311
+ value.each { |k, v| hash[k] = _to_hash(v) }
312
+ end
313
+ elsif value.respond_to? :to_hash
314
+ value.to_hash
315
+ else
316
+ value
317
+ end
318
+ end
319
+
320
+ end
321
+
322
+ end