intrinio-sdk 5.6.1 → 5.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (540) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +2 -0
  3. data/README.md +51 -12
  4. data/docs/ApiResponseCompanyInsiderTransactionFilings.md +28 -0
  5. data/docs/ApiResponseInsiderTransactionFilings.md +32 -0
  6. data/docs/ApiResponseOptionsChainRealtime.md +23 -0
  7. data/docs/ApiResponseOptionsPriceRealtime.md +31 -0
  8. data/docs/ApiResponseOptionsStatsRealtime.md +31 -0
  9. data/docs/ApiResponseOwnerInsiderTransactionFilings.md +28 -0
  10. data/docs/ApiResponseOwnerInstitutionalHoldings.md +21 -0
  11. data/docs/ApiResponseOwners.md +24 -0
  12. data/docs/ApiResponseSecurityInstitutionalOwnership.md +24 -0
  13. data/docs/ApiResponseSecurityIntervalPrices.md +29 -0
  14. data/docs/BulkDownloadsApi.md +3 -7
  15. data/docs/CompanyApi.md +296 -171
  16. data/docs/DataPointApi.md +10 -22
  17. data/docs/DataTagApi.md +21 -33
  18. data/docs/ETFsApi.md +30 -57
  19. data/docs/FilingApi.md +72 -116
  20. data/docs/ForexApi.md +22 -35
  21. data/docs/FundamentalsApi.md +19 -42
  22. data/docs/HistoricalDataApi.md +14 -19
  23. data/docs/IndexApi.md +117 -204
  24. data/docs/InsiderTransaction.md +44 -0
  25. data/docs/InsiderTransactionFiling.md +32 -0
  26. data/docs/InsiderTransactionFilingsApi.md +95 -0
  27. data/docs/InstitutionalHolding.md +34 -0
  28. data/docs/InstitutionalOwnership.md +29 -0
  29. data/docs/MunicipalityApi.md +28 -39
  30. data/docs/OptionChainRealtime.md +31 -0
  31. data/docs/OptionFactorsRealtime.md +25 -0
  32. data/docs/OptionPriceRealtime.md +31 -0
  33. data/docs/OptionRealtime.md +24 -0
  34. data/docs/OptionStatsRealtime.md +24 -0
  35. data/docs/OptionsApi.md +314 -62
  36. data/docs/Owner.md +32 -0
  37. data/docs/OwnerSummary.md +21 -0
  38. data/docs/OwnersApi.md +434 -0
  39. data/docs/RealtimeStockPrice.md +2 -0
  40. data/docs/SecurityApi.md +715 -721
  41. data/docs/SecuritySummary.md +1 -0
  42. data/docs/StockExchangeApi.md +43 -67
  43. data/docs/StockPrice.md +7 -0
  44. data/docs/StockPriceInterval.md +25 -0
  45. data/docs/TechnicalApi.md +359 -483
  46. data/docs/ZacksApi.md +132 -165
  47. data/intrinio-sdk.gemspec +3 -2
  48. data/lib/intrinio-sdk.rb +25 -1
  49. data/lib/intrinio-sdk/api/bulk_downloads_api.rb +1 -1
  50. data/lib/intrinio-sdk/api/company_api.rb +148 -1
  51. data/lib/intrinio-sdk/api/data_point_api.rb +1 -1
  52. data/lib/intrinio-sdk/api/data_tag_api.rb +1 -1
  53. data/lib/intrinio-sdk/api/et_fs_api.rb +1 -1
  54. data/lib/intrinio-sdk/api/filing_api.rb +1 -1
  55. data/lib/intrinio-sdk/api/forex_api.rb +5 -5
  56. data/lib/intrinio-sdk/api/fundamentals_api.rb +1 -1
  57. data/lib/intrinio-sdk/api/historical_data_api.rb +1 -1
  58. data/lib/intrinio-sdk/api/index_api.rb +1 -1
  59. data/lib/intrinio-sdk/api/insider_transaction_filings_api.rb +86 -0
  60. data/lib/intrinio-sdk/api/municipality_api.rb +3 -3
  61. data/lib/intrinio-sdk/api/options_api.rb +217 -1
  62. data/lib/intrinio-sdk/api/owners_api.rb +338 -0
  63. data/lib/intrinio-sdk/api/security_api.rb +157 -15
  64. data/lib/intrinio-sdk/api/stock_exchange_api.rb +3 -3
  65. data/lib/intrinio-sdk/api/technical_api.rb +1 -1
  66. data/lib/intrinio-sdk/api/zacks_api.rb +1 -1
  67. data/lib/intrinio-sdk/api_client.rb +56 -24
  68. data/lib/intrinio-sdk/api_error.rb +1 -1
  69. data/lib/intrinio-sdk/configuration.rb +4 -1
  70. data/lib/intrinio-sdk/models/accumulation_distribution_index_technical_value.rb +1 -1
  71. data/lib/intrinio-sdk/models/api_response_bulk_download_links.rb +1 -1
  72. data/lib/intrinio-sdk/models/api_response_companies.rb +1 -1
  73. data/lib/intrinio-sdk/models/api_response_companies_search.rb +1 -1
  74. data/lib/intrinio-sdk/models/api_response_company_filings.rb +1 -1
  75. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +1 -1
  76. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +1 -1
  77. data/lib/intrinio-sdk/models/api_response_company_insider_transaction_filings.rb +210 -0
  78. data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
  79. data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
  80. data/lib/intrinio-sdk/models/api_response_data_tags.rb +1 -1
  81. data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +1 -1
  82. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +1 -1
  83. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +1 -1
  84. data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +1 -1
  85. data/lib/intrinio-sdk/models/api_response_et_fs.rb +1 -1
  86. data/lib/intrinio-sdk/models/api_response_etf_holdings.rb +1 -1
  87. data/lib/intrinio-sdk/models/api_response_filing_fundamentals.rb +1 -1
  88. data/lib/intrinio-sdk/models/api_response_filing_notes.rb +1 -1
  89. data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +1 -1
  90. data/lib/intrinio-sdk/models/api_response_filings.rb +1 -1
  91. data/lib/intrinio-sdk/models/api_response_forex_currencies.rb +1 -1
  92. data/lib/intrinio-sdk/models/api_response_forex_pairs.rb +1 -1
  93. data/lib/intrinio-sdk/models/api_response_forex_prices.rb +1 -1
  94. data/lib/intrinio-sdk/models/api_response_historical_data.rb +1 -1
  95. data/lib/intrinio-sdk/models/api_response_initial_public_offerings.rb +1 -1
  96. data/lib/intrinio-sdk/models/api_response_insider_transaction_filings.rb +220 -0
  97. data/lib/intrinio-sdk/models/api_response_municipalities.rb +1 -1
  98. data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +1 -1
  99. data/lib/intrinio-sdk/models/api_response_news.rb +1 -1
  100. data/lib/intrinio-sdk/models/api_response_option_prices.rb +1 -1
  101. data/lib/intrinio-sdk/models/api_response_options.rb +1 -1
  102. data/lib/intrinio-sdk/models/api_response_options_chain.rb +1 -1
  103. data/lib/intrinio-sdk/models/api_response_options_chain_realtime.rb +191 -0
  104. data/lib/intrinio-sdk/models/api_response_options_expirations.rb +1 -1
  105. data/lib/intrinio-sdk/models/api_response_options_price_realtime.rb +206 -0
  106. data/lib/intrinio-sdk/models/api_response_options_stats_realtime.rb +206 -0
  107. data/lib/intrinio-sdk/models/api_response_owner_insider_transaction_filings.rb +210 -0
  108. data/lib/intrinio-sdk/models/api_response_owner_institutional_holdings.rb +198 -0
  109. data/lib/intrinio-sdk/models/api_response_owners.rb +201 -0
  110. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +1 -1
  111. data/lib/intrinio-sdk/models/api_response_securities.rb +1 -1
  112. data/lib/intrinio-sdk/models/api_response_securities_search.rb +1 -1
  113. data/lib/intrinio-sdk/models/api_response_security_accumulation_distribution_index.rb +1 -1
  114. data/lib/intrinio-sdk/models/api_response_security_average_daily_trading_volume.rb +1 -1
  115. data/lib/intrinio-sdk/models/api_response_security_average_directional_index.rb +1 -1
  116. data/lib/intrinio-sdk/models/api_response_security_average_true_range.rb +1 -1
  117. data/lib/intrinio-sdk/models/api_response_security_awesome_oscillator.rb +1 -1
  118. data/lib/intrinio-sdk/models/api_response_security_bollinger_bands.rb +1 -1
  119. data/lib/intrinio-sdk/models/api_response_security_chaikin_money_flow.rb +1 -1
  120. data/lib/intrinio-sdk/models/api_response_security_commodity_channel_index.rb +1 -1
  121. data/lib/intrinio-sdk/models/api_response_security_detrended_price_oscillator.rb +1 -1
  122. data/lib/intrinio-sdk/models/api_response_security_donchian_channel.rb +1 -1
  123. data/lib/intrinio-sdk/models/api_response_security_ease_of_movement.rb +1 -1
  124. data/lib/intrinio-sdk/models/api_response_security_force_index.rb +1 -1
  125. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +1 -1
  126. data/lib/intrinio-sdk/models/api_response_security_ichimoku_kinko_hyo.rb +1 -1
  127. data/lib/intrinio-sdk/models/api_response_security_institutional_ownership.rb +200 -0
  128. data/lib/intrinio-sdk/models/api_response_security_interval_prices.rb +254 -0
  129. data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +1 -1
  130. data/lib/intrinio-sdk/models/api_response_security_keltner_channel.rb +1 -1
  131. data/lib/intrinio-sdk/models/api_response_security_know_sure_thing.rb +1 -1
  132. data/lib/intrinio-sdk/models/api_response_security_mass_index.rb +1 -1
  133. data/lib/intrinio-sdk/models/api_response_security_money_flow_index.rb +1 -1
  134. data/lib/intrinio-sdk/models/api_response_security_moving_average_convergence_divergence.rb +1 -1
  135. data/lib/intrinio-sdk/models/api_response_security_negative_volume_index.rb +1 -1
  136. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume.rb +1 -1
  137. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume_mean.rb +1 -1
  138. data/lib/intrinio-sdk/models/api_response_security_relative_strength_index.rb +1 -1
  139. data/lib/intrinio-sdk/models/api_response_security_simple_moving_average.rb +1 -1
  140. data/lib/intrinio-sdk/models/api_response_security_stochastic_oscillator.rb +1 -1
  141. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +1 -1
  142. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +1 -1
  143. data/lib/intrinio-sdk/models/api_response_security_triple_exponential_average.rb +1 -1
  144. data/lib/intrinio-sdk/models/api_response_security_true_strength_index.rb +1 -1
  145. data/lib/intrinio-sdk/models/api_response_security_ultimate_oscillator.rb +1 -1
  146. data/lib/intrinio-sdk/models/api_response_security_volume_price_trend.rb +1 -1
  147. data/lib/intrinio-sdk/models/api_response_security_volume_weighted_average_price.rb +1 -1
  148. data/lib/intrinio-sdk/models/api_response_security_vortex_indicator.rb +1 -1
  149. data/lib/intrinio-sdk/models/api_response_security_williams_r.rb +1 -1
  150. data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings.rb +1 -1
  151. data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings_snapshot.rb +1 -1
  152. data/lib/intrinio-sdk/models/api_response_security_zacks_eps_surprises.rb +1 -1
  153. data/lib/intrinio-sdk/models/api_response_security_zacks_sales_surprises.rb +1 -1
  154. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +1 -1
  155. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +1 -1
  156. data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +1 -1
  157. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +1 -1
  158. data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +1 -1
  159. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +1 -1
  160. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +1 -1
  161. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +1 -1
  162. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +1 -1
  163. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +1 -1
  164. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +1 -1
  165. data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +1 -1
  166. data/lib/intrinio-sdk/models/api_response_zacks_analyst_ratings.rb +1 -1
  167. data/lib/intrinio-sdk/models/api_response_zacks_eps_estimates.rb +1 -1
  168. data/lib/intrinio-sdk/models/api_response_zacks_eps_growth_rates.rb +1 -1
  169. data/lib/intrinio-sdk/models/api_response_zacks_eps_surprises.rb +1 -1
  170. data/lib/intrinio-sdk/models/api_response_zacks_etf_holdings.rb +1 -1
  171. data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_companies.rb +1 -1
  172. data/lib/intrinio-sdk/models/api_response_zacks_institutional_holding_owners.rb +1 -1
  173. data/lib/intrinio-sdk/models/api_response_zacks_institutional_holdings.rb +1 -1
  174. data/lib/intrinio-sdk/models/api_response_zacks_long_term_growth_rates.rb +1 -1
  175. data/lib/intrinio-sdk/models/api_response_zacks_sales_surprises.rb +1 -1
  176. data/lib/intrinio-sdk/models/api_response_zacks_target_price_consensuses.rb +1 -1
  177. data/lib/intrinio-sdk/models/average_daily_trading_volume_technical_value.rb +1 -1
  178. data/lib/intrinio-sdk/models/average_directional_index_technical_value.rb +1 -1
  179. data/lib/intrinio-sdk/models/average_true_range_technical_value.rb +1 -1
  180. data/lib/intrinio-sdk/models/awesome_oscillator_technical_value.rb +1 -1
  181. data/lib/intrinio-sdk/models/bollinger_bands_technical_value.rb +1 -1
  182. data/lib/intrinio-sdk/models/bulk_download_links.rb +1 -1
  183. data/lib/intrinio-sdk/models/bulk_download_summary.rb +1 -1
  184. data/lib/intrinio-sdk/models/chaikin_money_flow_technical_value.rb +1 -1
  185. data/lib/intrinio-sdk/models/commodity_channel_index_technical_value.rb +1 -1
  186. data/lib/intrinio-sdk/models/company.rb +1 -1
  187. data/lib/intrinio-sdk/models/company_filing.rb +1 -1
  188. data/lib/intrinio-sdk/models/company_initial_public_offering.rb +1 -1
  189. data/lib/intrinio-sdk/models/company_news.rb +1 -1
  190. data/lib/intrinio-sdk/models/company_news_summary.rb +1 -1
  191. data/lib/intrinio-sdk/models/company_summary.rb +1 -1
  192. data/lib/intrinio-sdk/models/data_tag.rb +1 -1
  193. data/lib/intrinio-sdk/models/data_tag_summary.rb +1 -1
  194. data/lib/intrinio-sdk/models/detrended_price_oscillator_technical_value.rb +1 -1
  195. data/lib/intrinio-sdk/models/dividend_record.rb +1 -1
  196. data/lib/intrinio-sdk/models/donchian_channel_technical_value.rb +1 -1
  197. data/lib/intrinio-sdk/models/earnings_record.rb +1 -1
  198. data/lib/intrinio-sdk/models/ease_of_movement_technical_value.rb +1 -1
  199. data/lib/intrinio-sdk/models/economic_index.rb +1 -1
  200. data/lib/intrinio-sdk/models/economic_index_summary.rb +1 -1
  201. data/lib/intrinio-sdk/models/etf.rb +1 -1
  202. data/lib/intrinio-sdk/models/etf_analytics.rb +1 -1
  203. data/lib/intrinio-sdk/models/etf_holding.rb +1 -1
  204. data/lib/intrinio-sdk/models/etf_stats.rb +1 -1
  205. data/lib/intrinio-sdk/models/etf_summary.rb +1 -1
  206. data/lib/intrinio-sdk/models/filing.rb +1 -1
  207. data/lib/intrinio-sdk/models/filing_note.rb +1 -1
  208. data/lib/intrinio-sdk/models/filing_note_filing.rb +1 -1
  209. data/lib/intrinio-sdk/models/filing_note_summary.rb +1 -1
  210. data/lib/intrinio-sdk/models/filing_summary.rb +1 -1
  211. data/lib/intrinio-sdk/models/force_index_technical_value.rb +1 -1
  212. data/lib/intrinio-sdk/models/forex_currency.rb +1 -1
  213. data/lib/intrinio-sdk/models/forex_pair.rb +1 -1
  214. data/lib/intrinio-sdk/models/forex_price.rb +1 -1
  215. data/lib/intrinio-sdk/models/fundamental.rb +1 -1
  216. data/lib/intrinio-sdk/models/fundamental_summary.rb +1 -1
  217. data/lib/intrinio-sdk/models/historical_data.rb +1 -1
  218. data/lib/intrinio-sdk/models/ichimoku_kinko_hyo_technical_value.rb +1 -1
  219. data/lib/intrinio-sdk/models/insider_transaction.rb +369 -0
  220. data/lib/intrinio-sdk/models/insider_transaction_filing.rb +221 -0
  221. data/lib/intrinio-sdk/models/institutional_holding.rb +329 -0
  222. data/lib/intrinio-sdk/models/institutional_ownership.rb +279 -0
  223. data/lib/intrinio-sdk/models/intraday_stock_price.rb +1 -1
  224. data/lib/intrinio-sdk/models/keltner_channel_technical_value.rb +1 -1
  225. data/lib/intrinio-sdk/models/know_sure_thing_technical_value.rb +1 -1
  226. data/lib/intrinio-sdk/models/mass_index_technical_value.rb +1 -1
  227. data/lib/intrinio-sdk/models/money_flow_index_technical_value.rb +1 -1
  228. data/lib/intrinio-sdk/models/moving_average_convergence_divergence_technical_value.rb +1 -1
  229. data/lib/intrinio-sdk/models/municipality.rb +1 -1
  230. data/lib/intrinio-sdk/models/municipality_financial.rb +1 -1
  231. data/lib/intrinio-sdk/models/negative_volume_index_technical_value.rb +1 -1
  232. data/lib/intrinio-sdk/models/on_balance_volume_mean_technical_value.rb +1 -1
  233. data/lib/intrinio-sdk/models/on_balance_volume_technical_value.rb +1 -1
  234. data/lib/intrinio-sdk/models/option.rb +1 -1
  235. data/lib/intrinio-sdk/models/option_chain.rb +1 -1
  236. data/lib/intrinio-sdk/models/option_chain_realtime.rb +206 -0
  237. data/lib/intrinio-sdk/models/option_factors_realtime.rb +239 -0
  238. data/lib/intrinio-sdk/models/option_price.rb +1 -1
  239. data/lib/intrinio-sdk/models/option_price_realtime.rb +332 -0
  240. data/lib/intrinio-sdk/models/option_realtime.rb +262 -0
  241. data/lib/intrinio-sdk/models/option_stats_realtime.rb +229 -0
  242. data/lib/intrinio-sdk/models/owner.rb +309 -0
  243. data/lib/intrinio-sdk/models/owner_summary.rb +199 -0
  244. data/lib/intrinio-sdk/models/realtime_stock_price.rb +22 -2
  245. data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +1 -1
  246. data/lib/intrinio-sdk/models/relative_strength_index_technical_value.rb +1 -1
  247. data/lib/intrinio-sdk/models/reported_financial.rb +1 -1
  248. data/lib/intrinio-sdk/models/reported_financial_dimension.rb +1 -1
  249. data/lib/intrinio-sdk/models/reported_tag.rb +1 -1
  250. data/lib/intrinio-sdk/models/security.rb +1 -1
  251. data/lib/intrinio-sdk/models/security_screen_clause.rb +1 -1
  252. data/lib/intrinio-sdk/models/security_screen_group.rb +1 -1
  253. data/lib/intrinio-sdk/models/security_screen_result.rb +1 -1
  254. data/lib/intrinio-sdk/models/security_screen_result_data.rb +1 -1
  255. data/lib/intrinio-sdk/models/security_summary.rb +15 -5
  256. data/lib/intrinio-sdk/models/sic_index.rb +1 -1
  257. data/lib/intrinio-sdk/models/simple_moving_average_technical_value.rb +1 -1
  258. data/lib/intrinio-sdk/models/standardized_financial.rb +1 -1
  259. data/lib/intrinio-sdk/models/stochastic_oscillator_technical_value.rb +1 -1
  260. data/lib/intrinio-sdk/models/stock_exchange.rb +1 -1
  261. data/lib/intrinio-sdk/models/stock_market_index.rb +1 -1
  262. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +1 -1
  263. data/lib/intrinio-sdk/models/stock_price.rb +72 -2
  264. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +1 -1
  265. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +1 -1
  266. data/lib/intrinio-sdk/models/stock_price_interval.rb +239 -0
  267. data/lib/intrinio-sdk/models/stock_price_summary.rb +1 -1
  268. data/lib/intrinio-sdk/models/technical_indicator.rb +1 -1
  269. data/lib/intrinio-sdk/models/triple_exponential_average_technical_value.rb +1 -1
  270. data/lib/intrinio-sdk/models/true_strength_index_technical_value.rb +1 -1
  271. data/lib/intrinio-sdk/models/ultimate_oscillator_technical_value.rb +1 -1
  272. data/lib/intrinio-sdk/models/volume_price_trend_technical_value.rb +1 -1
  273. data/lib/intrinio-sdk/models/volume_weighted_average_price_value.rb +1 -1
  274. data/lib/intrinio-sdk/models/vortex_indicator_technical_value.rb +1 -1
  275. data/lib/intrinio-sdk/models/williams_r_technical_value.rb +1 -1
  276. data/lib/intrinio-sdk/models/zacks_analyst_rating.rb +1 -1
  277. data/lib/intrinio-sdk/models/zacks_analyst_rating_snapshot.rb +1 -1
  278. data/lib/intrinio-sdk/models/zacks_analyst_rating_summary.rb +1 -1
  279. data/lib/intrinio-sdk/models/zacks_eps_estimate.rb +1 -1
  280. data/lib/intrinio-sdk/models/zacks_eps_growth_rate.rb +1 -1
  281. data/lib/intrinio-sdk/models/zacks_eps_surprise.rb +1 -1
  282. data/lib/intrinio-sdk/models/zacks_eps_surprise_summary.rb +1 -1
  283. data/lib/intrinio-sdk/models/zacks_etf_holding.rb +1 -1
  284. data/lib/intrinio-sdk/models/zacks_institutional_holding.rb +1 -1
  285. data/lib/intrinio-sdk/models/zacks_institutional_holding_company_detail.rb +1 -1
  286. data/lib/intrinio-sdk/models/zacks_institutional_holding_company_summary.rb +1 -1
  287. data/lib/intrinio-sdk/models/zacks_institutional_holding_historical_summary.rb +1 -1
  288. data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_detail.rb +1 -1
  289. data/lib/intrinio-sdk/models/zacks_institutional_holding_owner_summary.rb +1 -1
  290. data/lib/intrinio-sdk/models/zacks_long_term_growth_rate.rb +1 -1
  291. data/lib/intrinio-sdk/models/zacks_sales_surprise.rb +1 -1
  292. data/lib/intrinio-sdk/models/zacks_sales_surprise_summary.rb +1 -1
  293. data/lib/intrinio-sdk/models/zacks_target_price_consensus.rb +1 -1
  294. data/lib/intrinio-sdk/version.rb +2 -2
  295. data/spec/api/bulk_downloads_api_spec.rb +1 -1
  296. data/spec/api/company_api_spec.rb +36 -1
  297. data/spec/api/data_point_api_spec.rb +1 -1
  298. data/spec/api/data_tag_api_spec.rb +1 -1
  299. data/spec/api/et_fs_api_spec.rb +1 -1
  300. data/spec/api/filing_api_spec.rb +1 -1
  301. data/spec/api/forex_api_spec.rb +3 -3
  302. data/spec/api/fundamentals_api_spec.rb +1 -1
  303. data/spec/api/historical_data_api_spec.rb +1 -1
  304. data/spec/api/index_api_spec.rb +1 -1
  305. data/spec/api/insider_transaction_filings_api_spec.rb +50 -0
  306. data/spec/api/municipality_api_spec.rb +2 -2
  307. data/spec/api/options_api_spec.rb +50 -1
  308. data/spec/api/owners_api_spec.rb +107 -0
  309. data/spec/api/security_api_spec.rb +41 -7
  310. data/spec/api/stock_exchange_api_spec.rb +1 -1
  311. data/spec/api/technical_api_spec.rb +1 -1
  312. data/spec/api/zacks_api_spec.rb +1 -1
  313. data/spec/api_client_spec.rb +1 -1
  314. data/spec/configuration_spec.rb +1 -1
  315. data/spec/models/accumulation_distribution_index_technical_value_spec.rb +1 -1
  316. data/spec/models/api_response_bulk_download_links_spec.rb +1 -1
  317. data/spec/models/api_response_companies_search_spec.rb +1 -1
  318. data/spec/models/api_response_companies_spec.rb +1 -1
  319. data/spec/models/api_response_company_filings_spec.rb +1 -1
  320. data/spec/models/api_response_company_fundamentals_spec.rb +1 -1
  321. data/spec/models/api_response_company_historical_data_spec.rb +1 -1
  322. data/spec/models/api_response_company_insider_transaction_filings_spec.rb +54 -0
  323. data/spec/models/api_response_company_news_spec.rb +1 -1
  324. data/spec/models/api_response_company_securities_spec.rb +1 -1
  325. data/spec/models/api_response_data_tags_search_spec.rb +1 -1
  326. data/spec/models/api_response_data_tags_spec.rb +1 -1
  327. data/spec/models/api_response_economic_index_historical_data_spec.rb +1 -1
  328. data/spec/models/api_response_economic_indices_search_spec.rb +1 -1
  329. data/spec/models/api_response_economic_indices_spec.rb +1 -1
  330. data/spec/models/api_response_et_fs_spec.rb +1 -1
  331. data/spec/models/api_response_etf_holdings_spec.rb +1 -1
  332. data/spec/models/api_response_filing_fundamentals_spec.rb +1 -1
  333. data/spec/models/api_response_filing_notes_search_spec.rb +1 -1
  334. data/spec/models/api_response_filing_notes_spec.rb +1 -1
  335. data/spec/models/api_response_filings_spec.rb +1 -1
  336. data/spec/models/api_response_forex_currencies_spec.rb +1 -1
  337. data/spec/models/api_response_forex_pairs_spec.rb +1 -1
  338. data/spec/models/api_response_forex_prices_spec.rb +1 -1
  339. data/spec/models/api_response_historical_data_spec.rb +1 -1
  340. data/spec/models/api_response_initial_public_offerings_spec.rb +1 -1
  341. data/spec/models/api_response_insider_transaction_filings_spec.rb +60 -0
  342. data/spec/models/api_response_municipalities_spec.rb +1 -1
  343. data/spec/models/api_response_municipalitiy_financials_spec.rb +1 -1
  344. data/spec/models/api_response_news_spec.rb +1 -1
  345. data/spec/models/api_response_option_prices_spec.rb +1 -1
  346. data/spec/models/api_response_options_chain_realtime_spec.rb +42 -0
  347. data/spec/models/api_response_options_chain_spec.rb +1 -1
  348. data/spec/models/api_response_options_expirations_spec.rb +1 -1
  349. data/spec/models/api_response_options_price_realtime_spec.rb +54 -0
  350. data/spec/models/api_response_options_spec.rb +1 -1
  351. data/spec/models/api_response_options_stats_realtime_spec.rb +54 -0
  352. data/spec/models/api_response_owner_insider_transaction_filings_spec.rb +54 -0
  353. data/spec/models/api_response_owner_institutional_holdings_spec.rb +48 -0
  354. data/spec/models/api_response_owners_spec.rb +48 -0
  355. data/spec/models/api_response_reported_financials_spec.rb +1 -1
  356. data/spec/models/api_response_securities_search_spec.rb +1 -1
  357. data/spec/models/api_response_securities_spec.rb +1 -1
  358. data/spec/models/api_response_security_accumulation_distribution_index_spec.rb +1 -1
  359. data/spec/models/api_response_security_average_daily_trading_volume_spec.rb +1 -1
  360. data/spec/models/api_response_security_average_directional_index_spec.rb +1 -1
  361. data/spec/models/api_response_security_average_true_range_spec.rb +1 -1
  362. data/spec/models/api_response_security_awesome_oscillator_spec.rb +1 -1
  363. data/spec/models/api_response_security_bollinger_bands_spec.rb +1 -1
  364. data/spec/models/api_response_security_chaikin_money_flow_spec.rb +1 -1
  365. data/spec/models/api_response_security_commodity_channel_index_spec.rb +1 -1
  366. data/spec/models/api_response_security_detrended_price_oscillator_spec.rb +1 -1
  367. data/spec/models/api_response_security_donchian_channel_spec.rb +1 -1
  368. data/spec/models/api_response_security_ease_of_movement_spec.rb +1 -1
  369. data/spec/models/api_response_security_force_index_spec.rb +1 -1
  370. data/spec/models/api_response_security_historical_data_spec.rb +1 -1
  371. data/spec/models/api_response_security_ichimoku_kinko_hyo_spec.rb +1 -1
  372. data/spec/models/api_response_security_institutional_ownership_spec.rb +48 -0
  373. data/spec/models/api_response_security_interval_prices_spec.rb +64 -0
  374. data/spec/models/api_response_security_intraday_prices_spec.rb +1 -1
  375. data/spec/models/api_response_security_keltner_channel_spec.rb +1 -1
  376. data/spec/models/api_response_security_know_sure_thing_spec.rb +1 -1
  377. data/spec/models/api_response_security_mass_index_spec.rb +1 -1
  378. data/spec/models/api_response_security_money_flow_index_spec.rb +1 -1
  379. data/spec/models/api_response_security_moving_average_convergence_divergence_spec.rb +1 -1
  380. data/spec/models/api_response_security_negative_volume_index_spec.rb +1 -1
  381. data/spec/models/api_response_security_on_balance_volume_mean_spec.rb +1 -1
  382. data/spec/models/api_response_security_on_balance_volume_spec.rb +1 -1
  383. data/spec/models/api_response_security_relative_strength_index_spec.rb +1 -1
  384. data/spec/models/api_response_security_simple_moving_average_spec.rb +1 -1
  385. data/spec/models/api_response_security_stochastic_oscillator_spec.rb +1 -1
  386. data/spec/models/api_response_security_stock_price_adjustments_spec.rb +1 -1
  387. data/spec/models/api_response_security_stock_prices_spec.rb +1 -1
  388. data/spec/models/api_response_security_triple_exponential_average_spec.rb +1 -1
  389. data/spec/models/api_response_security_true_strength_index_spec.rb +1 -1
  390. data/spec/models/api_response_security_ultimate_oscillator_spec.rb +1 -1
  391. data/spec/models/api_response_security_volume_price_trend_spec.rb +1 -1
  392. data/spec/models/api_response_security_volume_weighted_average_price_spec.rb +1 -1
  393. data/spec/models/api_response_security_vortex_indicator_spec.rb +1 -1
  394. data/spec/models/api_response_security_williams_r_spec.rb +1 -1
  395. data/spec/models/api_response_security_zacks_analyst_ratings_snapshot_spec.rb +1 -1
  396. data/spec/models/api_response_security_zacks_analyst_ratings_spec.rb +1 -1
  397. data/spec/models/api_response_security_zacks_eps_surprises_spec.rb +1 -1
  398. data/spec/models/api_response_security_zacks_sales_surprises_spec.rb +1 -1
  399. data/spec/models/api_response_sic_index_historical_data_spec.rb +1 -1
  400. data/spec/models/api_response_sic_indices_search_spec.rb +1 -1
  401. data/spec/models/api_response_sic_indices_spec.rb +1 -1
  402. data/spec/models/api_response_standardized_financials_spec.rb +1 -1
  403. data/spec/models/api_response_stock_exchange_realtime_stock_prices_spec.rb +1 -1
  404. data/spec/models/api_response_stock_exchange_securities_spec.rb +1 -1
  405. data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +1 -1
  406. data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +1 -1
  407. data/spec/models/api_response_stock_exchanges_spec.rb +1 -1
  408. data/spec/models/api_response_stock_market_index_historical_data_spec.rb +1 -1
  409. data/spec/models/api_response_stock_market_indices_search_spec.rb +1 -1
  410. data/spec/models/api_response_stock_market_indices_spec.rb +1 -1
  411. data/spec/models/api_response_zacks_analyst_ratings_spec.rb +1 -1
  412. data/spec/models/api_response_zacks_eps_estimates_spec.rb +1 -1
  413. data/spec/models/api_response_zacks_eps_growth_rates_spec.rb +1 -1
  414. data/spec/models/api_response_zacks_eps_surprises_spec.rb +1 -1
  415. data/spec/models/api_response_zacks_etf_holdings_spec.rb +1 -1
  416. data/spec/models/api_response_zacks_institutional_holding_companies_spec.rb +1 -1
  417. data/spec/models/api_response_zacks_institutional_holding_owners_spec.rb +1 -1
  418. data/spec/models/api_response_zacks_institutional_holdings_spec.rb +1 -1
  419. data/spec/models/api_response_zacks_long_term_growth_rates_spec.rb +1 -1
  420. data/spec/models/api_response_zacks_sales_surprises_spec.rb +1 -1
  421. data/spec/models/api_response_zacks_target_price_consensuses_spec.rb +1 -1
  422. data/spec/models/average_daily_trading_volume_technical_value_spec.rb +1 -1
  423. data/spec/models/average_directional_index_technical_value_spec.rb +1 -1
  424. data/spec/models/average_true_range_technical_value_spec.rb +1 -1
  425. data/spec/models/awesome_oscillator_technical_value_spec.rb +1 -1
  426. data/spec/models/bollinger_bands_technical_value_spec.rb +1 -1
  427. data/spec/models/bulk_download_links_spec.rb +1 -1
  428. data/spec/models/bulk_download_summary_spec.rb +1 -1
  429. data/spec/models/chaikin_money_flow_technical_value_spec.rb +1 -1
  430. data/spec/models/commodity_channel_index_technical_value_spec.rb +1 -1
  431. data/spec/models/company_filing_spec.rb +1 -1
  432. data/spec/models/company_initial_public_offering_spec.rb +1 -1
  433. data/spec/models/company_news_spec.rb +1 -1
  434. data/spec/models/company_news_summary_spec.rb +1 -1
  435. data/spec/models/company_spec.rb +1 -1
  436. data/spec/models/company_summary_spec.rb +1 -1
  437. data/spec/models/data_tag_spec.rb +1 -1
  438. data/spec/models/data_tag_summary_spec.rb +1 -1
  439. data/spec/models/detrended_price_oscillator_technical_value_spec.rb +1 -1
  440. data/spec/models/dividend_record_spec.rb +1 -1
  441. data/spec/models/donchian_channel_technical_value_spec.rb +1 -1
  442. data/spec/models/earnings_record_spec.rb +1 -1
  443. data/spec/models/ease_of_movement_technical_value_spec.rb +1 -1
  444. data/spec/models/economic_index_spec.rb +1 -1
  445. data/spec/models/economic_index_summary_spec.rb +1 -1
  446. data/spec/models/etf_analytics_spec.rb +1 -1
  447. data/spec/models/etf_holding_spec.rb +1 -1
  448. data/spec/models/etf_spec.rb +1 -1
  449. data/spec/models/etf_stats_spec.rb +1 -1
  450. data/spec/models/etf_summary_spec.rb +1 -1
  451. data/spec/models/filing_note_filing_spec.rb +1 -1
  452. data/spec/models/filing_note_spec.rb +1 -1
  453. data/spec/models/filing_note_summary_spec.rb +1 -1
  454. data/spec/models/filing_spec.rb +1 -1
  455. data/spec/models/filing_summary_spec.rb +1 -1
  456. data/spec/models/force_index_technical_value_spec.rb +1 -1
  457. data/spec/models/forex_currency_spec.rb +1 -1
  458. data/spec/models/forex_pair_spec.rb +1 -1
  459. data/spec/models/forex_price_spec.rb +1 -1
  460. data/spec/models/fundamental_spec.rb +1 -1
  461. data/spec/models/fundamental_summary_spec.rb +1 -1
  462. data/spec/models/historical_data_spec.rb +1 -1
  463. data/spec/models/ichimoku_kinko_hyo_technical_value_spec.rb +1 -1
  464. data/spec/models/insider_transaction_filing_spec.rb +60 -0
  465. data/spec/models/insider_transaction_spec.rb +150 -0
  466. data/spec/models/institutional_holding_spec.rb +126 -0
  467. data/spec/models/institutional_ownership_spec.rb +96 -0
  468. data/spec/models/intraday_stock_price_spec.rb +1 -1
  469. data/spec/models/keltner_channel_technical_value_spec.rb +1 -1
  470. data/spec/models/know_sure_thing_technical_value_spec.rb +1 -1
  471. data/spec/models/mass_index_technical_value_spec.rb +1 -1
  472. data/spec/models/money_flow_index_technical_value_spec.rb +1 -1
  473. data/spec/models/moving_average_convergence_divergence_technical_value_spec.rb +1 -1
  474. data/spec/models/municipality_financial_spec.rb +1 -1
  475. data/spec/models/municipality_spec.rb +1 -1
  476. data/spec/models/negative_volume_index_technical_value_spec.rb +1 -1
  477. data/spec/models/on_balance_volume_mean_technical_value_spec.rb +1 -1
  478. data/spec/models/on_balance_volume_technical_value_spec.rb +1 -1
  479. data/spec/models/option_chain_realtime_spec.rb +54 -0
  480. data/spec/models/option_chain_spec.rb +1 -1
  481. data/spec/models/option_factors_realtime_spec.rb +72 -0
  482. data/spec/models/option_price_realtime_spec.rb +112 -0
  483. data/spec/models/option_price_spec.rb +1 -1
  484. data/spec/models/option_realtime_spec.rb +70 -0
  485. data/spec/models/option_spec.rb +1 -1
  486. data/spec/models/option_stats_realtime_spec.rb +66 -0
  487. data/spec/models/owner_spec.rb +114 -0
  488. data/spec/models/owner_summary_spec.rb +48 -0
  489. data/spec/models/realtime_stock_price_security_spec.rb +1 -1
  490. data/spec/models/realtime_stock_price_spec.rb +13 -1
  491. data/spec/models/relative_strength_index_technical_value_spec.rb +1 -1
  492. data/spec/models/reported_financial_dimension_spec.rb +1 -1
  493. data/spec/models/reported_financial_spec.rb +1 -1
  494. data/spec/models/reported_tag_spec.rb +1 -1
  495. data/spec/models/security_screen_clause_spec.rb +1 -1
  496. data/spec/models/security_screen_group_spec.rb +1 -1
  497. data/spec/models/security_screen_result_data_spec.rb +1 -1
  498. data/spec/models/security_screen_result_spec.rb +1 -1
  499. data/spec/models/security_spec.rb +1 -1
  500. data/spec/models/security_summary_spec.rb +7 -1
  501. data/spec/models/sic_index_spec.rb +1 -1
  502. data/spec/models/simple_moving_average_technical_value_spec.rb +1 -1
  503. data/spec/models/standardized_financial_spec.rb +1 -1
  504. data/spec/models/stochastic_oscillator_technical_value_spec.rb +1 -1
  505. data/spec/models/stock_exchange_spec.rb +1 -1
  506. data/spec/models/stock_market_index_spec.rb +1 -1
  507. data/spec/models/stock_market_index_summary_spec.rb +1 -1
  508. data/spec/models/stock_price_adjustment_spec.rb +1 -1
  509. data/spec/models/stock_price_adjustment_summary_spec.rb +1 -1
  510. data/spec/models/stock_price_interval_spec.rb +72 -0
  511. data/spec/models/stock_price_spec.rb +43 -1
  512. data/spec/models/stock_price_summary_spec.rb +1 -1
  513. data/spec/models/technical_indicator_spec.rb +1 -1
  514. data/spec/models/triple_exponential_average_technical_value_spec.rb +1 -1
  515. data/spec/models/true_strength_index_technical_value_spec.rb +1 -1
  516. data/spec/models/ultimate_oscillator_technical_value_spec.rb +1 -1
  517. data/spec/models/volume_price_trend_technical_value_spec.rb +1 -1
  518. data/spec/models/volume_weighted_average_price_value_spec.rb +1 -1
  519. data/spec/models/vortex_indicator_technical_value_spec.rb +1 -1
  520. data/spec/models/williams_r_technical_value_spec.rb +1 -1
  521. data/spec/models/zacks_analyst_rating_snapshot_spec.rb +1 -1
  522. data/spec/models/zacks_analyst_rating_spec.rb +1 -1
  523. data/spec/models/zacks_analyst_rating_summary_spec.rb +1 -1
  524. data/spec/models/zacks_eps_estimate_spec.rb +1 -1
  525. data/spec/models/zacks_eps_growth_rate_spec.rb +1 -1
  526. data/spec/models/zacks_eps_surprise_spec.rb +1 -1
  527. data/spec/models/zacks_eps_surprise_summary_spec.rb +1 -1
  528. data/spec/models/zacks_etf_holding_spec.rb +1 -1
  529. data/spec/models/zacks_institutional_holding_company_detail_spec.rb +1 -1
  530. data/spec/models/zacks_institutional_holding_company_summary_spec.rb +1 -1
  531. data/spec/models/zacks_institutional_holding_historical_summary_spec.rb +1 -1
  532. data/spec/models/zacks_institutional_holding_owner_detail_spec.rb +1 -1
  533. data/spec/models/zacks_institutional_holding_owner_summary_spec.rb +1 -1
  534. data/spec/models/zacks_institutional_holding_spec.rb +1 -1
  535. data/spec/models/zacks_long_term_growth_rate_spec.rb +1 -1
  536. data/spec/models/zacks_sales_surprise_spec.rb +1 -1
  537. data/spec/models/zacks_sales_surprise_summary_spec.rb +1 -1
  538. data/spec/models/zacks_target_price_consensus_spec.rb +1 -1
  539. data/spec/spec_helper.rb +1 -1
  540. metadata +122 -7
