intrinio-sdk 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +168 -2
  3. data/docs/AccumulationDistributionIndexTechnicalValue.md +9 -0
  4. data/docs/ApiResponseCryptoBook.md +12 -0
  5. data/docs/ApiResponseCryptoBookAsks.md +11 -0
  6. data/docs/ApiResponseCryptoBookBids.md +11 -0
  7. data/docs/ApiResponseCryptoCurrencies.md +8 -0
  8. data/docs/ApiResponseCryptoExchanges.md +8 -0
  9. data/docs/ApiResponseCryptoPairs.md +9 -0
  10. data/docs/ApiResponseCryptoPrices.md +12 -0
  11. data/docs/ApiResponseCryptoSnapshot.md +10 -0
  12. data/docs/ApiResponseCryptoStats.md +8 -0
  13. data/docs/ApiResponseOptionPrices.md +10 -0
  14. data/docs/ApiResponseOptions.md +9 -0
  15. data/docs/ApiResponseOptionsChain.md +8 -0
  16. data/docs/ApiResponseOptionsExpirations.md +8 -0
  17. data/docs/ApiResponseSecurityAccumulationDistributionIndex.md +11 -0
  18. data/docs/ApiResponseSecurityAverageDailyTradingVolume.md +11 -0
  19. data/docs/ApiResponseSecurityAverageDirectionalIndex.md +11 -0
  20. data/docs/ApiResponseSecurityAverageTrueRange.md +11 -0
  21. data/docs/ApiResponseSecurityAwesomeOscillator.md +11 -0
  22. data/docs/ApiResponseSecurityBollingerBands.md +11 -0
  23. data/docs/ApiResponseSecurityChaikinMoneyFlow.md +11 -0
  24. data/docs/ApiResponseSecurityCommodityChannelIndex.md +11 -0
  25. data/docs/ApiResponseSecurityDetrendedPriceOscillator.md +11 -0
  26. data/docs/ApiResponseSecurityDonchianChannel.md +11 -0
  27. data/docs/ApiResponseSecurityEaseOfMovement.md +11 -0
  28. data/docs/ApiResponseSecurityForceIndex.md +11 -0
  29. data/docs/ApiResponseSecurityIchimokuKinkoHyo.md +11 -0
  30. data/docs/ApiResponseSecurityKeltnerChannel.md +11 -0
  31. data/docs/ApiResponseSecurityKnowSureThing.md +11 -0
  32. data/docs/ApiResponseSecurityMassIndex.md +11 -0
  33. data/docs/ApiResponseSecurityMoneyFlowIndex.md +11 -0
  34. data/docs/ApiResponseSecurityMovingAverageConvergenceDivergence.md +11 -0
  35. data/docs/ApiResponseSecurityNegativeVolumeIndex.md +11 -0
  36. data/docs/ApiResponseSecurityOnBalanceVolume.md +11 -0
  37. data/docs/ApiResponseSecurityOnBalanceVolumeMean.md +11 -0
  38. data/docs/ApiResponseSecurityRelativeStrengthIndex.md +11 -0
  39. data/docs/ApiResponseSecuritySimpleMovingAverage.md +11 -0
  40. data/docs/ApiResponseSecurityStochasticOscillator.md +11 -0
  41. data/docs/ApiResponseSecurityTripleExponentialAverage.md +11 -0
  42. data/docs/ApiResponseSecurityTrueStrengthIndex.md +11 -0
  43. data/docs/ApiResponseSecurityUltimateOscillator.md +11 -0
  44. data/docs/ApiResponseSecurityVolumePriceTrend.md +11 -0
  45. data/docs/ApiResponseSecurityVolumeWeightedAveragePrice.md +11 -0
  46. data/docs/ApiResponseSecurityVortexIndicator.md +11 -0
  47. data/docs/ApiResponseSecurityWilliamsR.md +11 -0
  48. data/docs/AverageDailyTradingVolumeTechnicalValue.md +9 -0
  49. data/docs/AverageDirectionalIndexTechnicalValue.md +11 -0
  50. data/docs/AverageTrueRangeTechnicalValue.md +9 -0
  51. data/docs/AwesomeOscillatorTechnicalValue.md +9 -0
  52. data/docs/BollingerBandsTechnicalValue.md +11 -0
  53. data/docs/ChaikinMoneyFlowTechnicalValue.md +9 -0
  54. data/docs/CommodityChannelIndexTechnicalValue.md +9 -0
  55. data/docs/CompanyApi.md +15 -15
  56. data/docs/CryptoApi.md +433 -0
  57. data/docs/CryptoAsk.md +9 -0
  58. data/docs/CryptoBid.md +9 -0
  59. data/docs/CryptoBookEntry.md +9 -0
  60. data/docs/CryptoCurrency.md +12 -0
  61. data/docs/CryptoExchange.md +13 -0
  62. data/docs/CryptoExchangeSummary.md +9 -0
  63. data/docs/CryptoPair.md +15 -0
  64. data/docs/CryptoPairSummary.md +9 -0
  65. data/docs/CryptoPrice.md +13 -0
  66. data/docs/CryptoSnapshot.md +22 -0
  67. data/docs/CryptoStat.md +15 -0
  68. data/docs/DataPointApi.md +10 -10
  69. data/docs/DetrendedPriceOscillatorTechnicalValue.md +9 -0
  70. data/docs/DonchianChannelTechnicalValue.md +10 -0
  71. data/docs/EaseOfMovementTechnicalValue.md +9 -0
  72. data/docs/ForceIndexTechnicalValue.md +9 -0
  73. data/docs/FundamentalsApi.md +4 -4
  74. data/docs/HistoricalDataApi.md +7 -5
  75. data/docs/IchimokuKinkoHyoTechnicalValue.md +13 -0
  76. data/docs/KeltnerChannelTechnicalValue.md +11 -0
  77. data/docs/KnowSureThingTechnicalValue.md +9 -0
  78. data/docs/MassIndexTechnicalValue.md +9 -0
  79. data/docs/MoneyFlowIndexTechnicalValue.md +9 -0
  80. data/docs/MovingAverageConvergenceDivergenceTechnicalValue.md +11 -0
  81. data/docs/NegativeVolumeIndexTechnicalValue.md +9 -0
  82. data/docs/OnBalanceVolumeMeanTechnicalValue.md +9 -0
  83. data/docs/OnBalanceVolumeTechnicalValue.md +9 -0
  84. data/docs/Option.md +13 -0
  85. data/docs/OptionChain.md +9 -0
  86. data/docs/OptionPrice.md +21 -0
  87. data/docs/OptionsApi.md +225 -0
  88. data/docs/RelativeStrengthIndexTechnicalValue.md +9 -0
  89. data/docs/ReportedFinancial.md +1 -0
  90. data/docs/ReportedFinancialDimension.md +9 -0
  91. data/docs/Security.md +1 -0
  92. data/docs/SecurityApi.md +1717 -22
  93. data/docs/SimpleMovingAverageTechnicalValue.md +9 -0
  94. data/docs/StochasticOscillatorTechnicalValue.md +10 -0
  95. data/docs/StockExchangeApi.md +6 -6
  96. data/docs/TechnicalApi.md +1701 -0
  97. data/docs/TechnicalIndicator.md +9 -0
  98. data/docs/TripleExponentialAverageTechnicalValue.md +9 -0
  99. data/docs/TrueStrengthIndexTechnicalValue.md +9 -0
  100. data/docs/UltimateOscillatorTechnicalValue.md +9 -0
  101. data/docs/VolumePriceTrendTechnicalValue.md +9 -0
  102. data/docs/VolumeWeightedAveragePriceValue.md +9 -0
  103. data/docs/VortexIndicatorTechnicalValue.md +10 -0
  104. data/docs/WilliamsRTechnicalValue.md +9 -0
  105. data/intrinio-sdk.gemspec +1 -1
  106. data/lib/intrinio-sdk.rb +95 -1
  107. data/lib/intrinio-sdk/api/company_api.rb +19 -19
  108. data/lib/intrinio-sdk/api/crypto_api.rb +560 -0
  109. data/lib/intrinio-sdk/api/data_point_api.rb +13 -13
  110. data/lib/intrinio-sdk/api/data_tag_api.rb +1 -1
  111. data/lib/intrinio-sdk/api/filing_api.rb +1 -1
  112. data/lib/intrinio-sdk/api/forex_api.rb +1 -1
  113. data/lib/intrinio-sdk/api/fundamentals_api.rb +5 -5
  114. data/lib/intrinio-sdk/api/historical_data_api.rb +13 -7
  115. data/lib/intrinio-sdk/api/index_api.rb +1 -1
  116. data/lib/intrinio-sdk/api/municipality_api.rb +1 -1
  117. data/lib/intrinio-sdk/api/options_api.rb +325 -0
  118. data/lib/intrinio-sdk/api/security_api.rb +2472 -21
  119. data/lib/intrinio-sdk/api/stock_exchange_api.rb +3 -3
  120. data/lib/intrinio-sdk/api/technical_api.rb +2474 -0
  121. data/lib/intrinio-sdk/api_client.rb +1 -1
  122. data/lib/intrinio-sdk/api_error.rb +1 -1
  123. data/lib/intrinio-sdk/configuration.rb +1 -1
  124. data/lib/intrinio-sdk/models/accumulation_distribution_index_technical_value.rb +199 -0
  125. data/lib/intrinio-sdk/models/api_response_companies.rb +1 -1
  126. data/lib/intrinio-sdk/models/api_response_companies_search.rb +1 -1
  127. data/lib/intrinio-sdk/models/api_response_company_filings.rb +1 -1
  128. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +1 -1
  129. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +1 -1
  130. data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
  131. data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
  132. data/lib/intrinio-sdk/models/api_response_crypto_book.rb +231 -0
  133. data/lib/intrinio-sdk/models/api_response_crypto_book_asks.rb +219 -0
  134. data/lib/intrinio-sdk/models/api_response_crypto_book_bids.rb +219 -0
  135. data/lib/intrinio-sdk/models/api_response_crypto_currencies.rb +191 -0
  136. data/lib/intrinio-sdk/models/api_response_crypto_exchanges.rb +191 -0
  137. data/lib/intrinio-sdk/models/api_response_crypto_pairs.rb +201 -0
  138. data/lib/intrinio-sdk/models/api_response_crypto_prices.rb +229 -0
  139. data/lib/intrinio-sdk/models/api_response_crypto_snapshot.rb +206 -0
  140. data/lib/intrinio-sdk/models/api_response_crypto_stats.rb +191 -0
  141. data/lib/intrinio-sdk/models/api_response_data_tags.rb +1 -1
  142. data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +1 -1
  143. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +1 -1
  144. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +1 -1
  145. data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +1 -1
  146. data/lib/intrinio-sdk/models/api_response_filing_notes.rb +1 -1
  147. data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +1 -1
  148. data/lib/intrinio-sdk/models/api_response_filings.rb +1 -1
  149. data/lib/intrinio-sdk/models/api_response_forex_currencies.rb +1 -1
  150. data/lib/intrinio-sdk/models/api_response_forex_pairs.rb +1 -1
  151. data/lib/intrinio-sdk/models/api_response_forex_prices.rb +1 -1
  152. data/lib/intrinio-sdk/models/api_response_historical_data.rb +1 -1
  153. data/lib/intrinio-sdk/models/api_response_municipalities.rb +1 -1
  154. data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +1 -1
  155. data/lib/intrinio-sdk/models/api_response_news.rb +1 -1
  156. data/lib/intrinio-sdk/models/api_response_option_prices.rb +210 -0
  157. data/lib/intrinio-sdk/models/api_response_options.rb +201 -0
  158. data/lib/intrinio-sdk/models/api_response_options_chain.rb +191 -0
  159. data/lib/intrinio-sdk/models/api_response_options_expirations.rb +191 -0
  160. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +1 -1
  161. data/lib/intrinio-sdk/models/api_response_securities.rb +1 -1
  162. data/lib/intrinio-sdk/models/api_response_securities_search.rb +1 -1
  163. data/lib/intrinio-sdk/models/api_response_security_accumulation_distribution_index.rb +220 -0
  164. data/lib/intrinio-sdk/models/api_response_security_average_daily_trading_volume.rb +220 -0
  165. data/lib/intrinio-sdk/models/api_response_security_average_directional_index.rb +220 -0
  166. data/lib/intrinio-sdk/models/api_response_security_average_true_range.rb +220 -0
  167. data/lib/intrinio-sdk/models/api_response_security_awesome_oscillator.rb +220 -0
  168. data/lib/intrinio-sdk/models/api_response_security_bollinger_bands.rb +220 -0
  169. data/lib/intrinio-sdk/models/api_response_security_chaikin_money_flow.rb +220 -0
  170. data/lib/intrinio-sdk/models/api_response_security_commodity_channel_index.rb +220 -0
  171. data/lib/intrinio-sdk/models/api_response_security_detrended_price_oscillator.rb +220 -0
  172. data/lib/intrinio-sdk/models/api_response_security_donchian_channel.rb +220 -0
  173. data/lib/intrinio-sdk/models/api_response_security_ease_of_movement.rb +220 -0
  174. data/lib/intrinio-sdk/models/api_response_security_force_index.rb +220 -0
  175. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +1 -1
  176. data/lib/intrinio-sdk/models/api_response_security_ichimoku_kinko_hyo.rb +220 -0
  177. data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +1 -1
  178. data/lib/intrinio-sdk/models/api_response_security_keltner_channel.rb +220 -0
  179. data/lib/intrinio-sdk/models/api_response_security_know_sure_thing.rb +220 -0
  180. data/lib/intrinio-sdk/models/api_response_security_mass_index.rb +220 -0
  181. data/lib/intrinio-sdk/models/api_response_security_money_flow_index.rb +220 -0
  182. data/lib/intrinio-sdk/models/api_response_security_moving_average_convergence_divergence.rb +220 -0
  183. data/lib/intrinio-sdk/models/api_response_security_negative_volume_index.rb +220 -0
  184. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume.rb +220 -0
  185. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume_mean.rb +220 -0
  186. data/lib/intrinio-sdk/models/api_response_security_relative_strength_index.rb +220 -0
  187. data/lib/intrinio-sdk/models/api_response_security_simple_moving_average.rb +220 -0
  188. data/lib/intrinio-sdk/models/api_response_security_stochastic_oscillator.rb +220 -0
  189. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +1 -1
  190. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +1 -1
  191. data/lib/intrinio-sdk/models/api_response_security_triple_exponential_average.rb +220 -0
  192. data/lib/intrinio-sdk/models/api_response_security_true_strength_index.rb +220 -0
  193. data/lib/intrinio-sdk/models/api_response_security_ultimate_oscillator.rb +220 -0
  194. data/lib/intrinio-sdk/models/api_response_security_volume_price_trend.rb +220 -0
  195. data/lib/intrinio-sdk/models/api_response_security_volume_weighted_average_price.rb +220 -0
  196. data/lib/intrinio-sdk/models/api_response_security_vortex_indicator.rb +220 -0
  197. data/lib/intrinio-sdk/models/api_response_security_williams_r.rb +220 -0
  198. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +1 -1
  199. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +1 -1
  200. data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +1 -1
  201. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +1 -1
  202. data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +1 -1
  203. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +1 -1
  204. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +1 -1
  205. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +1 -1
  206. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +1 -1
  207. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +1 -1
  208. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +1 -1
  209. data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +1 -1
  210. data/lib/intrinio-sdk/models/average_daily_trading_volume_technical_value.rb +199 -0
  211. data/lib/intrinio-sdk/models/average_directional_index_technical_value.rb +219 -0
  212. data/lib/intrinio-sdk/models/average_true_range_technical_value.rb +199 -0
  213. data/lib/intrinio-sdk/models/awesome_oscillator_technical_value.rb +199 -0
  214. data/lib/intrinio-sdk/models/bollinger_bands_technical_value.rb +219 -0
  215. data/lib/intrinio-sdk/models/chaikin_money_flow_technical_value.rb +199 -0
  216. data/lib/intrinio-sdk/models/commodity_channel_index_technical_value.rb +199 -0
  217. data/lib/intrinio-sdk/models/company.rb +1 -1
  218. data/lib/intrinio-sdk/models/company_filing.rb +1 -1
  219. data/lib/intrinio-sdk/models/company_news.rb +1 -1
  220. data/lib/intrinio-sdk/models/company_news_summary.rb +1 -1
  221. data/lib/intrinio-sdk/models/company_summary.rb +1 -1
  222. data/lib/intrinio-sdk/models/crypto_ask.rb +199 -0
  223. data/lib/intrinio-sdk/models/crypto_bid.rb +199 -0
  224. data/lib/intrinio-sdk/models/crypto_book_entry.rb +199 -0
  225. data/lib/intrinio-sdk/models/crypto_currency.rb +229 -0
  226. data/lib/intrinio-sdk/models/crypto_exchange.rb +239 -0
  227. data/lib/intrinio-sdk/models/crypto_exchange_summary.rb +199 -0
  228. data/lib/intrinio-sdk/models/crypto_pair.rb +259 -0
  229. data/lib/intrinio-sdk/models/crypto_pair_summary.rb +199 -0
  230. data/lib/intrinio-sdk/models/crypto_price.rb +239 -0
  231. data/lib/intrinio-sdk/models/crypto_snapshot.rb +329 -0
  232. data/lib/intrinio-sdk/models/crypto_stat.rb +259 -0
  233. data/lib/intrinio-sdk/models/data_tag.rb +1 -1
  234. data/lib/intrinio-sdk/models/data_tag_summary.rb +1 -1
  235. data/lib/intrinio-sdk/models/detrended_price_oscillator_technical_value.rb +199 -0
  236. data/lib/intrinio-sdk/models/dividend_record.rb +1 -1
  237. data/lib/intrinio-sdk/models/donchian_channel_technical_value.rb +209 -0
  238. data/lib/intrinio-sdk/models/earnings_record.rb +1 -1
  239. data/lib/intrinio-sdk/models/ease_of_movement_technical_value.rb +199 -0
  240. data/lib/intrinio-sdk/models/economic_index.rb +1 -1
  241. data/lib/intrinio-sdk/models/economic_index_summary.rb +1 -1
  242. data/lib/intrinio-sdk/models/filing.rb +1 -1
  243. data/lib/intrinio-sdk/models/filing_note.rb +1 -1
  244. data/lib/intrinio-sdk/models/filing_note_filing.rb +1 -1
  245. data/lib/intrinio-sdk/models/filing_note_summary.rb +1 -1
  246. data/lib/intrinio-sdk/models/filing_summary.rb +1 -1
  247. data/lib/intrinio-sdk/models/force_index_technical_value.rb +199 -0
  248. data/lib/intrinio-sdk/models/forex_currency.rb +1 -1
  249. data/lib/intrinio-sdk/models/forex_pair.rb +1 -1
  250. data/lib/intrinio-sdk/models/forex_price.rb +1 -1
  251. data/lib/intrinio-sdk/models/fundamental.rb +1 -1
  252. data/lib/intrinio-sdk/models/fundamental_summary.rb +1 -1
  253. data/lib/intrinio-sdk/models/historical_data.rb +1 -1
  254. data/lib/intrinio-sdk/models/ichimoku_kinko_hyo_technical_value.rb +239 -0
  255. data/lib/intrinio-sdk/models/intraday_stock_price.rb +1 -1
  256. data/lib/intrinio-sdk/models/keltner_channel_technical_value.rb +219 -0
  257. data/lib/intrinio-sdk/models/know_sure_thing_technical_value.rb +199 -0
  258. data/lib/intrinio-sdk/models/mass_index_technical_value.rb +199 -0
  259. data/lib/intrinio-sdk/models/money_flow_index_technical_value.rb +199 -0
  260. data/lib/intrinio-sdk/models/moving_average_convergence_divergence_technical_value.rb +219 -0
  261. data/lib/intrinio-sdk/models/municipality.rb +1 -1
  262. data/lib/intrinio-sdk/models/municipality_financial.rb +1 -1
  263. data/lib/intrinio-sdk/models/negative_volume_index_technical_value.rb +199 -0
  264. data/lib/intrinio-sdk/models/on_balance_volume_mean_technical_value.rb +199 -0
  265. data/lib/intrinio-sdk/models/on_balance_volume_technical_value.rb +199 -0
  266. data/lib/intrinio-sdk/models/option.rb +239 -0
  267. data/lib/intrinio-sdk/models/option_chain.rb +197 -0
  268. data/lib/intrinio-sdk/models/option_price.rb +319 -0
  269. data/lib/intrinio-sdk/models/realtime_stock_price.rb +1 -1
  270. data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +1 -1
  271. data/lib/intrinio-sdk/models/relative_strength_index_technical_value.rb +199 -0
  272. data/lib/intrinio-sdk/models/reported_financial.rb +18 -6
  273. data/lib/intrinio-sdk/models/reported_financial_dimension.rb +199 -0
  274. data/lib/intrinio-sdk/models/reported_tag.rb +1 -1
  275. data/lib/intrinio-sdk/models/security.rb +15 -5
  276. data/lib/intrinio-sdk/models/security_screen_clause.rb +1 -1
  277. data/lib/intrinio-sdk/models/security_screen_group.rb +1 -1
  278. data/lib/intrinio-sdk/models/security_screen_result.rb +1 -1
  279. data/lib/intrinio-sdk/models/security_screen_result_data.rb +1 -1
  280. data/lib/intrinio-sdk/models/security_summary.rb +1 -1
  281. data/lib/intrinio-sdk/models/sic_index.rb +1 -1
  282. data/lib/intrinio-sdk/models/simple_moving_average_technical_value.rb +199 -0
  283. data/lib/intrinio-sdk/models/standardized_financial.rb +1 -1
  284. data/lib/intrinio-sdk/models/stochastic_oscillator_technical_value.rb +209 -0
  285. data/lib/intrinio-sdk/models/stock_exchange.rb +1 -1
  286. data/lib/intrinio-sdk/models/stock_market_index.rb +1 -1
  287. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +1 -1
  288. data/lib/intrinio-sdk/models/stock_price.rb +1 -1
  289. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +1 -1
  290. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +1 -1
  291. data/lib/intrinio-sdk/models/stock_price_summary.rb +1 -1
  292. data/lib/intrinio-sdk/models/technical_indicator.rb +199 -0
  293. data/lib/intrinio-sdk/models/triple_exponential_average_technical_value.rb +199 -0
  294. data/lib/intrinio-sdk/models/true_strength_index_technical_value.rb +199 -0
  295. data/lib/intrinio-sdk/models/ultimate_oscillator_technical_value.rb +199 -0
  296. data/lib/intrinio-sdk/models/volume_price_trend_technical_value.rb +199 -0
  297. data/lib/intrinio-sdk/models/volume_weighted_average_price_value.rb +199 -0
  298. data/lib/intrinio-sdk/models/vortex_indicator_technical_value.rb +209 -0
  299. data/lib/intrinio-sdk/models/williams_r_technical_value.rb +199 -0
  300. data/lib/intrinio-sdk/version.rb +2 -2
  301. data/spec/api/company_api_spec.rb +9 -9
  302. data/spec/api/crypto_api_spec.rb +166 -0
  303. data/spec/api/data_point_api_spec.rb +6 -6
  304. data/spec/api/fundamentals_api_spec.rb +2 -2
  305. data/spec/api/historical_data_api_spec.rb +4 -3
  306. data/spec/api/options_api_spec.rb +105 -0
  307. data/spec/api/security_api_spec.rb +562 -10
  308. data/spec/api/stock_exchange_api_spec.rb +1 -1
  309. data/spec/api/technical_api_spec.rb +587 -0
  310. data/spec/models/accumulation_distribution_index_technical_value_spec.rb +48 -0
  311. data/spec/models/api_response_crypto_book_asks_spec.rb +60 -0
  312. data/spec/models/api_response_crypto_book_bids_spec.rb +60 -0
  313. data/spec/models/api_response_crypto_book_spec.rb +66 -0
  314. data/spec/models/api_response_crypto_currencies_spec.rb +42 -0
  315. data/spec/models/api_response_crypto_exchanges_spec.rb +42 -0
  316. data/spec/models/api_response_crypto_pairs_spec.rb +48 -0
  317. data/spec/models/api_response_crypto_prices_spec.rb +66 -0
  318. data/spec/models/api_response_crypto_snapshot_spec.rb +54 -0
  319. data/spec/models/api_response_crypto_stats_spec.rb +42 -0
  320. data/spec/models/api_response_option_prices_spec.rb +54 -0
  321. data/spec/models/api_response_options_chain_spec.rb +42 -0
  322. data/spec/models/api_response_options_expirations_spec.rb +42 -0
  323. data/spec/models/api_response_options_spec.rb +48 -0
  324. data/spec/models/api_response_security_accumulation_distribution_index_spec.rb +60 -0
  325. data/spec/models/api_response_security_average_daily_trading_volume_spec.rb +60 -0
  326. data/spec/models/api_response_security_average_directional_index_spec.rb +60 -0
  327. data/spec/models/api_response_security_average_true_range_spec.rb +60 -0
  328. data/spec/models/api_response_security_awesome_oscillator_spec.rb +60 -0
  329. data/spec/models/api_response_security_bollinger_bands_spec.rb +60 -0
  330. data/spec/models/api_response_security_chaikin_money_flow_spec.rb +60 -0
  331. data/spec/models/api_response_security_commodity_channel_index_spec.rb +60 -0
  332. data/spec/models/api_response_security_detrended_price_oscillator_spec.rb +60 -0
  333. data/spec/models/api_response_security_donchian_channel_spec.rb +60 -0
  334. data/spec/models/api_response_security_ease_of_movement_spec.rb +60 -0
  335. data/spec/models/api_response_security_force_index_spec.rb +60 -0
  336. data/spec/models/api_response_security_ichimoku_kinko_hyo_spec.rb +60 -0
  337. data/spec/models/api_response_security_keltner_channel_spec.rb +60 -0
  338. data/spec/models/api_response_security_know_sure_thing_spec.rb +60 -0
  339. data/spec/models/api_response_security_mass_index_spec.rb +60 -0
  340. data/spec/models/api_response_security_money_flow_index_spec.rb +60 -0
  341. data/spec/models/api_response_security_moving_average_convergence_divergence_spec.rb +60 -0
  342. data/spec/models/api_response_security_negative_volume_index_spec.rb +60 -0
  343. data/spec/models/api_response_security_on_balance_volume_mean_spec.rb +60 -0
  344. data/spec/models/api_response_security_on_balance_volume_spec.rb +60 -0
  345. data/spec/models/api_response_security_relative_strength_index_spec.rb +60 -0
  346. data/spec/models/api_response_security_simple_moving_average_spec.rb +60 -0
  347. data/spec/models/api_response_security_stochastic_oscillator_spec.rb +60 -0
  348. data/spec/models/api_response_security_triple_exponential_average_spec.rb +60 -0
  349. data/spec/models/api_response_security_true_strength_index_spec.rb +60 -0
  350. data/spec/models/api_response_security_ultimate_oscillator_spec.rb +60 -0
  351. data/spec/models/api_response_security_volume_price_trend_spec.rb +60 -0
  352. data/spec/models/api_response_security_volume_weighted_average_price_spec.rb +60 -0
  353. data/spec/models/api_response_security_vortex_indicator_spec.rb +60 -0
  354. data/spec/models/api_response_security_williams_r_spec.rb +60 -0
  355. data/spec/models/average_daily_trading_volume_technical_value_spec.rb +48 -0
  356. data/spec/models/average_directional_index_technical_value_spec.rb +60 -0
  357. data/spec/models/average_true_range_technical_value_spec.rb +48 -0
  358. data/spec/models/awesome_oscillator_technical_value_spec.rb +48 -0
  359. data/spec/models/bollinger_bands_technical_value_spec.rb +60 -0
  360. data/spec/models/chaikin_money_flow_technical_value_spec.rb +48 -0
  361. data/spec/models/commodity_channel_index_technical_value_spec.rb +48 -0
  362. data/spec/models/crypto_ask_spec.rb +48 -0
  363. data/spec/models/crypto_bid_spec.rb +48 -0
  364. data/spec/models/crypto_book_entry_spec.rb +48 -0
  365. data/spec/models/crypto_currency_spec.rb +66 -0
  366. data/spec/models/crypto_exchange_spec.rb +72 -0
  367. data/spec/models/crypto_exchange_summary_spec.rb +48 -0
  368. data/spec/models/crypto_pair_spec.rb +84 -0
  369. data/spec/models/crypto_pair_summary_spec.rb +48 -0
  370. data/spec/models/crypto_price_spec.rb +72 -0
  371. data/spec/models/crypto_snapshot_spec.rb +126 -0
  372. data/spec/models/crypto_stat_spec.rb +84 -0
  373. data/spec/models/detrended_price_oscillator_technical_value_spec.rb +48 -0
  374. data/spec/models/donchian_channel_technical_value_spec.rb +54 -0
  375. data/spec/models/ease_of_movement_technical_value_spec.rb +48 -0
  376. data/spec/models/force_index_technical_value_spec.rb +48 -0
  377. data/spec/models/ichimoku_kinko_hyo_technical_value_spec.rb +72 -0
  378. data/spec/models/keltner_channel_technical_value_spec.rb +60 -0
  379. data/spec/models/know_sure_thing_technical_value_spec.rb +48 -0
  380. data/spec/models/mass_index_technical_value_spec.rb +48 -0
  381. data/spec/models/money_flow_index_technical_value_spec.rb +48 -0
  382. data/spec/models/moving_average_convergence_divergence_technical_value_spec.rb +60 -0
  383. data/spec/models/negative_volume_index_technical_value_spec.rb +48 -0
  384. data/spec/models/on_balance_volume_mean_technical_value_spec.rb +48 -0
  385. data/spec/models/on_balance_volume_technical_value_spec.rb +48 -0
  386. data/spec/models/option_chain_spec.rb +48 -0
  387. data/spec/models/option_price_spec.rb +120 -0
  388. data/spec/models/option_spec.rb +72 -0
  389. data/spec/models/relative_strength_index_technical_value_spec.rb +48 -0
  390. data/spec/models/reported_financial_dimension_spec.rb +48 -0
  391. data/spec/models/reported_financial_spec.rb +6 -0
  392. data/spec/models/security_spec.rb +6 -0
  393. data/spec/models/simple_moving_average_technical_value_spec.rb +48 -0
  394. data/spec/models/stochastic_oscillator_technical_value_spec.rb +54 -0
  395. data/spec/models/technical_indicator_spec.rb +48 -0
  396. data/spec/models/triple_exponential_average_technical_value_spec.rb +48 -0
  397. data/spec/models/true_strength_index_technical_value_spec.rb +48 -0
  398. data/spec/models/ultimate_oscillator_technical_value_spec.rb +48 -0
  399. data/spec/models/volume_price_trend_technical_value_spec.rb +48 -0
  400. data/spec/models/volume_weighted_average_price_value_spec.rb +48 -0
  401. data/spec/models/vortex_indicator_technical_value_spec.rb +54 -0
  402. data/spec/models/williams_r_technical_value_spec.rb +48 -0
  403. metadata +378 -2
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
5
 