@@ -22,6 +22,7 @@ Name | Type | Description
22
22
  **figi** | String | The OpenFIGI identifier  
23
23
  **composite_figi** | String | The country-composite OpenFIGI identifier  
24
24
  **share_class_figi** | String | The global-composite OpenFIGI identifier  
25
+ **primary_listing** | BOOLEAN | If true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
25
26
 
26
27
  [//]: # (END_DEFINITION)
27
28
 
@@ -58,23 +58,20 @@ require 'pp'
58
58
  # Setup authorization
59
59
  Intrinio.configure do |config|
60
60
  config.api_key['api_key'] = 'YOUR_API_KEY'
61
+ config.allow_retries = true
61
62
  end
62
63
 
63
64
  stockExchange_api = Intrinio::StockExchangeApi.new
64
65
 
65
- opts = {
66
- city: "New York", # String | Filter by city
67
- country: "UNITED STATES OF AMERICA", # String | Filter by country
68
- country_code: "US", # String | Filter by ISO country code
69
- page_size: 100 # Integer | The number of results to return
66
+ opts = {
67
+ city: "New York",
68
+ country: "UNITED STATES OF AMERICA",
69
+ country_code: "US",
70
+ page_size: 100
70
71
  }
71
72
 
72
- begin
73
- result = stockExchange_api.get_all_stock_exchanges(opts)
74
- pp result
75
- rescue Intrinio::ApiError => e
76
- puts "Exception when calling StockExchangeApi->get_all_stock_exchanges: #{e}"
77
- end
73
+ result = stockExchange_api.get_all_stock_exchanges(opts)
74
+ pp result
78
75
  ```
79
76
 
80
77
  [//]: # (END_CODE_EXAMPLE)
@@ -147,19 +144,14 @@ require 'pp'
147
144
  # Setup authorization
148
145
  Intrinio.configure do |config|
149
146
  config.api_key['api_key'] = 'YOUR_API_KEY'
147
+ config.allow_retries = true
150
148
  end
151
149
 
152
150
  stockExchange_api = Intrinio::StockExchangeApi.new
151
+ identifier = "USCOMP"
153
152
 
154
- identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
155
-
156
-
157
- begin
158
- result = stockExchange_api.get_stock_exchange_by_id(identifier)
159
- pp result
160
- rescue Intrinio::ApiError => e
161
- puts "Exception when calling StockExchangeApi->get_stock_exchange_by_id: #{e}"
162
- end
153
+ result = stockExchange_api.get_stock_exchange_by_id(identifier)
154
+ pp result
163
155
  ```
164
156
 
165
157
  [//]: # (END_CODE_EXAMPLE)
@@ -229,24 +221,20 @@ require 'pp'
229
221
  # Setup authorization
230
222
  Intrinio.configure do |config|
231
223
  config.api_key['api_key'] = 'YOUR_API_KEY'
224
+ config.allow_retries = true
232
225
  end
233
226
 
234
227
  stockExchange_api = Intrinio::StockExchangeApi.new
228
+ identifier = "USCOMP"
235
229
 
236
- identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
237
-
238
- opts = {
239
- date: Date.parse("2018-08-14"), # Date | The date for which to return price adjustments
240
- page_size: 100, # Integer | The number of results to return
241
- next_page: nil # String | Gets the next page of data from a previous API call
230
+ opts = {
231
+ date: Date.parse("2018-08-14"),
232
+ page_size: 100,
233
+ next_page: nil
242
234
  }
243
235
 
244
- begin
245
- result = stockExchange_api.get_stock_exchange_price_adjustments(identifier, opts)
246
- pp result
247
- rescue Intrinio::ApiError => e
248
- puts "Exception when calling StockExchangeApi->get_stock_exchange_price_adjustments: #{e}"
249
- end
236
+ result = stockExchange_api.get_stock_exchange_price_adjustments(identifier, opts)
237
+ pp result
250
238
  ```
251
239
 
252
240
  [//]: # (END_CODE_EXAMPLE)
@@ -319,24 +307,20 @@ require 'pp'
319
307
  # Setup authorization
320
308
  Intrinio.configure do |config|
321
309
  config.api_key['api_key'] = 'YOUR_API_KEY'
310
+ config.allow_retries = true
322
311
  end
323
312
 
324
313
  stockExchange_api = Intrinio::StockExchangeApi.new
314
+ identifier = "USCOMP"
325
315
 
326
- identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
327
-
328
- opts = {
329
- date: Date.parse("2018-08-14"), # Date | The date for which to return prices
330
- page_size: 100, # Integer | The number of results to return
331
- next_page: nil # String | Gets the next page of data from a previous API call
316
+ opts = {
317
+ date: Date.parse("2018-08-14"),
318
+ page_size: 100,
319
+ next_page: nil
332
320
  }
333
321
 
334
- begin
335
- result = stockExchange_api.get_stock_exchange_prices(identifier, opts)
336
- pp result
337
- rescue Intrinio::ApiError => e
338
- puts "Exception when calling StockExchangeApi->get_stock_exchange_prices: #{e}"
339
- end
322
+ result = stockExchange_api.get_stock_exchange_prices(identifier, opts)
323
+ pp result
340
324
  ```
341
325
 
342
326
  [//]: # (END_CODE_EXAMPLE)
@@ -409,24 +393,20 @@ require 'pp'
409
393
  # Setup authorization
410
394
  Intrinio.configure do |config|
411
395
  config.api_key['api_key'] = 'YOUR_API_KEY'
396
+ config.allow_retries = true
412
397
  end
413
398
 
414
399
  stockExchange_api = Intrinio::StockExchangeApi.new
400
+ identifier = "USCOMP"
415
401
 
416
- identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
417
-
418
- opts = {
419
- source: nil, # String | Return realtime prices from the specified data source. If no source is specified, all sources are used.
420
- page_size: 100, # Integer | The number of results to return
421
- next_page: nil # String | Gets the next page of data from a previous API call
402
+ opts = {
403
+ source: nil,
404
+ page_size: 100,
405
+ next_page: nil
422
406
  }
423
407
 
424
- begin
425
- result = stockExchange_api.get_stock_exchange_realtime_prices(identifier, opts)
426
- pp result
427
- rescue Intrinio::ApiError => e
428
- puts "Exception when calling StockExchangeApi->get_stock_exchange_realtime_prices: #{e}"
429
- end
408
+ result = stockExchange_api.get_stock_exchange_realtime_prices(identifier, opts)
409
+ pp result
430
410
  ```
431
411
 
432
412
  [//]: # (END_CODE_EXAMPLE)
@@ -499,23 +479,19 @@ require 'pp'
499
479
  # Setup authorization
500
480
  Intrinio.configure do |config|
501
481
  config.api_key['api_key'] = 'YOUR_API_KEY'
482
+ config.allow_retries = true
502
483
  end
503
484
 
504
485
  stockExchange_api = Intrinio::StockExchangeApi.new
486
+ identifier = "USCOMP"
505
487
 
506
- identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
507
-
508
- opts = {
509
- page_size: 100, # Integer | The number of results to return
510
- next_page: nil # String | Gets the next page of data from a previous API call
488
+ opts = {
489
+ page_size: 100,
490
+ next_page: nil
511
491
  }
512
492
 
513
- begin
514
- result = stockExchange_api.get_stock_exchange_securities(identifier, opts)
515
- pp result
516
- rescue Intrinio::ApiError => e
517
- puts "Exception when calling StockExchangeApi->get_stock_exchange_securities: #{e}"
518
- end
493
+ result = stockExchange_api.get_stock_exchange_securities(identifier, opts)
494
+ pp result
519
495
  ```
520
496
 
521
497
  [//]: # (END_CODE_EXAMPLE)
data/docs/StockPrice.md CHANGED
@@ -25,6 +25,13 @@ Name | Type | Description
25
25
  **adj_low** | Float | The lowest price over the span of the period, adjusted for splits and dividends  
26
26
  **adj_close** | Float | The price at the end of the period, adjusted for splits and dividends  
27
27
  **adj_volume** | Float | The number of shares exchanged during the period, adjusted for splits and dividends  
28
+ **factor** | Float | The factor by which to multiply stock prices before this date, in order to calculate historically-adjusted stock prices.  
29
+ **split_ratio** | Float | The ratio of the stock split, if a stock split occurred.  
30
+ **dividend** | Float | The dividend amount, if a dividend was paid.  
31
+ **change** | Float | The difference in price from the last price for this frequency  
32
+ **percent_change** | Float | The percent difference in price from the last price for this frequency  
33
+ **fifty_two_week_high** | Float | The 52 week high price (daily only)  
34
+ **fifty_two_week_low** | Float | The 52 week low price (daily only)  
28
35
  **security** | [**SecuritySummary**](SecuritySummary.md) | The Security of the stock price  
29
36
 
30
37
  [//]: # (END_DEFINITION)
@@ -0,0 +1,25 @@
1
+
2
+
3
+ [//]: # (CLASS:Intrinio::StockPriceInterval)
4
+
5
+ [//]: # (KIND:object)
6
+
7
+ ### Intrinio::StockPriceInterval
8
+
9
+ #### Properties
10
+
11
+ [//]: # (START_DEFINITION)
12
+
13
+ Name | Type | Description
14
+ ------------ | ------------- | -------------
15
+ **time** | DateTime | The timestamp that the `last_price` represents.  
16
+ **open** | Float | The price at the beginning of the period  
17
+ **close** | Float | The price at the end of the period  
18
+ **high** | Float | The highest price over the span of the period  
19
+ **low** | Float | The lowest price over the span of the period  
20
+ **volume** | Float | The number of shares exchanged during the period  
21
+
22
+ [//]: # (END_DEFINITION)
23
+
24
+
25
+
data/docs/TechnicalApi.md CHANGED
@@ -83,25 +83,21 @@ require 'pp'
83
83
  # Setup authorization
84
84
  Intrinio.configure do |config|
85
85
  config.api_key['api_key'] = 'YOUR_API_KEY'
86
+ config.allow_retries = true
86
87
  end
87
88
 
88
89
  technical_api = Intrinio::TechnicalApi.new
90
+ identifier = "AAPL"
89
91
 
90
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
91
-
92
- opts = {
93
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
94
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
95
- page_size: 100, # Integer | The number of results to return
96
- next_page: nil # String | Gets the next page of data from a previous API call
92
+ opts = {
93
+ start_date: "2018-01-01",
94
+ end_date: "2019-01-01",
95
+ page_size: 100,
96
+ next_page: nil
97
97
  }
98
98
 
99
- begin
100
- result = technical_api.get_security_price_technicals_adi(identifier, opts)
101
- pp result
102
- rescue Intrinio::ApiError => e
103
- puts "Exception when calling TechnicalApi->get_security_price_technicals_adi: #{e}"
104
- end
99
+ result = technical_api.get_security_price_technicals_adi(identifier, opts)
100
+ pp result
105
101
  ```
106
102
 
107
103
  [//]: # (END_CODE_EXAMPLE)
@@ -175,26 +171,22 @@ require 'pp'
175
171
  # Setup authorization
176
172
  Intrinio.configure do |config|
177
173
  config.api_key['api_key'] = 'YOUR_API_KEY'
174
+ config.allow_retries = true
178
175
  end
179
176
 
180
177
  technical_api = Intrinio::TechnicalApi.new
181
-
182
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
183
-
184
- opts = {
185
- period: 22, # Integer | The number of observations, per period, to calculate Average Daily Trading Volume
186
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
187
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
188
- page_size: 100, # Integer | The number of results to return
189
- next_page: nil # String | Gets the next page of data from a previous API call
178
+ identifier = "AAPL"
179
+
180
+ opts = {
181
+ period: 22,
182
+ start_date: "2018-01-01",
183
+ end_date: "2019-01-01",
184
+ page_size: 100,
185
+ next_page: nil
190
186
  }
191
187
 
192
- begin
193
- result = technical_api.get_security_price_technicals_adtv(identifier, opts)
194
- pp result
195
- rescue Intrinio::ApiError => e
196
- puts "Exception when calling TechnicalApi->get_security_price_technicals_adtv: #{e}"
197
- end
188
+ result = technical_api.get_security_price_technicals_adtv(identifier, opts)
189
+ pp result
198
190
  ```
199
191
 
200
192
  [//]: # (END_CODE_EXAMPLE)
@@ -269,26 +261,22 @@ require 'pp'
269
261
  # Setup authorization
270
262
  Intrinio.configure do |config|
271
263
  config.api_key['api_key'] = 'YOUR_API_KEY'
264
+ config.allow_retries = true
272
265
  end
273
266
 
274
267
  technical_api = Intrinio::TechnicalApi.new
275
-
276
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
277
-
278
- opts = {
279
- period: 14, # Integer | The number of observations, per period, to calculate Average Directional Index
280
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
281
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
282
- page_size: 100, # Integer | The number of results to return
283
- next_page: nil # String | Gets the next page of data from a previous API call
268
+ identifier = "AAPL"
269
+
270
+ opts = {
271
+ period: 14,
272
+ start_date: "2018-01-01",
273
+ end_date: "2019-01-01",
274
+ page_size: 100,
275
+ next_page: nil
284
276
  }
285
277
 
286
- begin
287
- result = technical_api.get_security_price_technicals_adx(identifier, opts)
288
- pp result
289
- rescue Intrinio::ApiError => e
290
- puts "Exception when calling TechnicalApi->get_security_price_technicals_adx: #{e}"
291
- end
278
+ result = technical_api.get_security_price_technicals_adx(identifier, opts)
279
+ pp result
292
280
  ```
293
281
 
294
282
  [//]: # (END_CODE_EXAMPLE)
@@ -363,27 +351,23 @@ require 'pp'
363
351
  # Setup authorization
364
352
  Intrinio.configure do |config|
365
353
  config.api_key['api_key'] = 'YOUR_API_KEY'
354
+ config.allow_retries = true
366
355
  end
367
356
 
368
357
  technical_api = Intrinio::TechnicalApi.new
369
-
370
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
371
-
372
- opts = {
373
- short_period: 5, # Integer | The number of observations, per period, to calculate short period Simple Moving Average of the Awesome Oscillator
374
- long_period: 34, # Integer | The number of observations, per period, to calculate long period Simple Moving Average of the Awesome Oscillator
375
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
376
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
377
- page_size: 100, # Integer | The number of results to return
378
- next_page: nil # String | Gets the next page of data from a previous API call
358
+ identifier = "AAPL"
359
+
360
+ opts = {
361
+ short_period: 5,
362
+ long_period: 34,
363
+ start_date: "2018-01-01",
364
+ end_date: "2019-01-01",
365
+ page_size: 100,
366
+ next_page: nil
379
367
  }
380
368
 
381
- begin
382
- result = technical_api.get_security_price_technicals_ao(identifier, opts)
383
- pp result
384
- rescue Intrinio::ApiError => e
385
- puts "Exception when calling TechnicalApi->get_security_price_technicals_ao: #{e}"
386
- end
369
+ result = technical_api.get_security_price_technicals_ao(identifier, opts)
370
+ pp result
387
371
  ```
388
372
 
389
373
  [//]: # (END_CODE_EXAMPLE)
@@ -459,26 +443,22 @@ require 'pp'
459
443
  # Setup authorization
460
444
  Intrinio.configure do |config|
461
445
  config.api_key['api_key'] = 'YOUR_API_KEY'
446
+ config.allow_retries = true
462
447
  end
463
448
 
464
449
  technical_api = Intrinio::TechnicalApi.new
465
-
466
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
467
-
468
- opts = {
469
- period: 14, # Integer | The number of observations, per period, to calculate Average True Range
470
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
471
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
472
- page_size: 100, # Integer | The number of results to return
473
- next_page: nil # String | Gets the next page of data from a previous API call
450
+ identifier = "AAPL"
451
+
452
+ opts = {
453
+ period: 14,
454
+ start_date: "2018-01-01",
455
+ end_date: "2019-01-01",
456
+ page_size: 100,
457
+ next_page: nil
474
458
  }
475
459
 
476
- begin
477
- result = technical_api.get_security_price_technicals_atr(identifier, opts)
478
- pp result
479
- rescue Intrinio::ApiError => e
480
- puts "Exception when calling TechnicalApi->get_security_price_technicals_atr: #{e}"
481
- end
460
+ result = technical_api.get_security_price_technicals_atr(identifier, opts)
461
+ pp result
482
462
  ```
483
463
 
484
464
  [//]: # (END_CODE_EXAMPLE)
@@ -553,28 +533,24 @@ require 'pp'
553
533
  # Setup authorization
554
534
  Intrinio.configure do |config|
555
535
  config.api_key['api_key'] = 'YOUR_API_KEY'
536
+ config.allow_retries = true
556
537
  end
557
538
 
558
539
  technical_api = Intrinio::TechnicalApi.new
559
-
560
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
561
-
562
- opts = {
563
- period: 20, # Integer | The number of observations, per period, to calculate Bollinger Bands
564
- standard_deviations: 2.0, # Float | The number of standard deviations to calculate the upper and lower bands of the Bollinger Bands
565
- price_key: "close", # String | The Stock Price field to use when calculating Bollinger Bands
566
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
567
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
568
- page_size: 100, # Integer | The number of results to return
569
- next_page: nil # String | Gets the next page of data from a previous API call
540
+ identifier = "AAPL"
541
+
542
+ opts = {
543
+ period: 20,
544
+ standard_deviations: 2.0,
545
+ price_key: "close",
546
+ start_date: "2018-01-01",
547
+ end_date: "2019-01-01",
548
+ page_size: 100,
549
+ next_page: nil
570
550
  }
571
551
 
572
- begin
573
- result = technical_api.get_security_price_technicals_bb(identifier, opts)
574
- pp result
575
- rescue Intrinio::ApiError => e
576
- puts "Exception when calling TechnicalApi->get_security_price_technicals_bb: #{e}"
577
- end
552
+ result = technical_api.get_security_price_technicals_bb(identifier, opts)
553
+ pp result
578
554
  ```
579
555
 
580
556
  [//]: # (END_CODE_EXAMPLE)
@@ -651,27 +627,23 @@ require 'pp'
651
627
  # Setup authorization
652
628
  Intrinio.configure do |config|
653
629
  config.api_key['api_key'] = 'YOUR_API_KEY'
630
+ config.allow_retries = true
654
631
  end
655
632
 
656
633
  technical_api = Intrinio::TechnicalApi.new
657
-
658
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
659
-
660
- opts = {
661
- period: 20, # Integer | The number of observations, per period, to calculate Commodity Channel Index
662
- constant: 0.015, # Float | The number of observations, per period, to calculate Commodity Channel Index
663
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
664
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
665
- page_size: 100, # Integer | The number of results to return
666
- next_page: nil # String | Gets the next page of data from a previous API call
634
+ identifier = "AAPL"
635
+
636
+ opts = {
637
+ period: 20,
638
+ constant: 0.015,
639
+ start_date: "2018-01-01",
640
+ end_date: "2019-01-01",
641
+ page_size: 100,
642
+ next_page: nil
667
643
  }
668
644
 
669
- begin
670
- result = technical_api.get_security_price_technicals_cci(identifier, opts)
671
- pp result
672
- rescue Intrinio::ApiError => e
673
- puts "Exception when calling TechnicalApi->get_security_price_technicals_cci: #{e}"
674
- end
645
+ result = technical_api.get_security_price_technicals_cci(identifier, opts)
646
+ pp result
675
647
  ```
676
648
 
677
649
  [//]: # (END_CODE_EXAMPLE)
@@ -747,26 +719,22 @@ require 'pp'
747
719
  # Setup authorization
748
720
  Intrinio.configure do |config|
749
721
  config.api_key['api_key'] = 'YOUR_API_KEY'
722
+ config.allow_retries = true
750
723
  end
751
724
 
752
725
  technical_api = Intrinio::TechnicalApi.new
753
-
754
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
755
-
756
- opts = {
757
- period: 20, # Integer | The number of observations, per period, to calculate Chaikin Money Flow
758
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
759
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
760
- page_size: 100, # Integer | The number of results to return
761
- next_page: nil # String | Gets the next page of data from a previous API call
726
+ identifier = "AAPL"
727
+
728
+ opts = {
729
+ period: 20,
730
+ start_date: "2018-01-01",
731
+ end_date: "2019-01-01",
732
+ page_size: 100,
733
+ next_page: nil
762
734
  }
763
735
 
764
- begin
765
- result = technical_api.get_security_price_technicals_cmf(identifier, opts)
766
- pp result
767
- rescue Intrinio::ApiError => e
768
- puts "Exception when calling TechnicalApi->get_security_price_technicals_cmf: #{e}"
769
- end
736
+ result = technical_api.get_security_price_technicals_cmf(identifier, opts)
737
+ pp result
770
738
  ```
771
739
 
772
740
  [//]: # (END_CODE_EXAMPLE)
@@ -841,27 +809,23 @@ require 'pp'
841
809
  # Setup authorization
842
810
  Intrinio.configure do |config|
843
811
  config.api_key['api_key'] = 'YOUR_API_KEY'
812
+ config.allow_retries = true
844
813
  end
845
814
 
846
815
  technical_api = Intrinio::TechnicalApi.new
847
-
848
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
849
-
850
- opts = {
851
- period: 20, # Integer | The number of observations, per period, to calculate Donchian Channel
852
- price_key: "close", # String | The Stock Price field to use when calculating Donchian Channel
853
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
854
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
855
- page_size: 100, # Integer | The number of results to return
856
- next_page: nil # String | Gets the next page of data from a previous API call
816
+ identifier = "AAPL"
817
+
818
+ opts = {
819
+ period: 20,
820
+ price_key: "close",
821
+ start_date: "2018-01-01",
822
+ end_date: "2019-01-01",
823
+ page_size: 100,
824
+ next_page: nil
857
825
  }
858
826
 
859
- begin
860
- result = technical_api.get_security_price_technicals_dc(identifier, opts)
861
- pp result
862
- rescue Intrinio::ApiError => e
863
- puts "Exception when calling TechnicalApi->get_security_price_technicals_dc: #{e}"
864
- end
827
+ result = technical_api.get_security_price_technicals_dc(identifier, opts)
828
+ pp result
865
829
  ```
866
830
 
867
831
  [//]: # (END_CODE_EXAMPLE)
@@ -937,27 +901,23 @@ require 'pp'
937
901
  # Setup authorization
938
902
  Intrinio.configure do |config|
939
903
  config.api_key['api_key'] = 'YOUR_API_KEY'
904
+ config.allow_retries = true
940
905
  end
941
906
 
942
907
  technical_api = Intrinio::TechnicalApi.new
943
-
944
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
945
-
946
- opts = {
947
- period: 20, # Integer | The number of observations, per period, to calculate Detrended Price Oscillator
948
- price_key: "close", # String | The Stock Price field to use when calculating Detrended Price Oscillator
949
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
950
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
951
- page_size: 100, # Integer | The number of results to return
952
- next_page: nil # String | Gets the next page of data from a previous API call
908
+ identifier = "AAPL"
909
+
910
+ opts = {
911
+ period: 20,
912
+ price_key: "close",
913
+ start_date: "2018-01-01",
914
+ end_date: "2019-01-01",
915
+ page_size: 100,
916
+ next_page: nil
953
917
  }
954
918
 
955
- begin
956
- result = technical_api.get_security_price_technicals_dpo(identifier, opts)
957
- pp result
958
- rescue Intrinio::ApiError => e
959
- puts "Exception when calling TechnicalApi->get_security_price_technicals_dpo: #{e}"
960
- end
919
+ result = technical_api.get_security_price_technicals_dpo(identifier, opts)
920
+ pp result
961
921
  ```
962
922
 
963
923
  [//]: # (END_CODE_EXAMPLE)
@@ -1033,26 +993,22 @@ require 'pp'
1033
993
  # Setup authorization
1034
994
  Intrinio.configure do |config|
1035
995
  config.api_key['api_key'] = 'YOUR_API_KEY'
996
+ config.allow_retries = true
1036
997
  end
1037
998
 
1038
999
  technical_api = Intrinio::TechnicalApi.new
1039
-
1040
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1041
-
1042
- opts = {
1043
- period: 20, # Integer | The number of observations, per period, to calculate Ease of Movement
1044
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1045
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1046
- page_size: 100, # Integer | The number of results to return
1047
- next_page: nil # String | Gets the next page of data from a previous API call
1000
+ identifier = "AAPL"
1001
+
1002
+ opts = {
1003
+ period: 20,
1004
+ start_date: "2018-01-01",
1005
+ end_date: "2019-01-01",
1006
+ page_size: 100,
1007
+ next_page: nil
1048
1008
  }
1049
1009
 
1050
- begin
1051
- result = technical_api.get_security_price_technicals_eom(identifier, opts)
1052
- pp result
1053
- rescue Intrinio::ApiError => e
1054
- puts "Exception when calling TechnicalApi->get_security_price_technicals_eom: #{e}"
1055
- end
1010
+ result = technical_api.get_security_price_technicals_eom(identifier, opts)
1011
+ pp result
1056
1012
  ```
1057
1013
 
1058
1014
  [//]: # (END_CODE_EXAMPLE)
@@ -1127,25 +1083,21 @@ require 'pp'
1127
1083
  # Setup authorization
1128
1084
  Intrinio.configure do |config|
1129
1085
  config.api_key['api_key'] = 'YOUR_API_KEY'
1086
+ config.allow_retries = true
1130
1087
  end
1131
1088
 
1132
1089
  technical_api = Intrinio::TechnicalApi.new
1090
+ identifier = "AAPL"
1133
1091
 
1134
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1135
-
1136
- opts = {
1137
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1138
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1139
- page_size: 100, # Integer | The number of results to return
1140
- next_page: nil # String | Gets the next page of data from a previous API call
1092
+ opts = {
1093
+ start_date: "2018-01-01",
1094
+ end_date: "2019-01-01",
1095
+ page_size: 100,
1096
+ next_page: nil
1141
1097
  }
1142
1098
 
1143
- begin
1144
- result = technical_api.get_security_price_technicals_fi(identifier, opts)
1145
- pp result
1146
- rescue Intrinio::ApiError => e
1147
- puts "Exception when calling TechnicalApi->get_security_price_technicals_fi: #{e}"
1148
- end
1099
+ result = technical_api.get_security_price_technicals_fi(identifier, opts)
1100
+ pp result
1149
1101
  ```
1150
1102
 
1151
1103
  [//]: # (END_CODE_EXAMPLE)
@@ -1219,28 +1171,24 @@ require 'pp'
1219
1171
  # Setup authorization
1220
1172
  Intrinio.configure do |config|
1221
1173
  config.api_key['api_key'] = 'YOUR_API_KEY'
1174
+ config.allow_retries = true
1222
1175
  end
1223
1176
 
1224
1177
  technical_api = Intrinio::TechnicalApi.new
1225
-
1226
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1227
-
1228
- opts = {
1229
- low_period: 9, # Integer | The number of observations, per period, to calculate Tenkan Sen (Conversion Line) of Ichimoku Kinko Hyo
1230
- medium_period: 26, # Integer | The number of observations, per period, to calculate Kijun Sen (Base Line), Senkou Span A (Leading Span A), and Chikou Span (Lagging Span) of Ichimoku Kinko Hyo
1231
- high_period: 52, # Integer | The number of observations, per period, to calculate Senkou Span B (Leading Span B) of Ichimoku Kinko Hyo
1232
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1233
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1234
- page_size: 100, # Integer | The number of results to return
1235
- next_page: nil # String | Gets the next page of data from a previous API call
1178
+ identifier = "AAPL"
1179
+
1180
+ opts = {
1181
+ low_period: 9,
1182
+ medium_period: 26,
1183
+ high_period: 52,
1184
+ start_date: "2018-01-01",
1185
+ end_date: "2019-01-01",
1186
+ page_size: 100,
1187
+ next_page: nil
1236
1188
  }
1237
1189
 
1238
- begin
1239
- result = technical_api.get_security_price_technicals_ichimoku(identifier, opts)
1240
- pp result
1241
- rescue Intrinio::ApiError => e
1242
- puts "Exception when calling TechnicalApi->get_security_price_technicals_ichimoku: #{e}"
1243
- end
1190
+ result = technical_api.get_security_price_technicals_ichimoku(identifier, opts)
1191
+ pp result
1244
1192
  ```
1245
1193
 
1246
1194
  [//]: # (END_CODE_EXAMPLE)
@@ -1317,26 +1265,22 @@ require 'pp'
1317
1265
  # Setup authorization
1318
1266
  Intrinio.configure do |config|
1319
1267
  config.api_key['api_key'] = 'YOUR_API_KEY'
1268
+ config.allow_retries = true
1320
1269
  end
1321
1270
 
1322
1271
  technical_api = Intrinio::TechnicalApi.new
1323
-
1324
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1325
-
1326
- opts = {
1327
- period: 10, # Integer | The number of observations, per period, to calculate Kelter Channel
1328
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1329
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1330
- page_size: 100, # Integer | The number of results to return
1331
- next_page: nil # String | Gets the next page of data from a previous API call
1272
+ identifier = "AAPL"
1273
+
1274
+ opts = {
1275
+ period: 10,
1276
+ start_date: "2018-01-01",
1277
+ end_date: "2019-01-01",
1278
+ page_size: 100,
1279
+ next_page: nil
1332
1280
  }
1333
1281
 
1334
- begin
1335
- result = technical_api.get_security_price_technicals_kc(identifier, opts)
1336
- pp result
1337
- rescue Intrinio::ApiError => e
1338
- puts "Exception when calling TechnicalApi->get_security_price_technicals_kc: #{e}"
1339
- end
1282
+ result = technical_api.get_security_price_technicals_kc(identifier, opts)
1283
+ pp result
1340
1284
  ```
1341
1285
 
1342
1286
  [//]: # (END_CODE_EXAMPLE)
@@ -1411,34 +1355,30 @@ require 'pp'
1411
1355
  # Setup authorization
1412
1356
  Intrinio.configure do |config|
1413
1357
  config.api_key['api_key'] = 'YOUR_API_KEY'
1358
+ config.allow_retries = true
1414
1359
  end
1415
1360
 
1416
1361
  technical_api = Intrinio::TechnicalApi.new
1417
-
1418
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1419
-
1420
- opts = {
1421
- roc1: 10, # Integer | The number of observations, per period, to calculate the rate-of-change for RCMA1
1422
- roc2: 15, # Integer | The number of observations, per period, to calculate the rate-of-change for RCMA2
1423
- roc3: 20, # Integer | The number of observations, per period, to calculate the rate-of-change for RCMA3
1424
- roc4: 30, # Integer | The number of observations, per period, to calculate the rate-of-change for RCMA4
1425
- sma1: 10, # Integer | The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA1
1426
- sma2: 10, # Integer | The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA2
1427
- sma3: 10, # Integer | The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA3
1428
- sma4: 15, # Integer | The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA4
1429
- price_key: "close", # String | The Stock Price field to use when calculating Know Sure Thing
1430
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1431
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1432
- page_size: 100, # Integer | The number of results to return
1433
- next_page: nil # String | Gets the next page of data from a previous API call
1362
+ identifier = "AAPL"
1363
+
1364
+ opts = {
1365
+ roc1: 10,
1366
+ roc2: 15,
1367
+ roc3: 20,
1368
+ roc4: 30,
1369
+ sma1: 10,
1370
+ sma2: 10,
1371
+ sma3: 10,
1372
+ sma4: 15,
1373
+ price_key: "close",
1374
+ start_date: "2018-01-01",
1375
+ end_date: "2019-01-01",
1376
+ page_size: 100,
1377
+ next_page: nil
1434
1378
  }
1435
1379
 
1436
- begin
1437
- result = technical_api.get_security_price_technicals_kst(identifier, opts)
1438
- pp result
1439
- rescue Intrinio::ApiError => e
1440
- puts "Exception when calling TechnicalApi->get_security_price_technicals_kst: #{e}"
1441
- end
1380
+ result = technical_api.get_security_price_technicals_kst(identifier, opts)
1381
+ pp result
1442
1382
  ```
1443
1383
 
1444
1384
  [//]: # (END_CODE_EXAMPLE)
@@ -1521,29 +1461,25 @@ require 'pp'
1521
1461
  # Setup authorization
1522
1462
  Intrinio.configure do |config|
1523
1463
  config.api_key['api_key'] = 'YOUR_API_KEY'
1464
+ config.allow_retries = true
1524
1465
  end
1525
1466
 
1526
1467
  technical_api = Intrinio::TechnicalApi.new
1527
-
1528
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1529
-
1530
- opts = {
1531
- fast_period: 12, # Integer | The number of observations, per period, to calculate the fast moving Exponential Moving Average for Moving Average Convergence Divergence
1532
- slow_period: 26, # Integer | The number of observations, per period, to calculate the slow moving Exponential Moving Average for Moving Average Convergence Divergence
1533
- signal_period: 9, # Integer | The number of observations, per period, to calculate the signal line for Moving Average Convergence Divergence
1534
- price_key: "close", # String | The Stock Price field to use when calculating Moving Average Convergence Divergence
1535
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1536
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1537
- page_size: 100, # Integer | The number of results to return
1538
- next_page: nil # String | Gets the next page of data from a previous API call
1468
+ identifier = "AAPL"
1469
+
1470
+ opts = {
1471
+ fast_period: 12,
1472
+ slow_period: 26,
1473
+ signal_period: 9,
1474
+ price_key: "close",
1475
+ start_date: "2018-01-01",
1476
+ end_date: "2019-01-01",
1477
+ page_size: 100,
1478
+ next_page: nil
1539
1479
  }
1540
1480
 
1541
- begin
1542
- result = technical_api.get_security_price_technicals_macd(identifier, opts)
1543
- pp result
1544
- rescue Intrinio::ApiError => e
1545
- puts "Exception when calling TechnicalApi->get_security_price_technicals_macd: #{e}"
1546
- end
1481
+ result = technical_api.get_security_price_technicals_macd(identifier, opts)
1482
+ pp result
1547
1483
  ```
1548
1484
 
1549
1485
  [//]: # (END_CODE_EXAMPLE)
@@ -1621,26 +1557,22 @@ require 'pp'
1621
1557
  # Setup authorization
1622
1558
  Intrinio.configure do |config|
1623
1559
  config.api_key['api_key'] = 'YOUR_API_KEY'
1560
+ config.allow_retries = true
1624
1561
  end
1625
1562
 
1626
1563
  technical_api = Intrinio::TechnicalApi.new
1627
-
1628
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1629
-
1630
- opts = {
1631
- period: 14, # Integer | The number of observations, per period, to calculate Money Flow Index
1632
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1633
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1634
- page_size: 100, # Integer | The number of results to return
1635
- next_page: nil # String | Gets the next page of data from a previous API call
1564
+ identifier = "AAPL"
1565
+
1566
+ opts = {
1567
+ period: 14,
1568
+ start_date: "2018-01-01",
1569
+ end_date: "2019-01-01",
1570
+ page_size: 100,
1571
+ next_page: nil
1636
1572
  }
1637
1573
 
1638
- begin
1639
- result = technical_api.get_security_price_technicals_mfi(identifier, opts)
1640
- pp result
1641
- rescue Intrinio::ApiError => e
1642
- puts "Exception when calling TechnicalApi->get_security_price_technicals_mfi: #{e}"
1643
- end
1574
+ result = technical_api.get_security_price_technicals_mfi(identifier, opts)
1575
+ pp result
1644
1576
  ```
1645
1577
 
1646
1578
  [//]: # (END_CODE_EXAMPLE)
@@ -1715,27 +1647,23 @@ require 'pp'
1715
1647
  # Setup authorization
1716
1648
  Intrinio.configure do |config|
1717
1649
  config.api_key['api_key'] = 'YOUR_API_KEY'
1650
+ config.allow_retries = true
1718
1651
  end
1719
1652
 
1720
1653
  technical_api = Intrinio::TechnicalApi.new
1721
-
1722
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1723
-
1724
- opts = {
1725
- ema_period: 9, # Integer | The number of observations, per period, to calculate the single Exponential Moving Average and the Double Exponential Moving Average for Mass Index
1726
- sum_period: 25, # Integer | The number of observations, per period, to calculate the sum of the Exponetinal Moving Average Ratios for Mass Index
1727
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1728
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1729
- page_size: 100, # Integer | The number of results to return
1730
- next_page: nil # String | Gets the next page of data from a previous API call
1654
+ identifier = "AAPL"
1655
+
1656
+ opts = {
1657
+ ema_period: 9,
1658
+ sum_period: 25,
1659
+ start_date: "2018-01-01",
1660
+ end_date: "2019-01-01",
1661
+ page_size: 100,
1662
+ next_page: nil
1731
1663
  }
1732
1664
 
1733
- begin
1734
- result = technical_api.get_security_price_technicals_mi(identifier, opts)
1735
- pp result
1736
- rescue Intrinio::ApiError => e
1737
- puts "Exception when calling TechnicalApi->get_security_price_technicals_mi: #{e}"
1738
- end
1665
+ result = technical_api.get_security_price_technicals_mi(identifier, opts)
1666
+ pp result
1739
1667
  ```
1740
1668
 
1741
1669
  [//]: # (END_CODE_EXAMPLE)
@@ -1811,25 +1739,21 @@ require 'pp'
1811
1739
  # Setup authorization
1812
1740
  Intrinio.configure do |config|
1813
1741
  config.api_key['api_key'] = 'YOUR_API_KEY'
1742
+ config.allow_retries = true
1814
1743
  end
1815
1744
 
1816
1745
  technical_api = Intrinio::TechnicalApi.new
1746
+ identifier = "AAPL"
1817
1747
 
1818
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1819
-
1820
- opts = {
1821
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1822
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1823
- page_size: 100, # Integer | The number of results to return
1824
- next_page: nil # String | Gets the next page of data from a previous API call
1748
+ opts = {
1749
+ start_date: "2018-01-01",
1750
+ end_date: "2019-01-01",
1751
+ page_size: 100,
1752
+ next_page: nil
1825
1753
  }
1826
1754
 
1827
- begin
1828
- result = technical_api.get_security_price_technicals_nvi(identifier, opts)
1829
- pp result
1830
- rescue Intrinio::ApiError => e
1831
- puts "Exception when calling TechnicalApi->get_security_price_technicals_nvi: #{e}"
1832
- end
1755
+ result = technical_api.get_security_price_technicals_nvi(identifier, opts)
1756
+ pp result
1833
1757
  ```
1834
1758
 
1835
1759
  [//]: # (END_CODE_EXAMPLE)
@@ -1903,25 +1827,21 @@ require 'pp'
1903
1827
  # Setup authorization
1904
1828
  Intrinio.configure do |config|
1905
1829
  config.api_key['api_key'] = 'YOUR_API_KEY'
1830
+ config.allow_retries = true
1906
1831
  end
1907
1832
 
1908
1833
  technical_api = Intrinio::TechnicalApi.new
1834
+ identifier = "AAPL"
1909
1835
 
1910
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
1911
-
1912
- opts = {
1913
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
1914
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
1915
- page_size: 100, # Integer | The number of results to return
1916
- next_page: nil # String | Gets the next page of data from a previous API call
1836
+ opts = {
1837
+ start_date: "2018-01-01",
1838
+ end_date: "2019-01-01",
1839
+ page_size: 100,
1840
+ next_page: nil
1917
1841
  }
1918
1842
 
1919
- begin
1920
- result = technical_api.get_security_price_technicals_obv(identifier, opts)
1921
- pp result
1922
- rescue Intrinio::ApiError => e
1923
- puts "Exception when calling TechnicalApi->get_security_price_technicals_obv: #{e}"
1924
- end
1843
+ result = technical_api.get_security_price_technicals_obv(identifier, opts)
1844
+ pp result
1925
1845
  ```
1926
1846
 
1927
1847
  [//]: # (END_CODE_EXAMPLE)
@@ -1995,26 +1915,22 @@ require 'pp'
1995
1915
  # Setup authorization
1996
1916
  Intrinio.configure do |config|
1997
1917
  config.api_key['api_key'] = 'YOUR_API_KEY'
1918
+ config.allow_retries = true
1998
1919
  end
1999
1920
 
2000
1921
  technical_api = Intrinio::TechnicalApi.new
2001
-
2002
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2003
-
2004
- opts = {
2005
- period: 10, # Integer | The number of observations, per period, to calculate On-balance Volume Mean
2006
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2007
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2008
- page_size: 100, # Integer | The number of results to return
2009
- next_page: nil # String | Gets the next page of data from a previous API call
1922
+ identifier = "AAPL"
1923
+
1924
+ opts = {
1925
+ period: 10,
1926
+ start_date: "2018-01-01",
1927
+ end_date: "2019-01-01",
1928
+ page_size: 100,
1929
+ next_page: nil
2010
1930
  }
2011
1931
 
2012
- begin
2013
- result = technical_api.get_security_price_technicals_obv_mean(identifier, opts)
2014
- pp result
2015
- rescue Intrinio::ApiError => e
2016
- puts "Exception when calling TechnicalApi->get_security_price_technicals_obv_mean: #{e}"
2017
- end
1932
+ result = technical_api.get_security_price_technicals_obv_mean(identifier, opts)
1933
+ pp result
2018
1934
  ```
2019
1935
 
2020
1936
  [//]: # (END_CODE_EXAMPLE)
@@ -2089,27 +2005,23 @@ require 'pp'
2089
2005
  # Setup authorization
2090
2006
  Intrinio.configure do |config|
2091
2007
  config.api_key['api_key'] = 'YOUR_API_KEY'
2008
+ config.allow_retries = true
2092
2009
  end
2093
2010
 
2094
2011
  technical_api = Intrinio::TechnicalApi.new
2095
-
2096
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2097
-
2098
- opts = {
2099
- period: 14, # Integer | The number of observations, per period, to calculate Relative Strength Index
2100
- price_key: "close", # String | The Stock Price field to use when calculating Relative Strength Index
2101
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2102
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2103
- page_size: 100, # Integer | The number of results to return
2104
- next_page: nil # String | Gets the next page of data from a previous API call
2012
+ identifier = "AAPL"
2013
+
2014
+ opts = {
2015
+ period: 14,
2016
+ price_key: "close",
2017
+ start_date: "2018-01-01",
2018
+ end_date: "2019-01-01",
2019
+ page_size: 100,
2020
+ next_page: nil
2105
2021
  }
2106
2022
 
2107
- begin
2108
- result = technical_api.get_security_price_technicals_rsi(identifier, opts)
2109
- pp result
2110
- rescue Intrinio::ApiError => e
2111
- puts "Exception when calling TechnicalApi->get_security_price_technicals_rsi: #{e}"
2112
- end
2023
+ result = technical_api.get_security_price_technicals_rsi(identifier, opts)
2024
+ pp result
2113
2025
  ```
2114
2026
 
2115
2027
  [//]: # (END_CODE_EXAMPLE)
@@ -2185,27 +2097,23 @@ require 'pp'
2185
2097
  # Setup authorization
2186
2098
  Intrinio.configure do |config|
2187
2099
  config.api_key['api_key'] = 'YOUR_API_KEY'
2100
+ config.allow_retries = true
2188
2101
  end
2189
2102
 
2190
2103
  technical_api = Intrinio::TechnicalApi.new
2191
-
2192
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2193
-
2194
- opts = {
2195
- period: 20, # Integer | The number of observations, per period, to calculate Simple Moving Average
2196
- price_key: "close", # String | The Stock Price field to use when calculating Simple Moving Average
2197
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2198
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2199
- page_size: 100, # Integer | The number of results to return
2200
- next_page: nil # String | Gets the next page of data from a previous API call
2104
+ identifier = "AAPL"
2105
+
2106
+ opts = {
2107
+ period: 20,
2108
+ price_key: "close",
2109
+ start_date: "2018-01-01",
2110
+ end_date: "2019-01-01",
2111
+ page_size: 100,
2112
+ next_page: nil
2201
2113
  }
2202
2114
 
2203
- begin
2204
- result = technical_api.get_security_price_technicals_sma(identifier, opts)
2205
- pp result
2206
- rescue Intrinio::ApiError => e
2207
- puts "Exception when calling TechnicalApi->get_security_price_technicals_sma: #{e}"
2208
- end
2115
+ result = technical_api.get_security_price_technicals_sma(identifier, opts)
2116
+ pp result
2209
2117
  ```
2210
2118
 
2211
2119
  [//]: # (END_CODE_EXAMPLE)
@@ -2281,27 +2189,23 @@ require 'pp'
2281
2189
  # Setup authorization
2282
2190
  Intrinio.configure do |config|
2283
2191
  config.api_key['api_key'] = 'YOUR_API_KEY'
2192
+ config.allow_retries = true
2284
2193
  end
2285
2194
 
2286
2195
  technical_api = Intrinio::TechnicalApi.new
2287
-
2288
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2289
-
2290
- opts = {
2291
- period: 14, # Integer | The number of observations, per period, to calculate %K of Stochastic Oscillator
2292
- signal_period: 3, # Integer | The number of observations, per period, to calculate the %D (the Simple Moving Average of %K) as a signal line for Stochastic Oscillator
2293
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2294
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2295
- page_size: 100, # Integer | The number of results to return
2296
- next_page: nil # String | Gets the next page of data from a previous API call
2196
+ identifier = "AAPL"
2197
+
2198
+ opts = {
2199
+ period: 14,
2200
+ signal_period: 3,
2201
+ start_date: "2018-01-01",
2202
+ end_date: "2019-01-01",
2203
+ page_size: 100,
2204
+ next_page: nil
2297
2205
  }
2298
2206
 
2299
- begin
2300
- result = technical_api.get_security_price_technicals_sr(identifier, opts)
2301
- pp result
2302
- rescue Intrinio::ApiError => e
2303
- puts "Exception when calling TechnicalApi->get_security_price_technicals_sr: #{e}"
2304
- end
2207
+ result = technical_api.get_security_price_technicals_sr(identifier, opts)
2208
+ pp result
2305
2209
  ```
2306
2210
 
2307
2211
  [//]: # (END_CODE_EXAMPLE)
@@ -2377,26 +2281,22 @@ require 'pp'
2377
2281
  # Setup authorization
2378
2282
  Intrinio.configure do |config|
2379
2283
  config.api_key['api_key'] = 'YOUR_API_KEY'
2284
+ config.allow_retries = true
2380
2285
  end
2381
2286
 
2382
2287
  technical_api = Intrinio::TechnicalApi.new
2383
-
2384
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2385
-
2386
- opts = {
2387
- period: 15, # Integer | The number of observations, per period, to calculate Exponential Moving Average for Triple Exponential Average
2388
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2389
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2390
- page_size: 100, # Integer | The number of results to return
2391
- next_page: nil # String | Gets the next page of data from a previous API call
2288
+ identifier = "AAPL"
2289
+
2290
+ opts = {
2291
+ period: 15,
2292
+ start_date: "2018-01-01",
2293
+ end_date: "2019-01-01",
2294
+ page_size: 100,
2295
+ next_page: nil
2392
2296
  }
2393
2297
 
2394
- begin
2395
- result = technical_api.get_security_price_technicals_trix(identifier, opts)
2396
- pp result
2397
- rescue Intrinio::ApiError => e
2398
- puts "Exception when calling TechnicalApi->get_security_price_technicals_trix: #{e}"
2399
- end
2298
+ result = technical_api.get_security_price_technicals_trix(identifier, opts)
2299
+ pp result
2400
2300
  ```
2401
2301
 
2402
2302
  [//]: # (END_CODE_EXAMPLE)
@@ -2471,28 +2371,24 @@ require 'pp'
2471
2371
  # Setup authorization
2472
2372
  Intrinio.configure do |config|
2473
2373
  config.api_key['api_key'] = 'YOUR_API_KEY'
2374
+ config.allow_retries = true
2474
2375
  end
2475
2376
 
2476
2377
  technical_api = Intrinio::TechnicalApi.new
2477
-
2478
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2479
-
2480
- opts = {
2481
- low_period: 13, # Integer | The number of observations, per period, to calculate low period Exponential Moving Average for smoothing in True Strength Index
2482
- high_period: 25, # Integer | The number of observations, per period, to calculate high period Exponential Moving Average for smoothing in True Strength Index
2483
- price_key: "close", # String | The Stock Price field to use when calculating True Strength Index
2484
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2485
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2486
- page_size: 100, # Integer | The number of results to return
2487
- next_page: nil # String | Gets the next page of data from a previous API call
2378
+ identifier = "AAPL"
2379
+
2380
+ opts = {
2381
+ low_period: 13,
2382
+ high_period: 25,
2383
+ price_key: "close",
2384
+ start_date: "2018-01-01",
2385
+ end_date: "2019-01-01",
2386
+ page_size: 100,
2387
+ next_page: nil
2488
2388
  }
2489
2389
 
2490
- begin
2491
- result = technical_api.get_security_price_technicals_tsi(identifier, opts)
2492
- pp result
2493
- rescue Intrinio::ApiError => e
2494
- puts "Exception when calling TechnicalApi->get_security_price_technicals_tsi: #{e}"
2495
- end
2390
+ result = technical_api.get_security_price_technicals_tsi(identifier, opts)
2391
+ pp result
2496
2392
  ```
2497
2393
 
2498
2394
  [//]: # (END_CODE_EXAMPLE)
@@ -2569,31 +2465,27 @@ require 'pp'
2569
2465
  # Setup authorization
2570
2466
  Intrinio.configure do |config|
2571
2467
  config.api_key['api_key'] = 'YOUR_API_KEY'
2468
+ config.allow_retries = true
2572
2469
  end
2573
2470
 
2574
2471
  technical_api = Intrinio::TechnicalApi.new
2575
-
2576
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2577
-
2578
- opts = {
2579
- short_period: 7, # Integer | The number of observations, per period, to calculate the short period for Ultimate Oscillator
2580
- medium_period: 14, # Integer | The number of observations, per period, to calculate the medium period for Ultimate Oscillator
2581
- long_period: 28, # Integer | The number of observations, per period, to calculate the long period for Ultimate Oscillator
2582
- short_weight: 4.0, # Float | The weight of short Buying Pressure average for Ultimate Oscillator
2583
- medium_weight: 2.0, # Float | The weight of medium Buying Pressure average for Ultimate Oscillator
2584
- long_weight: 1.0, # Float | The weight of long Buying Pressure average for Ultimate Oscillator
2585
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2586
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2587
- page_size: 100, # Integer | The number of results to return
2588
- next_page: nil # String | Gets the next page of data from a previous API call
2472
+ identifier = "AAPL"
2473
+
2474
+ opts = {
2475
+ short_period: 7,
2476
+ medium_period: 14,
2477
+ long_period: 28,
2478
+ short_weight: 4.0,
2479
+ medium_weight: 2.0,
2480
+ long_weight: 1.0,
2481
+ start_date: "2018-01-01",
2482
+ end_date: "2019-01-01",
2483
+ page_size: 100,
2484
+ next_page: nil
2589
2485
  }
2590
2486
 
2591
- begin
2592
- result = technical_api.get_security_price_technicals_uo(identifier, opts)
2593
- pp result
2594
- rescue Intrinio::ApiError => e
2595
- puts "Exception when calling TechnicalApi->get_security_price_technicals_uo: #{e}"
2596
- end
2487
+ result = technical_api.get_security_price_technicals_uo(identifier, opts)
2488
+ pp result
2597
2489
  ```
2598
2490
 
2599
2491
  [//]: # (END_CODE_EXAMPLE)
@@ -2673,26 +2565,22 @@ require 'pp'
2673
2565
  # Setup authorization
2674
2566
  Intrinio.configure do |config|
2675
2567
  config.api_key['api_key'] = 'YOUR_API_KEY'
2568
+ config.allow_retries = true
2676
2569
  end
2677
2570
 
2678
2571
  technical_api = Intrinio::TechnicalApi.new
2679
-
2680
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2681
-
2682
- opts = {
2683
- period: 14, # Integer | The number of observations, per period, to calculate Vortex Indicator
2684
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2685
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2686
- page_size: 100, # Integer | The number of results to return
2687
- next_page: nil # String | Gets the next page of data from a previous API call
2572
+ identifier = "AAPL"
2573
+
2574
+ opts = {
2575
+ period: 14,
2576
+ start_date: "2018-01-01",
2577
+ end_date: "2019-01-01",
2578
+ page_size: 100,
2579
+ next_page: nil
2688
2580
  }
2689
2581
 
2690
- begin
2691
- result = technical_api.get_security_price_technicals_vi(identifier, opts)
2692
- pp result
2693
- rescue Intrinio::ApiError => e
2694
- puts "Exception when calling TechnicalApi->get_security_price_technicals_vi: #{e}"
2695
- end
2582
+ result = technical_api.get_security_price_technicals_vi(identifier, opts)
2583
+ pp result
2696
2584
  ```
2697
2585
 
2698
2586
  [//]: # (END_CODE_EXAMPLE)
@@ -2767,25 +2655,21 @@ require 'pp'
2767
2655
  # Setup authorization
2768
2656
  Intrinio.configure do |config|
2769
2657
  config.api_key['api_key'] = 'YOUR_API_KEY'
2658
+ config.allow_retries = true
2770
2659
  end
2771
2660
 
2772
2661
  technical_api = Intrinio::TechnicalApi.new
2662
+ identifier = "AAPL"
2773
2663
 
2774
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2775
-
2776
- opts = {
2777
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2778
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2779
- page_size: 100, # Integer | The number of results to return
2780
- next_page: nil # String | Gets the next page of data from a previous API call
2664
+ opts = {
2665
+ start_date: "2018-01-01",
2666
+ end_date: "2019-01-01",
2667
+ page_size: 100,
2668
+ next_page: nil
2781
2669
  }
2782
2670
 
2783
- begin
2784
- result = technical_api.get_security_price_technicals_vpt(identifier, opts)
2785
- pp result
2786
- rescue Intrinio::ApiError => e
2787
- puts "Exception when calling TechnicalApi->get_security_price_technicals_vpt: #{e}"
2788
- end
2671
+ result = technical_api.get_security_price_technicals_vpt(identifier, opts)
2672
+ pp result
2789
2673
  ```
2790
2674
 
2791
2675
  [//]: # (END_CODE_EXAMPLE)
@@ -2859,25 +2743,21 @@ require 'pp'
2859
2743
  # Setup authorization
2860
2744
  Intrinio.configure do |config|
2861
2745
  config.api_key['api_key'] = 'YOUR_API_KEY'
2746
+ config.allow_retries = true
2862
2747
  end
2863
2748
 
2864
2749
  technical_api = Intrinio::TechnicalApi.new
2750
+ identifier = "AAPL"
2865
2751
 
2866
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2867
-
2868
- opts = {
2869
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2870
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2871
- page_size: 100, # Integer | The number of results to return
2872
- next_page: nil # String | Gets the next page of data from a previous API call
2752
+ opts = {
2753
+ start_date: "2018-01-01",
2754
+ end_date: "2019-01-01",
2755
+ page_size: 100,
2756
+ next_page: nil
2873
2757
  }
2874
2758
 
2875
- begin
2876
- result = technical_api.get_security_price_technicals_vwap(identifier, opts)
2877
- pp result
2878
- rescue Intrinio::ApiError => e
2879
- puts "Exception when calling TechnicalApi->get_security_price_technicals_vwap: #{e}"
2880
- end
2759
+ result = technical_api.get_security_price_technicals_vwap(identifier, opts)
2760
+ pp result
2881
2761
  ```
2882
2762
 
2883
2763
  [//]: # (END_CODE_EXAMPLE)
@@ -2951,26 +2831,22 @@ require 'pp'
2951
2831
  # Setup authorization
2952
2832
  Intrinio.configure do |config|
2953
2833
  config.api_key['api_key'] = 'YOUR_API_KEY'
2834
+ config.allow_retries = true
2954
2835
  end
2955
2836
 
2956
2837
  technical_api = Intrinio::TechnicalApi.new
2957
-
2958
- identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
2959
-
2960
- opts = {
2961
- period: 14, # Integer | The number of observations, per period, to look-back when calculating Williams %R
2962
- start_date: "2018-01-01", # String | Return technical indicator values on or after the date
2963
- end_date: "2019-01-01", # String | Return technical indicator values on or before the date
2964
- page_size: 100, # Float | The number of results to return
2965
- next_page: nil # String | Gets the next page of data from a previous API call
2838
+ identifier = "AAPL"
2839
+
2840
+ opts = {
2841
+ period: 14,
2842
+ start_date: "2018-01-01",
2843
+ end_date: "2019-01-01",
2844
+ page_size: 100,
2845
+ next_page: nil
2966
2846
  }
2967
2847
 
2968
- begin
2969
- result = technical_api.get_security_price_technicals_wr(identifier, opts)
2970
- pp result
2971
- rescue Intrinio::ApiError => e
2972
- puts "Exception when calling TechnicalApi->get_security_price_technicals_wr: #{e}"
2973
- end
2848
+ result = technical_api.get_security_price_technicals_wr(identifier, opts)
2849
+ pp result
2974
2850
  ```
2975
2851
 
2976
2852
  [//]: # (END_CODE_EXAMPLE)