6
- OpenAPI spec version: 2.2.0
6
+ OpenAPI spec version: 2.5.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.0-SNAPSHOT
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Intrinio
14
- VERSION = "2.1.0"
14
+ VERSION = "2.2.0"
15
15
  end
@@ -78,9 +78,9 @@ describe 'CompanyApi' do
78
78
 
79
79
  # unit tests for get_company_data_point_number
80
80
  # Data Point (Number) for Company
81
- # Returns a numeric value for the given `tag` for the Company with the given `identifier`
82
- # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
83
- # @param tag An Intrinio data tag
81
+ # $$v2_company_data_point_number_description$$
82
+ # @param identifier $$v2_company_data_point_identifier_description$$
83
+ # @param tag $$v2_company_data_point_item_description$$
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @return [Float]
86
86
  describe 'get_company_data_point_number test' do
@@ -91,9 +91,9 @@ describe 'CompanyApi' do
91
91
 
92
92
  # unit tests for get_company_data_point_text
93
93
  # Data Point (Text) for Company
94
- # Returns a text value for the given `tag` for the Company with the given `identifier`
95
- # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
96
- # @param tag An Intrinio data tag
94
+ # $$v2_company_data_point_text_description$$
95
+ # @param identifier $$v2_company_data_point_identifier_description$$
96
+ # @param tag $$v2_company_data_point_item_description$$
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @return [String]
99
99
  describe 'get_company_data_point_text test' do
@@ -140,9 +140,9 @@ describe 'CompanyApi' do
140
140
 
141
141
  # unit tests for get_company_historical_data
142
142
  # Historical Data for Company
143
- # Returns historical values for the given `tag` and the Company with the given `identifier`
144
- # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
145
- # @param tag An Intrinio data-tag
143
+ # $$v2_company_historical_data_description$$
144
+ # @param identifier $$v2_company_historical_data_identifier_description$$
145
+ # @param tag $$v2_company_historical_data_item_description$$
146
146
  # @param [Hash] opts the optional parameters
147
147
  # @option opts [String] :frequency Return historical data in the given frequency
148
148
  # @option opts [String] :type Filter by type, when applicable
@@ -0,0 +1,166 @@
1
+ =begin
2
+ #Intrinio API
3
+
4
+ #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
+
6
+ OpenAPI spec version: 2.2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Intrinio::CryptoApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CryptoApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Intrinio::CryptoApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CryptoApi' do
30
+ it 'should create an instance of CryptoApi' do
31
+ expect(@instance).to be_instance_of(Intrinio::CryptoApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_crypto_book_asks
36
+ # Crypto Book Asks
37
+ # Returns the entire ask order book for a given Crypto Currency Pair and Crypto Exchange.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :pair Return the order book asks for the given Crypto Currency Pair.
40
+ # @option opts [String] :exchange Return the order book asks for a Crypto Currency on the given Crypto Exchange.
41
+ # @option opts [String] :currency Return the order book asks for the given Crypto Currency.
42
+ # @return [ApiResponseCryptoBookAsks]
43
+ describe 'get_crypto_book_asks test' do
44
+ it "should work" do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ # unit tests for get_crypto_book_bids
50
+ # Crypto Book Bids
51
+ # Returns the entire bid order book for a given Crypto Currency Pair and Crypto Exchange.
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :pair Return the order book bids for the given Crypto Currency Pair.
54
+ # @option opts [String] :exchange Return the order book bids for a Crypto Currency on the given Crypto Exchange.
55
+ # @option opts [String] :currency Return the order book bids for the given Crypto Currency.
56
+ # @return [ApiResponseCryptoBookBids]
57
+ describe 'get_crypto_book_bids test' do
58
+ it "should work" do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ # unit tests for get_crypto_book_summary
64
+ # Crypto Book Summary
65
+ # Returns the order book summary (bid/ask prices and size) for a given Crypto Currency Pair and Crypto Exchange.
66
+ # @param [Hash] opts the optional parameters
67
+ # @option opts [Integer] :levels The number of prices/levels to return on each side. For example, the max of 50 levels will return up to 50 bid prices and 50 ask prices.
68
+ # @option opts [String] :pair Return the order book summary for the given Crypto Currency Pair.
69
+ # @option opts [String] :exchange Return the order book summary for a Crypto Currency on the given Crypto Exchange.
70
+ # @option opts [String] :currency Return the order book summary for the given Crypto Currency.
71
+ # @return [ApiResponseCryptoBook]
72
+ describe 'get_crypto_book_summary test' do
73
+ it "should work" do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ # unit tests for get_crypto_currencies
79
+ # Crypto Currencies
80
+ # Returns a list of Crypto Currencies for which prices are available.
81
+ # @param [Hash] opts the optional parameters
82
+ # @option opts [String] :exchange Returns Crypto Currencies traded on the given Crypto Exchange.
83
+ # @return [ApiResponseCryptoCurrencies]
84
+ describe 'get_crypto_currencies test' do
85
+ it "should work" do
86
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
+ end
88
+ end
89
+
90
+ # unit tests for get_crypto_exchanges
91
+ # Crypto Exchanges
92
+ # Returns a list of Crypto Exchanges for which prices are available.
93
+ # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :pair Returns Crypto Currencies traded on the given Crypto Exchange.
95
+ # @return [ApiResponseCryptoExchanges]
96
+ describe 'get_crypto_exchanges test' do
97
+ it "should work" do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
102
+ # unit tests for get_crypto_pairs
103
+ # Crypto Pairs
104
+ # Returns a list of Crypto Currency Pairs for which data is available.
105
+ # @param [Hash] opts the optional parameters
106
+ # @option opts [String] :exchange Return pairs traded on the given Crypto Exchange.
107
+ # @option opts [String] :currency Return pairs with one side being the given Crypto Currency.
108
+ # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
109
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
110
+ # @return [ApiResponseCryptoPairs]
111
+ describe 'get_crypto_pairs test' do
112
+ it "should work" do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ # unit tests for get_crypto_prices
118
+ # Crypto Prices
119
+ # Returns a list of available Crypto Currency Prices.
120
+ # @param timeframe The time interval for the prices.
121
+ # @param [Hash] opts the optional parameters
122
+ # @option opts [String] :pair Return prices for the given Crypto Currency Pair.
123
+ # @option opts [String] :exchange Return prices for a Crypto Currency on the given Crypto Exchange.
124
+ # @option opts [String] :currency Return prices for the given Crypto Currency.
125
+ # @option opts [String] :timezone Return price date/times in this timezone, also interpret start/end date/time parameters in this timezone.
126
+ # @option opts [String] :start_date Return Crypto Prices on or after this date.
127
+ # @option opts [String] :start_time Return Crypto Prices at or after this time (24-hour).
128
+ # @option opts [String] :end_date Return Crypto Prices on or before this date.
129
+ # @option opts [String] :end_time Return Crypto Prices at or before this time (24-hour).
130
+ # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
131
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
132
+ # @return [ApiResponseCryptoPrices]
133
+ describe 'get_crypto_prices test' do
134
+ it "should work" do
135
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
136
+ end
137
+ end
138
+
139
+ # unit tests for get_crypto_snapshot
140
+ # Crypto Snapshot
141
+ # Returns a market snapshot over that last 24 hours for the given currency pair and exchange.
142
+ # @param [Hash] opts the optional parameters
143
+ # @option opts [String] :pair Return the snapshot for the given Crypto Currency Pair.
144
+ # @option opts [String] :exchange Return the snapshot for a Crypto Currency on the given Crypto Exchange.
145
+ # @option opts [String] :currency Return the snapshot for the given Crypto Currency.
146
+ # @return [ApiResponseCryptoSnapshot]
147
+ describe 'get_crypto_snapshot test' do
148
+ it "should work" do
149
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
150
+ end
151
+ end
152
+
153
+ # unit tests for get_crypto_stats
154
+ # Crypto Stats
155
+ # Returns available stats on Crypto Currencies.
156
+ # @param [Hash] opts the optional parameters
157
+ # @option opts [String] :exchange Returns stats for Crypto Currencies that trade on the specified Crypto Exchange.
158
+ # @option opts [String] :currency Returns stats for the specified Crypto Currency.
159
+ # @return [ApiResponseCryptoStats]
160
+ describe 'get_crypto_stats test' do
161
+ it "should work" do
162
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
163
+ end
164
+ end
165
+
166
+ end
@@ -34,9 +34,9 @@ describe 'DataPointApi' do
34
34
 
35
35
  # unit tests for get_data_point_number
36
36
  # Data Point (Number)
37
- # Returns a numeric value for the given `tag` and the entity with the given `identifier`
38
- # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
39
- # @param tag An Intrinio data tag ID or code-name
37
+ # $$v2_data_point_number_description$$
38
+ # @param identifier $$v2_data_point_identifier_description$$
39
+ # @param tag $$v2_data_point_item_description$$
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [Float]
42
42
  describe 'get_data_point_number test' do
@@ -47,9 +47,9 @@ describe 'DataPointApi' do
47
47
 
48
48
  # unit tests for get_data_point_text
49
49
  # Data Point (Text)
50
- # Returns a text value for the given `tag` and the entity with the given `identifier`
51
- # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
52
- # @param tag An Intrinio data tag ID or code-name
50
+ # $$v2_data_point_text_description$$
51
+ # @param identifier $$v2_data_point_identifier_description$$
52
+ # @param tag $$v2_data_point_item_description$$
53
53
  # @param [Hash] opts the optional parameters
54
54
  # @return [String]
55
55
  describe 'get_data_point_text test' do
@@ -47,7 +47,7 @@ describe 'FundamentalsApi' do
47
47
  # unit tests for get_fundamental_reported_financials
48
48
  # Reported Financials
49
49
  # Returns the As-Reported Financials directly from the financial statements of the XBRL filings from the company
50
- # @param id The Intrinio ID for the Fundamental
50
+ # @param id The Intrinio ID or lookup code (ticker-statement-year-period) for the Fundamental
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [ApiResponseReportedFinancials]
53
53
  describe 'get_fundamental_reported_financials test' do
@@ -59,7 +59,7 @@ describe 'FundamentalsApi' do
59
59
  # unit tests for get_fundamental_standardized_financials
60
60
  # Standardized Financials
61
61
  # Returns professional-grade historical financial data. This data is standardized, cleansed and verified to ensure the highest quality data sourced directly from the XBRL financial statements. The primary purpose of standardized financials are to facilitate comparability across a single company’s fundamentals and across all companies fundamentals. For example, it is possible to compare total revenues between two companies as of a certain point in time, or within a single company across multiple time periods. This is not possible using the as reported financial statements because of the inherent complexity of reporting standards.
62
- # @param id The Intrinio ID for the Fundamental
62
+ # @param id The Intrinio ID or lookup code (ticker-statement-year-period) for the Fundamental
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [ApiResponseStandardizedFinancials]
65
65
  describe 'get_fundamental_standardized_financials test' do
@@ -34,10 +34,11 @@ describe 'HistoricalDataApi' do
34
34
 
35
35
  # unit tests for get_historical_data
36
36
  # Historical Data
37
- # Returns historical values for the given `tag` and the entity represented by the given `identifier`
38
- # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
39
- # @param tag An Intrinio data tag ID or code-name
37
+ # $$v2_historical_data_description$$
38
+ # @param identifier $$v2_historical_data_identifier_description$$
39
+ # @param tag $$v2_historical_data_item_description$$
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :frequency Return historical data in the given frequency
41
42
  # @option opts [String] :type Filter by type, when applicable
42
43
  # @option opts [Date] :start_date Get historical data on or after this date
43
44
  # @option opts [Date] :end_date Get historical date on or before this date
@@ -0,0 +1,105 @@
1
+ =begin
2
+ #Intrinio API
3
+
4
+ #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
+
6
+ OpenAPI spec version: 2.2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Intrinio::OptionsApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'OptionsApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Intrinio::OptionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of OptionsApi' do
30
+ it 'should create an instance of OptionsApi' do
31
+ expect(@instance).to be_instance_of(Intrinio::OptionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_options
36
+ # Options
37
+ # Returns the master list of option contracts for a given symbol.
38
+ # @param symbol The option symbol, corresponding to the underlying security.
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :type The option contract type.
41
+ # @option opts [Float] :strike The strike price of the option contract. This will return options contracts with strike price equal to this price.
42
+ # @option opts [Float] :strike_greater_than The strike price of the option contract. This will return options contracts with strike prices greater than this price.
43
+ # @option opts [Float] :strike_less_than The strike price of the option contract. This will return options contracts with strike prices less than this price.
44
+ # @option opts [String] :expiration The expiration date of the option contract. This will return options contracts with expiration dates on this date.
45
+ # @option opts [String] :expiration_after The expiration date of the option contract. This will return options contracts with expiration dates after this date.
46
+ # @option opts [String] :expiration_before The expiration date of the option contract. This will return options contracts with expiration dates before this date.
47
+ # @option opts [Float] :page_size The number of results to return
48
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
49
+ # @return [ApiResponseOptions]
50
+ describe 'get_options test' do
51
+ it "should work" do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for get_options_chain
57
+ # Options Chain
58
+ # Returns all options contracts and their prices for the given symbol and expiration date.
59
+ # @param symbol The option symbol, corresponding to the underlying security.
60
+ # @param expiration The expiration date of the options contract
61
+ # @param [Hash] opts the optional parameters
62
+ # @option opts [String] :type The option contract type.
63
+ # @option opts [Float] :strike The strike price of the option contract. This will return options contracts with strike price equal to this price.
64
+ # @option opts [Float] :strike_greater_than The strike price of the option contract. This will return options contracts with strike prices greater than this price.
65
+ # @option opts [Float] :strike_less_than The strike price of the option contract. This will return options contracts with strike prices less than this price.
66
+ # @option opts [String] :moneyness The moneyness of the options contracts to return. 'all' will return all options contracts. 'in_the_money' will return options contracts that are in the money (call options with strike prices below the current price, put options with strike prices above the current price). 'out_of_they_money' will return options contracts that are out of the money (call options with strike prices above the current price, put options with strike prices below the current price). 'near_the_money' will return options contracts that are $0.50 or less away from being in the money.
67
+ # @option opts [Float] :page_size The number of results to return
68
+ # @return [ApiResponseOptionsChain]
69
+ describe 'get_options_chain test' do
70
+ it "should work" do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ # unit tests for get_options_expirations
76
+ # Options Expirations
77
+ # Returns all option contract expiration dates for a given symbol.
78
+ # @param symbol The option symbol, corresponding to the underlying security.
79
+ # @param [Hash] opts the optional parameters
80
+ # @option opts [String] :after Return option contract expiration dates after this date.
81
+ # @option opts [String] :before Return option contract expiration dates before this date.
82
+ # @return [ApiResponseOptionsExpirations]
83
+ describe 'get_options_expirations test' do
84
+ it "should work" do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ # unit tests for get_options_prices
90
+ # Option Prices
91
+ # Returns all option prices for a given option contract identifier.
92
+ # @param identifier The Intrinio ID or code of the options contract to request prices for.
93
+ # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :start_date Return option contract prices on or after this date.
95
+ # @option opts [String] :end_date Return option contract prices on or before this date.
96
+ # @option opts [Float] :page_size The number of results to return
97
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
98
+ # @return [ApiResponseOptionPrices]
99
+ describe 'get_options_prices test' do
100
+ it "should work" do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ end
@@ -34,7 +34,7 @@ describe 'SecurityApi' do
34
34
 
35
35
  # unit tests for get_all_securities
36
36
  # All Securities
37
- #
37
+ # Returns all Securities to which you have access.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Float] :page_size The number of results to return
40
40
  # @option opts [String] :next_page Gets the next page of data from a previous API call
@@ -59,9 +59,9 @@ describe 'SecurityApi' do
59
59
 
60
60
  # unit tests for get_security_data_point_number
61
61
  # Data Point (Number) for Security
62
- # Returns a numeric value for the given `tag` for the Security with the given `identifier`
63
- # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
64
- # @param tag An Intrinio data tag ID or code-name
62
+ # $$v2_security_data_point_number_description$$
63
+ # @param identifier $$v2_security_data_point_identifier_description$$
64
+ # @param tag $$v2_security_data_point_item_description$$
65
65
  # @param [Hash] opts the optional parameters
66
66
  # @return [Float]
67
67
  describe 'get_security_data_point_number test' do
@@ -72,8 +72,8 @@ describe 'SecurityApi' do
72
72
 
73
73
  # unit tests for get_security_data_point_text
74
74
  # Data Point (Text) for Security
75
- # Returns a text value for the given `tag` for the Security with the given `identifier`
76
- # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
75
+ # $$v2_security_data_point_text_description$$
76
+ # @param identifier $$v2_security_data_point_identifier_description$$
77
77
  # @param tag An Intrinio data tag ID or code-name
78
78
  # @param [Hash] opts the optional parameters
79
79
  # @return [String]
@@ -85,9 +85,9 @@ describe 'SecurityApi' do
85
85
 
86
86
  # unit tests for get_security_historical_data
87
87
  # Historical Data for Security
88
- # Returns historical values for the given `tag` and the Security with the given `identifier`
89
- # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
90
- # @param tag An Intrinio data tag ID or code-name
88
+ # $$v2_security_historical_data_description$$
89
+ # @param identifier $$v2_security_historical_data_identifier_description$$
90
+ # @param tag $$v2_security_data_point_item_description$$
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @option opts [String] :frequency Return historical data in the given frequency
93
93
  # @option opts [String] :type Filter by type, when applicable
@@ -105,7 +105,7 @@ describe 'SecurityApi' do
105
105
 
106
106
  # unit tests for get_security_intraday_prices
107
107
  # Intraday Stock Prices for Security
108
- # Return intraday stock prices for the Security with the given `identifier`
108
+ # $$v2_security_intraday_prices_description$$
109
109
  # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [String] :source Return intraday prices from the specified data source
@@ -144,6 +144,558 @@ describe 'SecurityApi' do
144
144
  end
145
145
  end
146
146
 
147
+ # unit tests for get_security_price_technicals_adi
148
+ # Accumulation/Distribution Index
149
+ # Returns the Accumulation/Distribution Index values of Stock Prices for the Security with the given `identifier`
150
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
151
+ # @param [Hash] opts the optional parameters
152
+ # @option opts [String] :start_date Return technical indicator values on or after the date
153
+ # @option opts [String] :end_date Return technical indicator values on or before the date
154
+ # @option opts [Integer] :page_size The number of results to return
155
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
156
+ # @return [ApiResponseSecurityAccumulationDistributionIndex]
157
+ describe 'get_security_price_technicals_adi test' do
158
+ it "should work" do
159
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
160
+ end
161
+ end
162
+
163
+ # unit tests for get_security_price_technicals_adtv
164
+ # Average Daily Trading Volume
165
+ # Returns the Average Daily Trading Volume values of Stock Prices for the Security with the given `identifier`
166
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
167
+ # @param [Hash] opts the optional parameters
168
+ # @option opts [Integer] :period The number of observations, per period, to calculate Average Daily Trading Volume
169
+ # @option opts [String] :start_date Return technical indicator values on or after the date
170
+ # @option opts [String] :end_date Return technical indicator values on or before the date
171
+ # @option opts [Integer] :page_size The number of results to return
172
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
173
+ # @return [ApiResponseSecurityAverageDailyTradingVolume]
174
+ describe 'get_security_price_technicals_adtv test' do
175
+ it "should work" do
176
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
177
+ end
178
+ end
179
+
180
+ # unit tests for get_security_price_technicals_adx
181
+ # Average Directional Index
182
+ # Returns the Average Directional Index values of Stock Prices for the Security with the given `identifier`
183
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
184
+ # @param [Hash] opts the optional parameters
185
+ # @option opts [Integer] :period The number of observations, per period, to calculate Average Directional Index
186
+ # @option opts [String] :start_date Return technical indicator values on or after the date
187
+ # @option opts [String] :end_date Return technical indicator values on or before the date
188
+ # @option opts [Integer] :page_size The number of results to return
189
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
190
+ # @return [ApiResponseSecurityAverageDirectionalIndex]
191
+ describe 'get_security_price_technicals_adx test' do
192
+ it "should work" do
193
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
194
+ end
195
+ end
196
+
197
+ # unit tests for get_security_price_technicals_ao
198
+ # Awesome Oscillator
199
+ # Returns the Awesome Oscillator values of Stock Prices for the Security with the given `identifier`
200
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
201
+ # @param [Hash] opts the optional parameters
202
+ # @option opts [Integer] :short_period The number of observations, per period, to calculate short period Simple Moving Average of the Awesome Oscillator
203
+ # @option opts [Integer] :long_period The number of observations, per period, to calculate long period Simple Moving Average of the Awesome Oscillator
204
+ # @option opts [String] :start_date Return technical indicator values on or after the date
205
+ # @option opts [String] :end_date Return technical indicator values on or before the date
206
+ # @option opts [Integer] :page_size The number of results to return
207
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
208
+ # @return [ApiResponseSecurityAwesomeOscillator]
209
+ describe 'get_security_price_technicals_ao test' do
210
+ it "should work" do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ # unit tests for get_security_price_technicals_atr
216
+ # Average True Range
217
+ # Returns the Average True Range values of Stock Prices for the Security with the given `identifier`
218
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
219
+ # @param [Hash] opts the optional parameters
220
+ # @option opts [Integer] :period The number of observations, per period, to calculate Average True Range
221
+ # @option opts [String] :start_date Return technical indicator values on or after the date
222
+ # @option opts [String] :end_date Return technical indicator values on or before the date
223
+ # @option opts [Integer] :page_size The number of results to return
224
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
225
+ # @return [ApiResponseSecurityAverageTrueRange]
226
+ describe 'get_security_price_technicals_atr test' do
227
+ it "should work" do
228
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
229
+ end
230
+ end
231
+
232
+ # unit tests for get_security_price_technicals_bb
233
+ # Bollinger Bands
234
+ # Returns the Bollinger Bands values of Stock Prices for the Security with the given `identifier`
235
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
236
+ # @param [Hash] opts the optional parameters
237
+ # @option opts [Integer] :period The number of observations, per period, to calculate Bollinger Bands
238
+ # @option opts [Float] :standard_deviations The number of standard deviations to calculate the upper and lower bands of the Bollinger Bands
239
+ # @option opts [String] :price_key The Stock Price field to use when calculating Bollinger Bands
240
+ # @option opts [String] :start_date Return technical indicator values on or after the date
241
+ # @option opts [String] :end_date Return technical indicator values on or before the date
242
+ # @option opts [Integer] :page_size The number of results to return
243
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
244
+ # @return [ApiResponseSecurityBollingerBands]
245
+ describe 'get_security_price_technicals_bb test' do
246
+ it "should work" do
247
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
248
+ end
249
+ end
250
+
251
+ # unit tests for get_security_price_technicals_cci
252
+ # Commodity Channel Index
253
+ # Returns the Commodity Channel Index values of Stock Prices for the Security with the given `identifier`
254
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
255
+ # @param [Hash] opts the optional parameters
256
+ # @option opts [Integer] :period The number of observations, per period, to calculate Commodity Channel Index
257
+ # @option opts [Float] :constant The number of observations, per period, to calculate Commodity Channel Index
258
+ # @option opts [String] :start_date Return technical indicator values on or after the date
259
+ # @option opts [String] :end_date Return technical indicator values on or before the date
260
+ # @option opts [Integer] :page_size The number of results to return
261
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
262
+ # @return [ApiResponseSecurityCommodityChannelIndex]
263
+ describe 'get_security_price_technicals_cci test' do
264
+ it "should work" do
265
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
266
+ end
267
+ end
268
+
269
+ # unit tests for get_security_price_technicals_cmf
270
+ # Chaikin Money Flow
271
+ # Returns the Chaikin Money Flow values of Stock Prices for the Security with the given `identifier`
272
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
273
+ # @param [Hash] opts the optional parameters
274
+ # @option opts [Integer] :period The number of observations, per period, to calculate Chaikin Money Flow
275
+ # @option opts [String] :start_date Return technical indicator values on or after the date
276
+ # @option opts [String] :end_date Return technical indicator values on or before the date
277
+ # @option opts [Integer] :page_size The number of results to return
278
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
279
+ # @return [ApiResponseSecurityChaikinMoneyFlow]
280
+ describe 'get_security_price_technicals_cmf test' do
281
+ it "should work" do
282
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
283
+ end
284
+ end
285
+
286
+ # unit tests for get_security_price_technicals_dc
287
+ # Donchian Channel
288
+ # Returns the Donchian Channel values of Stock Prices for the Security with the given `identifier`
289
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
290
+ # @param [Hash] opts the optional parameters
291
+ # @option opts [Integer] :period The number of observations, per period, to calculate Donchian Channel
292
+ # @option opts [String] :price_key The Stock Price field to use when calculating Donchian Channel
293
+ # @option opts [String] :start_date Return technical indicator values on or after the date
294
+ # @option opts [String] :end_date Return technical indicator values on or before the date
295
+ # @option opts [Integer] :page_size The number of results to return
296
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
297
+ # @return [ApiResponseSecurityDonchianChannel]
298
+ describe 'get_security_price_technicals_dc test' do
299
+ it "should work" do
300
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
301
+ end
302
+ end
303
+
304
+ # unit tests for get_security_price_technicals_dpo
305
+ # Detrended Price Oscillator
306
+ # Returns the Detrended Price Oscillator values of Stock Prices for the Security with the given `identifier`
307
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
308
+ # @param [Hash] opts the optional parameters
309
+ # @option opts [Integer] :period The number of observations, per period, to calculate Detrended Price Oscillator
310
+ # @option opts [String] :price_key The Stock Price field to use when calculating Detrended Price Oscillator
311
+ # @option opts [String] :start_date Return technical indicator values on or after the date
312
+ # @option opts [String] :end_date Return technical indicator values on or before the date
313
+ # @option opts [Integer] :page_size The number of results to return
314
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
315
+ # @return [ApiResponseSecurityDetrendedPriceOscillator]
316
+ describe 'get_security_price_technicals_dpo test' do
317
+ it "should work" do
318
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
319
+ end
320
+ end
321
+
322
+ # unit tests for get_security_price_technicals_eom
323
+ # Ease of Movement
324
+ # Returns the Ease of Movement values of Stock Prices for the Security with the given `identifier`
325
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
326
+ # @param [Hash] opts the optional parameters
327
+ # @option opts [Integer] :period The number of observations, per period, to calculate Ease of Movement
328
+ # @option opts [String] :start_date Return technical indicator values on or after the date
329
+ # @option opts [String] :end_date Return technical indicator values on or before the date
330
+ # @option opts [Integer] :page_size The number of results to return
331
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
332
+ # @return [ApiResponseSecurityEaseOfMovement]
333
+ describe 'get_security_price_technicals_eom test' do
334
+ it "should work" do
335
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
336
+ end
337
+ end
338
+
339
+ # unit tests for get_security_price_technicals_fi
340
+ # Force Index
341
+ # Returns the Force Index values of Stock Prices for the Security with the given `identifier`
342
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
343
+ # @param [Hash] opts the optional parameters
344
+ # @option opts [String] :start_date Return technical indicator values on or after the date
345
+ # @option opts [String] :end_date Return technical indicator values on or before the date
346
+ # @option opts [Integer] :page_size The number of results to return
347
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
348
+ # @return [ApiResponseSecurityForceIndex]
349
+ describe 'get_security_price_technicals_fi test' do
350
+ it "should work" do
351
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
352
+ end
353
+ end
354
+
355
+ # unit tests for get_security_price_technicals_ichimoku
356
+ # Ichimoku Kinko Hyo
357
+ # Returns the Ichimoku Kinko Hyo values of Stock Prices for the Security with the given `identifier`
358
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
359
+ # @param [Hash] opts the optional parameters
360
+ # @option opts [Integer] :low_period The number of observations, per period, to calculate Tenkan Sen (Conversion Line) of Ichimoku Kinko Hyo
361
+ # @option opts [Integer] :medium_period 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
362
+ # @option opts [Integer] :high_period The number of observations, per period, to calculate Senkou Span B (Leading Span B) of Ichimoku Kinko Hyo
363
+ # @option opts [String] :start_date Return technical indicator values on or after the date
364
+ # @option opts [String] :end_date Return technical indicator values on or before the date
365
+ # @option opts [Integer] :page_size The number of results to return
366
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
367
+ # @return [ApiResponseSecurityIchimokuKinkoHyo]
368
+ describe 'get_security_price_technicals_ichimoku test' do
369
+ it "should work" do
370
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
371
+ end
372
+ end
373
+
374
+ # unit tests for get_security_price_technicals_kc
375
+ # Keltner Channel
376
+ # Returns the Keltner Channel values of Stock Prices for the Security with the given `identifier`
377
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
378
+ # @param [Hash] opts the optional parameters
379
+ # @option opts [Integer] :period The number of observations, per period, to calculate Kelter Channel
380
+ # @option opts [String] :start_date Return technical indicator values on or after the date
381
+ # @option opts [String] :end_date Return technical indicator values on or before the date
382
+ # @option opts [Integer] :page_size The number of results to return
383
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
384
+ # @return [ApiResponseSecurityKeltnerChannel]
385
+ describe 'get_security_price_technicals_kc test' do
386
+ it "should work" do
387
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
388
+ end
389
+ end
390
+
391
+ # unit tests for get_security_price_technicals_kst
392
+ # Know Sure Thing
393
+ # Returns the Know Sure Thing values of Stock Prices for the Security with the given `identifier`
394
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
395
+ # @param [Hash] opts the optional parameters
396
+ # @option opts [Integer] :roc1 The number of observations, per period, to calculate the rate-of-change for RCMA1
397
+ # @option opts [Integer] :roc2 The number of observations, per period, to calculate the rate-of-change for RCMA2
398
+ # @option opts [Integer] :roc3 The number of observations, per period, to calculate the rate-of-change for RCMA2
399
+ # @option opts [Integer] :roc4 The number of observations, per period, to calculate the rate-of-change for RCMA3
400
+ # @option opts [Integer] :roc5 The number of observations, per period, to calculate the rate-of-change for RCMA4
401
+ # @option opts [Integer] :sma1 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA1
402
+ # @option opts [Integer] :sma2 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA2
403
+ # @option opts [Integer] :sma3 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA3
404
+ # @option opts [Integer] :sma4 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA4
405
+ # @option opts [String] :price_key The Stock Price field to use when calculating Know Sure Thing
406
+ # @option opts [String] :start_date Return technical indicator values on or after the date
407
+ # @option opts [String] :end_date Return technical indicator values on or before the date
408
+ # @option opts [Integer] :page_size The number of results to return
409
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
410
+ # @return [ApiResponseSecurityKnowSureThing]
411
+ describe 'get_security_price_technicals_kst test' do
412
+ it "should work" do
413
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
414
+ end
415
+ end
416
+
417
+ # unit tests for get_security_price_technicals_macd
418
+ # Moving Average Convergence Divergence
419
+ # Returns the Moving Average Convergence Divergence values of Stock Prices for the Security with the given `identifier`
420
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
421
+ # @param [Hash] opts the optional parameters
422
+ # @option opts [Integer] :fast_period The number of observations, per period, to calculate the fast moving Exponential Moving Average for Moving Average Convergence Divergence
423
+ # @option opts [Integer] :slow_period The number of observations, per period, to calculate the slow moving Exponential Moving Average for Moving Average Convergence Divergence
424
+ # @option opts [Integer] :signal_period The number of observations, per period, to calculate the signal line for Moving Average Convergence Divergence
425
+ # @option opts [String] :price_key The Stock Price field to use when calculating Moving Average Convergence Divergence
426
+ # @option opts [String] :start_date Return technical indicator values on or after the date
427
+ # @option opts [String] :end_date Return technical indicator values on or before the date
428
+ # @option opts [Integer] :page_size The number of results to return
429
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
430
+ # @return [ApiResponseSecurityMovingAverageConvergenceDivergence]
431
+ describe 'get_security_price_technicals_macd test' do
432
+ it "should work" do
433
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
434
+ end
435
+ end
436
+
437
+ # unit tests for get_security_price_technicals_mfi
438
+ # Money Flow Index
439
+ # Returns the Money Flow Index values of Stock Prices for the Security with the given `identifier`
440
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
441
+ # @param [Hash] opts the optional parameters
442
+ # @option opts [Integer] :period The number of observations, per period, to calculate Money Flow Index
443
+ # @option opts [String] :start_date Return technical indicator values on or after the date
444
+ # @option opts [String] :end_date Return technical indicator values on or before the date
445
+ # @option opts [Integer] :page_size The number of results to return
446
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
447
+ # @return [ApiResponseSecurityMoneyFlowIndex]
448
+ describe 'get_security_price_technicals_mfi test' do
449
+ it "should work" do
450
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
451
+ end
452
+ end
453
+
454
+ # unit tests for get_security_price_technicals_mi
455
+ # Mass Index
456
+ # Returns the Mass Index values of Stock Prices for the Security with the given `identifier`
457
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
458
+ # @param [Hash] opts the optional parameters
459
+ # @option opts [Integer] :ema_period The number of observations, per period, to calculate the single Exponential Moving Average and the Double Exponential Moving Average for Mass Index
460
+ # @option opts [Integer] :sum_period The number of observations, per period, to calculate the sum of the Exponetinal Moving Average Ratios for Mass Index
461
+ # @option opts [String] :start_date Return technical indicator values on or after the date
462
+ # @option opts [String] :end_date Return technical indicator values on or before the date
463
+ # @option opts [Integer] :page_size The number of results to return
464
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
465
+ # @return [ApiResponseSecurityMassIndex]
466
+ describe 'get_security_price_technicals_mi test' do
467
+ it "should work" do
468
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
469
+ end
470
+ end
471
+
472
+ # unit tests for get_security_price_technicals_nvi
473
+ # Negative Volume Index
474
+ # Returns the Negative Volume Index values of Stock Prices for the Security with the given `identifier`
475
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
476
+ # @param [Hash] opts the optional parameters
477
+ # @option opts [String] :start_date Return technical indicator values on or after the date
478
+ # @option opts [String] :end_date Return technical indicator values on or before the date
479
+ # @option opts [Integer] :page_size The number of results to return
480
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
481
+ # @return [ApiResponseSecurityNegativeVolumeIndex]
482
+ describe 'get_security_price_technicals_nvi test' do
483
+ it "should work" do
484
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
485
+ end
486
+ end
487
+
488
+ # unit tests for get_security_price_technicals_obv
489
+ # On-balance Volume
490
+ # Returns the On-balance Volume values of Stock Prices for the Security with the given `identifier`
491
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
492
+ # @param [Hash] opts the optional parameters
493
+ # @option opts [String] :start_date Return technical indicator values on or after the date
494
+ # @option opts [String] :end_date Return technical indicator values on or before the date
495
+ # @option opts [Integer] :page_size The number of results to return
496
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
497
+ # @return [ApiResponseSecurityOnBalanceVolume]
498
+ describe 'get_security_price_technicals_obv test' do
499
+ it "should work" do
500
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
501
+ end
502
+ end
503
+
504
+ # unit tests for get_security_price_technicals_obv_mean
505
+ # On-balance Volume Mean
506
+ # Returns the On-balance Volume Mean values of Stock Prices for the Security with the given `identifier`
507
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
508
+ # @param [Hash] opts the optional parameters
509
+ # @option opts [Integer] :period The number of observations, per period, to calculate On-balance Volume Mean
510
+ # @option opts [String] :start_date Return technical indicator values on or after the date
511
+ # @option opts [String] :end_date Return technical indicator values on or before the date
512
+ # @option opts [Integer] :page_size The number of results to return
513
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
514
+ # @return [ApiResponseSecurityOnBalanceVolumeMean]
515
+ describe 'get_security_price_technicals_obv_mean test' do
516
+ it "should work" do
517
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
518
+ end
519
+ end
520
+
521
+ # unit tests for get_security_price_technicals_rsi
522
+ # Relative Strength Index
523
+ # Returns the Relative Strength Index values of Stock Prices for the Security with the given `identifier`
524
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
525
+ # @param [Hash] opts the optional parameters
526
+ # @option opts [Integer] :period The number of observations, per period, to calculate Relative Strength Index
527
+ # @option opts [String] :price_key The Stock Price field to use when calculating Relative Strength Index
528
+ # @option opts [String] :start_date Return technical indicator values on or after the date
529
+ # @option opts [String] :end_date Return technical indicator values on or before the date
530
+ # @option opts [Integer] :page_size The number of results to return
531
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
532
+ # @return [ApiResponseSecurityRelativeStrengthIndex]
533
+ describe 'get_security_price_technicals_rsi test' do
534
+ it "should work" do
535
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
536
+ end
537
+ end
538
+
539
+ # unit tests for get_security_price_technicals_sma
540
+ # Simple Moving Average
541
+ # Returns the Simple Moving Average values of Stock Prices for the Security with the given `identifier`
542
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
543
+ # @param [Hash] opts the optional parameters
544
+ # @option opts [Integer] :period The number of observations, per period, to calculate Simple Moving Average
545
+ # @option opts [String] :price_key The Stock Price field to use when calculating Simple Moving Average
546
+ # @option opts [String] :start_date Return technical indicator values on or after the date
547
+ # @option opts [String] :end_date Return technical indicator values on or before the date
548
+ # @option opts [Integer] :page_size The number of results to return
549
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
550
+ # @return [ApiResponseSecuritySimpleMovingAverage]
551
+ describe 'get_security_price_technicals_sma test' do
552
+ it "should work" do
553
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
554
+ end
555
+ end
556
+
557
+ # unit tests for get_security_price_technicals_sr
558
+ # Stochastic Oscillator
559
+ # Returns the Stochastic Oscillator values of Stock Prices for the Security with the given `identifier`
560
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
561
+ # @param [Hash] opts the optional parameters
562
+ # @option opts [Integer] :period The number of observations, per period, to calculate %K of Stochastic Oscillator
563
+ # @option opts [Integer] :signal_period The number of observations, per period, to calculate the %D (the Simple Moving Average of %K) as a signal line for Stochastic Oscillator
564
+ # @option opts [String] :start_date Return technical indicator values on or after the date
565
+ # @option opts [String] :end_date Return technical indicator values on or before the date
566
+ # @option opts [Integer] :page_size The number of results to return
567
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
568
+ # @return [ApiResponseSecurityStochasticOscillator]
569
+ describe 'get_security_price_technicals_sr test' do
570
+ it "should work" do
571
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
572
+ end
573
+ end
574
+
575
+ # unit tests for get_security_price_technicals_trix
576
+ # Triple Exponential Average
577
+ # Returns the Simple Moving Average values of Stock Prices for the Security with the given `identifier`
578
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
579
+ # @param [Hash] opts the optional parameters
580
+ # @option opts [Integer] :period The number of observations, per period, to calculate Exponential Moving Average for Triple Exponential Average
581
+ # @option opts [String] :start_date Return technical indicator values on or after the date
582
+ # @option opts [String] :end_date Return technical indicator values on or before the date
583
+ # @option opts [Integer] :page_size The number of results to return
584
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
585
+ # @return [ApiResponseSecurityTripleExponentialAverage]
586
+ describe 'get_security_price_technicals_trix test' do
587
+ it "should work" do
588
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
589
+ end
590
+ end
591
+
592
+ # unit tests for get_security_price_technicals_tsi
593
+ # True Strength Index
594
+ # Returns the True Strength Index values of Stock Prices for the Security with the given `identifier`
595
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
596
+ # @param [Hash] opts the optional parameters
597
+ # @option opts [Integer] :low_period The number of observations, per period, to calculate low period Exponential Moving Average for smoothing in True Strength Index
598
+ # @option opts [Integer] :high_period The number of observations, per period, to calculate high period Exponential Moving Average for smoothing in True Strength Index
599
+ # @option opts [String] :price_key The Stock Price field to use when calculating True Strength Index
600
+ # @option opts [String] :start_date Return technical indicator values on or after the date
601
+ # @option opts [String] :end_date Return technical indicator values on or before the date
602
+ # @option opts [Integer] :page_size The number of results to return
603
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
604
+ # @return [ApiResponseSecurityTrueStrengthIndex]
605
+ describe 'get_security_price_technicals_tsi test' do
606
+ it "should work" do
607
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
608
+ end
609
+ end
610
+
611
+ # unit tests for get_security_price_technicals_uo
612
+ # Ultimate Oscillator
613
+ # Returns the Ultimate Oscillator values of Stock Prices for the Security with the given `identifier`
614
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
615
+ # @param [Hash] opts the optional parameters
616
+ # @option opts [Integer] :short_period The number of observations, per period, to calculate the short period for Ultimate Oscillator
617
+ # @option opts [Integer] :medium_period The number of observations, per period, to calculate the medium period for Ultimate Oscillator
618
+ # @option opts [Integer] :long_period The number of observations, per period, to calculate the long period for Ultimate Oscillator
619
+ # @option opts [Float] :short_weight The weight of short Buying Pressure average for Ultimate Oscillator
620
+ # @option opts [Float] :medium_weight The weight of medium Buying Pressure average for Ultimate Oscillator
621
+ # @option opts [Float] :long_weight The weight of long Buying Pressure average for Ultimate Oscillator
622
+ # @option opts [String] :start_date Return technical indicator values on or after the date
623
+ # @option opts [String] :end_date Return technical indicator values on or before the date
624
+ # @option opts [Integer] :page_size The number of results to return
625
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
626
+ # @return [ApiResponseSecurityUltimateOscillator]
627
+ describe 'get_security_price_technicals_uo test' do
628
+ it "should work" do
629
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
630
+ end
631
+ end
632
+
633
+ # unit tests for get_security_price_technicals_vi
634
+ # Vortex Indicator
635
+ # Returns the Vortex Indicator values of Stock Prices for the Security with the given `identifier`
636
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
637
+ # @param [Hash] opts the optional parameters
638
+ # @option opts [Integer] :period The number of observations, per period, to calculate Vortex Indicator
639
+ # @option opts [String] :start_date Return technical indicator values on or after the date
640
+ # @option opts [String] :end_date Return technical indicator values on or before the date
641
+ # @option opts [Integer] :page_size The number of results to return
642
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
643
+ # @return [ApiResponseSecurityVortexIndicator]
644
+ describe 'get_security_price_technicals_vi test' do
645
+ it "should work" do
646
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
647
+ end
648
+ end
649
+
650
+ # unit tests for get_security_price_technicals_vpt
651
+ # Volume-price Trend
652
+ # Returns the Volume-price Trend values of Stock Prices for the Security with the given `identifier`
653
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
654
+ # @param [Hash] opts the optional parameters
655
+ # @option opts [String] :start_date Return technical indicator values on or after the date
656
+ # @option opts [String] :end_date Return technical indicator values on or before the date
657
+ # @option opts [Integer] :page_size The number of results to return
658
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
659
+ # @return [ApiResponseSecurityVolumePriceTrend]
660
+ describe 'get_security_price_technicals_vpt test' do
661
+ it "should work" do
662
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
663
+ end
664
+ end
665
+
666
+ # unit tests for get_security_price_technicals_vwap
667
+ # Volume Weighted Average Price
668
+ # Returns the Volume Weighted Average Price values of Stock Prices for the Security with the given `identifier`
669
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
670
+ # @param [Hash] opts the optional parameters
671
+ # @option opts [String] :start_date Return technical indicator values on or after the date
672
+ # @option opts [String] :end_date Return technical indicator values on or before the date
673
+ # @option opts [Integer] :page_size The number of results to return
674
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
675
+ # @return [ApiResponseSecurityVolumeWeightedAveragePrice]
676
+ describe 'get_security_price_technicals_vwap test' do
677
+ it "should work" do
678
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
679
+ end
680
+ end
681
+
682
+ # unit tests for get_security_price_technicals_wr
683
+ # Williams %R
684
+ # Returns the Williams %R values of Stock Prices for the Security with the given `identifier`
685
+ # @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
686
+ # @param [Hash] opts the optional parameters
687
+ # @option opts [Integer] :period The number of observations, per period, to look-back when calculating Williams %R
688
+ # @option opts [String] :start_date Return technical indicator values on or after the date
689
+ # @option opts [String] :end_date Return technical indicator values on or before the date
690
+ # @option opts [Float] :page_size The number of results to return
691
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
692
+ # @return [ApiResponseSecurityWilliamsR]
693
+ describe 'get_security_price_technicals_wr test' do
694
+ it "should work" do
695
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
696
+ end
697
+ end
698
+
147
699
  # unit tests for get_security_realtime_price
148
700
  # Realtime Stock Price for Security
149
701
  # Return the realtime stock price for the Security with the given `identifier`