intrinio-sdk 5.0.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (559) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -124
  3. data/docs/CompanyApi.md +2 -15
  4. data/docs/DataPointApi.md +0 -2
  5. data/docs/DataTagApi.md +0 -3
  6. data/docs/DividendRecord.md +1 -0
  7. data/docs/EarningsRecord.md +1 -0
  8. data/docs/FilingApi.md +0 -8
  9. data/docs/ForexApi.md +0 -3
  10. data/docs/Fundamental.md +1 -0
  11. data/docs/FundamentalsApi.md +0 -4
  12. data/docs/HistoricalDataApi.md +0 -1
  13. data/docs/IndexApi.md +0 -18
  14. data/docs/MunicipalityApi.md +0 -3
  15. data/docs/OptionsApi.md +1 -5
  16. data/docs/SecurityApi.md +0 -48
  17. data/docs/StockExchangeApi.md +0 -6
  18. data/docs/TechnicalApi.md +0 -3396
  19. data/docs/ZacksApi.md +0 -3
  20. data/intrinio-sdk.gemspec +2 -2
  21. data/lib/intrinio-sdk.rb +2 -54
  22. data/lib/intrinio-sdk/api/company_api.rb +4 -4
  23. data/lib/intrinio-sdk/api/data_point_api.rb +2 -2
  24. data/lib/intrinio-sdk/api/data_tag_api.rb +2 -2
  25. data/lib/intrinio-sdk/api/filing_api.rb +2 -2
  26. data/lib/intrinio-sdk/api/forex_api.rb +2 -2
  27. data/lib/intrinio-sdk/api/fundamentals_api.rb +2 -2
  28. data/lib/intrinio-sdk/api/historical_data_api.rb +2 -2
  29. data/lib/intrinio-sdk/api/index_api.rb +2 -2
  30. data/lib/intrinio-sdk/api/municipality_api.rb +2 -2
  31. data/lib/intrinio-sdk/api/options_api.rb +2 -2
  32. data/lib/intrinio-sdk/api/security_api.rb +2 -2
  33. data/lib/intrinio-sdk/api/stock_exchange_api.rb +2 -2
  34. data/lib/intrinio-sdk/api/technical_api.rb +2 -3101
  35. data/lib/intrinio-sdk/api/zacks_api.rb +2 -2
  36. data/lib/intrinio-sdk/api_client.rb +2 -2
  37. data/lib/intrinio-sdk/api_error.rb +2 -2
  38. data/lib/intrinio-sdk/configuration.rb +2 -2
  39. data/lib/intrinio-sdk/models/accumulation_distribution_index_technical_value.rb +2 -2
  40. data/lib/intrinio-sdk/models/api_response_companies.rb +2 -2
  41. data/lib/intrinio-sdk/models/api_response_companies_search.rb +2 -2
  42. data/lib/intrinio-sdk/models/api_response_company_filings.rb +2 -2
  43. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +2 -2
  44. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +2 -2
  45. data/lib/intrinio-sdk/models/api_response_company_news.rb +2 -2
  46. data/lib/intrinio-sdk/models/api_response_company_securities.rb +2 -2
  47. data/lib/intrinio-sdk/models/api_response_data_tags.rb +2 -2
  48. data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +2 -2
  49. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +2 -2
  50. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +2 -2
  51. data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +2 -2
  52. data/lib/intrinio-sdk/models/api_response_filing_fundamentals.rb +2 -2
  53. data/lib/intrinio-sdk/models/api_response_filing_notes.rb +2 -2
  54. data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +2 -2
  55. data/lib/intrinio-sdk/models/api_response_filings.rb +2 -2
  56. data/lib/intrinio-sdk/models/api_response_forex_currencies.rb +2 -2
  57. data/lib/intrinio-sdk/models/api_response_forex_pairs.rb +2 -2
  58. data/lib/intrinio-sdk/models/api_response_forex_prices.rb +2 -2
  59. data/lib/intrinio-sdk/models/api_response_historical_data.rb +2 -2
  60. data/lib/intrinio-sdk/models/api_response_initial_public_offerings.rb +2 -2
  61. data/lib/intrinio-sdk/models/api_response_municipalities.rb +2 -2
  62. data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +2 -2
  63. data/lib/intrinio-sdk/models/api_response_news.rb +2 -2
  64. data/lib/intrinio-sdk/models/api_response_option_prices.rb +2 -2
  65. data/lib/intrinio-sdk/models/api_response_options.rb +2 -2
  66. data/lib/intrinio-sdk/models/api_response_options_chain.rb +2 -2
  67. data/lib/intrinio-sdk/models/api_response_options_expirations.rb +2 -2
  68. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +2 -2
  69. data/lib/intrinio-sdk/models/api_response_securities.rb +2 -2
  70. data/lib/intrinio-sdk/models/api_response_securities_search.rb +2 -2
  71. data/lib/intrinio-sdk/models/api_response_security_accumulation_distribution_index.rb +2 -2
  72. data/lib/intrinio-sdk/models/api_response_security_average_daily_trading_volume.rb +2 -2
  73. data/lib/intrinio-sdk/models/api_response_security_average_directional_index.rb +2 -2
  74. data/lib/intrinio-sdk/models/api_response_security_average_true_range.rb +2 -2
  75. data/lib/intrinio-sdk/models/api_response_security_awesome_oscillator.rb +2 -2
  76. data/lib/intrinio-sdk/models/api_response_security_bollinger_bands.rb +2 -2
  77. data/lib/intrinio-sdk/models/api_response_security_chaikin_money_flow.rb +2 -2
  78. data/lib/intrinio-sdk/models/api_response_security_commodity_channel_index.rb +2 -2
  79. data/lib/intrinio-sdk/models/api_response_security_detrended_price_oscillator.rb +2 -2
  80. data/lib/intrinio-sdk/models/api_response_security_donchian_channel.rb +2 -2
  81. data/lib/intrinio-sdk/models/api_response_security_ease_of_movement.rb +2 -2
  82. data/lib/intrinio-sdk/models/api_response_security_force_index.rb +2 -2
  83. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +2 -2
  84. data/lib/intrinio-sdk/models/api_response_security_ichimoku_kinko_hyo.rb +2 -2
  85. data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +2 -2
  86. data/lib/intrinio-sdk/models/api_response_security_keltner_channel.rb +2 -2
  87. data/lib/intrinio-sdk/models/api_response_security_know_sure_thing.rb +2 -2
  88. data/lib/intrinio-sdk/models/api_response_security_mass_index.rb +2 -2
  89. data/lib/intrinio-sdk/models/api_response_security_money_flow_index.rb +2 -2
  90. data/lib/intrinio-sdk/models/api_response_security_moving_average_convergence_divergence.rb +2 -2
  91. data/lib/intrinio-sdk/models/api_response_security_negative_volume_index.rb +2 -2
  92. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume.rb +2 -2
  93. data/lib/intrinio-sdk/models/api_response_security_on_balance_volume_mean.rb +2 -2
  94. data/lib/intrinio-sdk/models/api_response_security_relative_strength_index.rb +2 -2
  95. data/lib/intrinio-sdk/models/api_response_security_simple_moving_average.rb +2 -2
  96. data/lib/intrinio-sdk/models/api_response_security_stochastic_oscillator.rb +2 -2
  97. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +2 -2
  98. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +2 -2
  99. data/lib/intrinio-sdk/models/api_response_security_triple_exponential_average.rb +2 -2
  100. data/lib/intrinio-sdk/models/api_response_security_true_strength_index.rb +2 -2
  101. data/lib/intrinio-sdk/models/api_response_security_ultimate_oscillator.rb +2 -2
  102. data/lib/intrinio-sdk/models/api_response_security_volume_price_trend.rb +2 -2
  103. data/lib/intrinio-sdk/models/api_response_security_volume_weighted_average_price.rb +2 -2
  104. data/lib/intrinio-sdk/models/api_response_security_vortex_indicator.rb +2 -2
  105. data/lib/intrinio-sdk/models/api_response_security_williams_r.rb +2 -2
  106. data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings.rb +2 -2
  107. data/lib/intrinio-sdk/models/api_response_security_zacks_analyst_ratings_snapshot.rb +2 -2
  108. data/lib/intrinio-sdk/models/api_response_security_zacks_eps_surprises.rb +2 -2
  109. data/lib/intrinio-sdk/models/api_response_security_zacks_sales_surprises.rb +2 -2
  110. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +2 -2
  111. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +2 -2
  112. data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +2 -2
  113. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +2 -2
  114. data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +2 -2
  115. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +2 -2
  116. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +2 -2
  117. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +2 -2
  118. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +2 -2
  119. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +2 -2
  120. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +2 -2
  121. data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +2 -2
  122. data/lib/intrinio-sdk/models/api_response_zacks_analyst_ratings.rb +2 -2
  123. data/lib/intrinio-sdk/models/api_response_zacks_eps_surprises.rb +2 -2
  124. data/lib/intrinio-sdk/models/api_response_zacks_sales_surprises.rb +2 -2
  125. data/lib/intrinio-sdk/models/average_daily_trading_volume_technical_value.rb +2 -2
  126. data/lib/intrinio-sdk/models/average_directional_index_technical_value.rb +2 -2
  127. data/lib/intrinio-sdk/models/average_true_range_technical_value.rb +2 -2
  128. data/lib/intrinio-sdk/models/awesome_oscillator_technical_value.rb +2 -2
  129. data/lib/intrinio-sdk/models/bollinger_bands_technical_value.rb +2 -2
  130. data/lib/intrinio-sdk/models/chaikin_money_flow_technical_value.rb +2 -2
  131. data/lib/intrinio-sdk/models/commodity_channel_index_technical_value.rb +2 -2
  132. data/lib/intrinio-sdk/models/company.rb +2 -2
  133. data/lib/intrinio-sdk/models/company_filing.rb +2 -2
  134. data/lib/intrinio-sdk/models/company_initial_public_offering.rb +2 -2
  135. data/lib/intrinio-sdk/models/company_news.rb +2 -2
  136. data/lib/intrinio-sdk/models/company_news_summary.rb +2 -2
  137. data/lib/intrinio-sdk/models/company_summary.rb +2 -2
  138. data/lib/intrinio-sdk/models/data_tag.rb +2 -2
  139. data/lib/intrinio-sdk/models/data_tag_summary.rb +2 -2
  140. data/lib/intrinio-sdk/models/detrended_price_oscillator_technical_value.rb +2 -2
  141. data/lib/intrinio-sdk/models/dividend_record.rb +13 -3
  142. data/lib/intrinio-sdk/models/donchian_channel_technical_value.rb +2 -2
  143. data/lib/intrinio-sdk/models/earnings_record.rb +13 -3
  144. data/lib/intrinio-sdk/models/ease_of_movement_technical_value.rb +2 -2
  145. data/lib/intrinio-sdk/models/economic_index.rb +2 -2
  146. data/lib/intrinio-sdk/models/economic_index_summary.rb +2 -2
  147. data/lib/intrinio-sdk/models/filing.rb +2 -2
  148. data/lib/intrinio-sdk/models/filing_note.rb +2 -2
  149. data/lib/intrinio-sdk/models/filing_note_filing.rb +2 -2
  150. data/lib/intrinio-sdk/models/filing_note_summary.rb +2 -2
  151. data/lib/intrinio-sdk/models/filing_summary.rb +2 -2
  152. data/lib/intrinio-sdk/models/force_index_technical_value.rb +2 -2
  153. data/lib/intrinio-sdk/models/forex_currency.rb +2 -2
  154. data/lib/intrinio-sdk/models/forex_pair.rb +2 -2
  155. data/lib/intrinio-sdk/models/forex_price.rb +2 -2
  156. data/lib/intrinio-sdk/models/fundamental.rb +13 -3
  157. data/lib/intrinio-sdk/models/fundamental_summary.rb +2 -2
  158. data/lib/intrinio-sdk/models/historical_data.rb +2 -2
  159. data/lib/intrinio-sdk/models/ichimoku_kinko_hyo_technical_value.rb +2 -2
  160. data/lib/intrinio-sdk/models/intraday_stock_price.rb +2 -2
  161. data/lib/intrinio-sdk/models/keltner_channel_technical_value.rb +2 -2
  162. data/lib/intrinio-sdk/models/know_sure_thing_technical_value.rb +2 -2
  163. data/lib/intrinio-sdk/models/mass_index_technical_value.rb +2 -2
  164. data/lib/intrinio-sdk/models/money_flow_index_technical_value.rb +2 -2
  165. data/lib/intrinio-sdk/models/moving_average_convergence_divergence_technical_value.rb +2 -2
  166. data/lib/intrinio-sdk/models/municipality.rb +2 -2
  167. data/lib/intrinio-sdk/models/municipality_financial.rb +2 -2
  168. data/lib/intrinio-sdk/models/negative_volume_index_technical_value.rb +2 -2
  169. data/lib/intrinio-sdk/models/on_balance_volume_mean_technical_value.rb +2 -2
  170. data/lib/intrinio-sdk/models/on_balance_volume_technical_value.rb +2 -2
  171. data/lib/intrinio-sdk/models/option.rb +2 -2
  172. data/lib/intrinio-sdk/models/option_chain.rb +2 -2
  173. data/lib/intrinio-sdk/models/option_price.rb +2 -2
  174. data/lib/intrinio-sdk/models/realtime_stock_price.rb +2 -2
  175. data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +2 -2
  176. data/lib/intrinio-sdk/models/relative_strength_index_technical_value.rb +2 -2
  177. data/lib/intrinio-sdk/models/reported_financial.rb +2 -2
  178. data/lib/intrinio-sdk/models/reported_financial_dimension.rb +2 -2
  179. data/lib/intrinio-sdk/models/reported_tag.rb +2 -2
  180. data/lib/intrinio-sdk/models/security.rb +2 -2
  181. data/lib/intrinio-sdk/models/security_screen_clause.rb +2 -2
  182. data/lib/intrinio-sdk/models/security_screen_group.rb +2 -2
  183. data/lib/intrinio-sdk/models/security_screen_result.rb +2 -2
  184. data/lib/intrinio-sdk/models/security_screen_result_data.rb +2 -2
  185. data/lib/intrinio-sdk/models/security_summary.rb +2 -2
  186. data/lib/intrinio-sdk/models/sic_index.rb +2 -2
  187. data/lib/intrinio-sdk/models/simple_moving_average_technical_value.rb +2 -2
  188. data/lib/intrinio-sdk/models/standardized_financial.rb +2 -2
  189. data/lib/intrinio-sdk/models/stochastic_oscillator_technical_value.rb +2 -2
  190. data/lib/intrinio-sdk/models/stock_exchange.rb +2 -2
  191. data/lib/intrinio-sdk/models/stock_market_index.rb +2 -2
  192. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +2 -2
  193. data/lib/intrinio-sdk/models/stock_price.rb +2 -2
  194. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +2 -2
  195. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +2 -2
  196. data/lib/intrinio-sdk/models/stock_price_summary.rb +2 -2
  197. data/lib/intrinio-sdk/models/technical_indicator.rb +2 -2
  198. data/lib/intrinio-sdk/models/triple_exponential_average_technical_value.rb +2 -2
  199. data/lib/intrinio-sdk/models/true_strength_index_technical_value.rb +2 -2
  200. data/lib/intrinio-sdk/models/ultimate_oscillator_technical_value.rb +2 -2
  201. data/lib/intrinio-sdk/models/volume_price_trend_technical_value.rb +2 -2
  202. data/lib/intrinio-sdk/models/volume_weighted_average_price_value.rb +2 -2
  203. data/lib/intrinio-sdk/models/vortex_indicator_technical_value.rb +2 -2
  204. data/lib/intrinio-sdk/models/williams_r_technical_value.rb +2 -2
  205. data/lib/intrinio-sdk/models/zacks_analyst_rating.rb +2 -2
  206. data/lib/intrinio-sdk/models/zacks_analyst_rating_snapshot.rb +2 -2
  207. data/lib/intrinio-sdk/models/zacks_analyst_rating_summary.rb +2 -2
  208. data/lib/intrinio-sdk/models/zacks_eps_surprise.rb +2 -2
  209. data/lib/intrinio-sdk/models/zacks_eps_surprise_summary.rb +2 -2
  210. data/lib/intrinio-sdk/models/zacks_sales_surprise.rb +2 -2
  211. data/lib/intrinio-sdk/models/zacks_sales_surprise_summary.rb +2 -2
  212. data/lib/intrinio-sdk/version.rb +3 -3
  213. data/spec/api/company_api_spec.rb +3 -3
  214. data/spec/api/data_point_api_spec.rb +2 -2
  215. data/spec/api/data_tag_api_spec.rb +2 -2
  216. data/spec/api/filing_api_spec.rb +2 -2
  217. data/spec/api/forex_api_spec.rb +2 -2
  218. data/spec/api/fundamentals_api_spec.rb +2 -2
  219. data/spec/api/historical_data_api_spec.rb +2 -2
  220. data/spec/api/index_api_spec.rb +2 -2
  221. data/spec/api/municipality_api_spec.rb +2 -2
  222. data/spec/api/options_api_spec.rb +2 -2
  223. data/spec/api/security_api_spec.rb +2 -2
  224. data/spec/api/stock_exchange_api_spec.rb +2 -2
  225. data/spec/api/technical_api_spec.rb +2 -739
  226. data/spec/api/zacks_api_spec.rb +2 -2
  227. data/spec/api_client_spec.rb +2 -2
  228. data/spec/configuration_spec.rb +2 -2
  229. data/spec/models/accumulation_distribution_index_technical_value_spec.rb +2 -2
  230. data/spec/models/api_response_companies_search_spec.rb +2 -2
  231. data/spec/models/api_response_companies_spec.rb +2 -2
  232. data/spec/models/api_response_company_filings_spec.rb +2 -2
  233. data/spec/models/api_response_company_fundamentals_spec.rb +2 -2
  234. data/spec/models/api_response_company_historical_data_spec.rb +2 -2
  235. data/spec/models/api_response_company_news_spec.rb +2 -2
  236. data/spec/models/api_response_company_securities_spec.rb +2 -2
  237. data/spec/models/api_response_data_tags_search_spec.rb +2 -2
  238. data/spec/models/api_response_data_tags_spec.rb +2 -2
  239. data/spec/models/api_response_economic_index_historical_data_spec.rb +2 -2
  240. data/spec/models/api_response_economic_indices_search_spec.rb +2 -2
  241. data/spec/models/api_response_economic_indices_spec.rb +2 -2
  242. data/spec/models/api_response_filing_fundamentals_spec.rb +2 -2
  243. data/spec/models/api_response_filing_notes_search_spec.rb +2 -2
  244. data/spec/models/api_response_filing_notes_spec.rb +2 -2
  245. data/spec/models/api_response_filings_spec.rb +2 -2
  246. data/spec/models/api_response_forex_currencies_spec.rb +2 -2
  247. data/spec/models/api_response_forex_pairs_spec.rb +2 -2
  248. data/spec/models/api_response_forex_prices_spec.rb +2 -2
  249. data/spec/models/api_response_historical_data_spec.rb +2 -2
  250. data/spec/models/api_response_initial_public_offerings_spec.rb +2 -2
  251. data/spec/models/api_response_municipalities_spec.rb +2 -2
  252. data/spec/models/api_response_municipalitiy_financials_spec.rb +2 -2
  253. data/spec/models/api_response_news_spec.rb +2 -2
  254. data/spec/models/api_response_option_prices_spec.rb +2 -2
  255. data/spec/models/api_response_options_chain_spec.rb +2 -2
  256. data/spec/models/api_response_options_expirations_spec.rb +2 -2
  257. data/spec/models/api_response_options_spec.rb +2 -2
  258. data/spec/models/api_response_reported_financials_spec.rb +2 -2
  259. data/spec/models/api_response_securities_search_spec.rb +2 -2
  260. data/spec/models/api_response_securities_spec.rb +2 -2
  261. data/spec/models/api_response_security_accumulation_distribution_index_spec.rb +2 -2
  262. data/spec/models/api_response_security_average_daily_trading_volume_spec.rb +2 -2
  263. data/spec/models/api_response_security_average_directional_index_spec.rb +2 -2
  264. data/spec/models/api_response_security_average_true_range_spec.rb +2 -2
  265. data/spec/models/api_response_security_awesome_oscillator_spec.rb +2 -2
  266. data/spec/models/api_response_security_bollinger_bands_spec.rb +2 -2
  267. data/spec/models/api_response_security_chaikin_money_flow_spec.rb +2 -2
  268. data/spec/models/api_response_security_commodity_channel_index_spec.rb +2 -2
  269. data/spec/models/api_response_security_detrended_price_oscillator_spec.rb +2 -2
  270. data/spec/models/api_response_security_donchian_channel_spec.rb +2 -2
  271. data/spec/models/api_response_security_ease_of_movement_spec.rb +2 -2
  272. data/spec/models/api_response_security_force_index_spec.rb +2 -2
  273. data/spec/models/api_response_security_historical_data_spec.rb +2 -2
  274. data/spec/models/api_response_security_ichimoku_kinko_hyo_spec.rb +2 -2
  275. data/spec/models/api_response_security_intraday_prices_spec.rb +2 -2
  276. data/spec/models/api_response_security_keltner_channel_spec.rb +2 -2
  277. data/spec/models/api_response_security_know_sure_thing_spec.rb +2 -2
  278. data/spec/models/api_response_security_mass_index_spec.rb +2 -2
  279. data/spec/models/api_response_security_money_flow_index_spec.rb +2 -2
  280. data/spec/models/api_response_security_moving_average_convergence_divergence_spec.rb +2 -2
  281. data/spec/models/api_response_security_negative_volume_index_spec.rb +2 -2
  282. data/spec/models/api_response_security_on_balance_volume_mean_spec.rb +2 -2
  283. data/spec/models/api_response_security_on_balance_volume_spec.rb +2 -2
  284. data/spec/models/api_response_security_relative_strength_index_spec.rb +2 -2
  285. data/spec/models/api_response_security_simple_moving_average_spec.rb +2 -2
  286. data/spec/models/api_response_security_stochastic_oscillator_spec.rb +2 -2
  287. data/spec/models/api_response_security_stock_price_adjustments_spec.rb +2 -2
  288. data/spec/models/api_response_security_stock_prices_spec.rb +2 -2
  289. data/spec/models/api_response_security_triple_exponential_average_spec.rb +2 -2
  290. data/spec/models/api_response_security_true_strength_index_spec.rb +2 -2
  291. data/spec/models/api_response_security_ultimate_oscillator_spec.rb +2 -2
  292. data/spec/models/api_response_security_volume_price_trend_spec.rb +2 -2
  293. data/spec/models/api_response_security_volume_weighted_average_price_spec.rb +2 -2
  294. data/spec/models/api_response_security_vortex_indicator_spec.rb +2 -2
  295. data/spec/models/api_response_security_williams_r_spec.rb +2 -2
  296. data/spec/models/api_response_security_zacks_analyst_ratings_snapshot_spec.rb +2 -2
  297. data/spec/models/api_response_security_zacks_analyst_ratings_spec.rb +2 -2
  298. data/spec/models/api_response_security_zacks_eps_surprises_spec.rb +2 -2
  299. data/spec/models/api_response_security_zacks_sales_surprises_spec.rb +2 -2
  300. data/spec/models/api_response_sic_index_historical_data_spec.rb +2 -2
  301. data/spec/models/api_response_sic_indices_search_spec.rb +2 -2
  302. data/spec/models/api_response_sic_indices_spec.rb +2 -2
  303. data/spec/models/api_response_standardized_financials_spec.rb +2 -2
  304. data/spec/models/api_response_stock_exchange_realtime_stock_prices_spec.rb +2 -2
  305. data/spec/models/api_response_stock_exchange_securities_spec.rb +2 -2
  306. data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +2 -2
  307. data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +2 -2
  308. data/spec/models/api_response_stock_exchanges_spec.rb +2 -2
  309. data/spec/models/api_response_stock_market_index_historical_data_spec.rb +2 -2
  310. data/spec/models/api_response_stock_market_indices_search_spec.rb +2 -2
  311. data/spec/models/api_response_stock_market_indices_spec.rb +2 -2
  312. data/spec/models/api_response_zacks_analyst_ratings_spec.rb +2 -2
  313. data/spec/models/api_response_zacks_eps_surprises_spec.rb +2 -2
  314. data/spec/models/api_response_zacks_sales_surprises_spec.rb +2 -2
  315. data/spec/models/average_daily_trading_volume_technical_value_spec.rb +2 -2
  316. data/spec/models/average_directional_index_technical_value_spec.rb +2 -2
  317. data/spec/models/average_true_range_technical_value_spec.rb +2 -2
  318. data/spec/models/awesome_oscillator_technical_value_spec.rb +2 -2
  319. data/spec/models/bollinger_bands_technical_value_spec.rb +2 -2
  320. data/spec/models/chaikin_money_flow_technical_value_spec.rb +2 -2
  321. data/spec/models/commodity_channel_index_technical_value_spec.rb +2 -2
  322. data/spec/models/company_filing_spec.rb +2 -2
  323. data/spec/models/company_initial_public_offering_spec.rb +2 -2
  324. data/spec/models/company_news_spec.rb +2 -2
  325. data/spec/models/company_news_summary_spec.rb +2 -2
  326. data/spec/models/company_spec.rb +2 -2
  327. data/spec/models/company_summary_spec.rb +2 -2
  328. data/spec/models/data_tag_spec.rb +2 -2
  329. data/spec/models/data_tag_summary_spec.rb +2 -2
  330. data/spec/models/detrended_price_oscillator_technical_value_spec.rb +2 -2
  331. data/spec/models/dividend_record_spec.rb +8 -2
  332. data/spec/models/donchian_channel_technical_value_spec.rb +2 -2
  333. data/spec/models/earnings_record_spec.rb +8 -2
  334. data/spec/models/ease_of_movement_technical_value_spec.rb +2 -2
  335. data/spec/models/economic_index_spec.rb +2 -2
  336. data/spec/models/economic_index_summary_spec.rb +2 -2
  337. data/spec/models/filing_note_filing_spec.rb +2 -2
  338. data/spec/models/filing_note_spec.rb +2 -2
  339. data/spec/models/filing_note_summary_spec.rb +2 -2
  340. data/spec/models/filing_spec.rb +2 -2
  341. data/spec/models/filing_summary_spec.rb +2 -2
  342. data/spec/models/force_index_technical_value_spec.rb +2 -2
  343. data/spec/models/forex_currency_spec.rb +2 -2
  344. data/spec/models/forex_pair_spec.rb +2 -2
  345. data/spec/models/forex_price_spec.rb +2 -2
  346. data/spec/models/fundamental_spec.rb +8 -2
  347. data/spec/models/fundamental_summary_spec.rb +2 -2
  348. data/spec/models/historical_data_spec.rb +2 -2
  349. data/spec/models/ichimoku_kinko_hyo_technical_value_spec.rb +2 -2
  350. data/spec/models/intraday_stock_price_spec.rb +2 -2
  351. data/spec/models/keltner_channel_technical_value_spec.rb +2 -2
  352. data/spec/models/know_sure_thing_technical_value_spec.rb +2 -2
  353. data/spec/models/mass_index_technical_value_spec.rb +2 -2
  354. data/spec/models/money_flow_index_technical_value_spec.rb +2 -2
  355. data/spec/models/moving_average_convergence_divergence_technical_value_spec.rb +2 -2
  356. data/spec/models/municipality_financial_spec.rb +2 -2
  357. data/spec/models/municipality_spec.rb +2 -2
  358. data/spec/models/negative_volume_index_technical_value_spec.rb +2 -2
  359. data/spec/models/on_balance_volume_mean_technical_value_spec.rb +2 -2
  360. data/spec/models/on_balance_volume_technical_value_spec.rb +2 -2
  361. data/spec/models/option_chain_spec.rb +2 -2
  362. data/spec/models/option_price_spec.rb +2 -2
  363. data/spec/models/option_spec.rb +2 -2
  364. data/spec/models/realtime_stock_price_security_spec.rb +2 -2
  365. data/spec/models/realtime_stock_price_spec.rb +2 -2
  366. data/spec/models/relative_strength_index_technical_value_spec.rb +2 -2
  367. data/spec/models/reported_financial_dimension_spec.rb +2 -2
  368. data/spec/models/reported_financial_spec.rb +2 -2
  369. data/spec/models/reported_tag_spec.rb +2 -2
  370. data/spec/models/security_screen_clause_spec.rb +2 -2
  371. data/spec/models/security_screen_group_spec.rb +2 -2
  372. data/spec/models/security_screen_result_data_spec.rb +2 -2
  373. data/spec/models/security_screen_result_spec.rb +2 -2
  374. data/spec/models/security_spec.rb +2 -2
  375. data/spec/models/security_summary_spec.rb +2 -2
  376. data/spec/models/sic_index_spec.rb +2 -2
  377. data/spec/models/simple_moving_average_technical_value_spec.rb +2 -2
  378. data/spec/models/standardized_financial_spec.rb +2 -2
  379. data/spec/models/stochastic_oscillator_technical_value_spec.rb +2 -2
  380. data/spec/models/stock_exchange_spec.rb +2 -2
  381. data/spec/models/stock_market_index_spec.rb +2 -2
  382. data/spec/models/stock_market_index_summary_spec.rb +2 -2
  383. data/spec/models/stock_price_adjustment_spec.rb +2 -2
  384. data/spec/models/stock_price_adjustment_summary_spec.rb +2 -2
  385. data/spec/models/stock_price_spec.rb +2 -2
  386. data/spec/models/stock_price_summary_spec.rb +2 -2
  387. data/spec/models/technical_indicator_spec.rb +2 -2
  388. data/spec/models/triple_exponential_average_technical_value_spec.rb +2 -2
  389. data/spec/models/true_strength_index_technical_value_spec.rb +2 -2
  390. data/spec/models/ultimate_oscillator_technical_value_spec.rb +2 -2
  391. data/spec/models/volume_price_trend_technical_value_spec.rb +2 -2
  392. data/spec/models/volume_weighted_average_price_value_spec.rb +2 -2
  393. data/spec/models/vortex_indicator_technical_value_spec.rb +2 -2
  394. data/spec/models/williams_r_technical_value_spec.rb +2 -2
  395. data/spec/models/zacks_analyst_rating_snapshot_spec.rb +2 -2
  396. data/spec/models/zacks_analyst_rating_spec.rb +2 -2
  397. data/spec/models/zacks_analyst_rating_summary_spec.rb +2 -2
  398. data/spec/models/zacks_eps_surprise_spec.rb +2 -2
  399. data/spec/models/zacks_eps_surprise_summary_spec.rb +2 -2
  400. data/spec/models/zacks_sales_surprise_spec.rb +2 -2
  401. data/spec/models/zacks_sales_surprise_summary_spec.rb +2 -2
  402. data/spec/spec_helper.rb +2 -2
  403. metadata +2 -210
  404. data/docs/ApiResponseCryptoAccumulationDistributionIndex.md +0 -37
  405. data/docs/ApiResponseCryptoAverageDailyTradingVolume.md +0 -37
  406. data/docs/ApiResponseCryptoAverageDirectionalIndex.md +0 -37
  407. data/docs/ApiResponseCryptoAverageTrueRange.md +0 -37
  408. data/docs/ApiResponseCryptoAwesomeOscillator.md +0 -37
  409. data/docs/ApiResponseCryptoBollingerBands.md +0 -37
  410. data/docs/ApiResponseCryptoBook.md +0 -36
  411. data/docs/ApiResponseCryptoBookAsks.md +0 -32
  412. data/docs/ApiResponseCryptoBookBids.md +0 -32
  413. data/docs/ApiResponseCryptoChaikinMoneyFlow.md +0 -37
  414. data/docs/ApiResponseCryptoCommodityChannelIndex.md +0 -37
  415. data/docs/ApiResponseCryptoCurrencies.md +0 -23
  416. data/docs/ApiResponseCryptoDetrendedPriceOscillator.md +0 -37
  417. data/docs/ApiResponseCryptoDonchianChannel.md +0 -37
  418. data/docs/ApiResponseCryptoEaseOfMovement.md +0 -37
  419. data/docs/ApiResponseCryptoExchanges.md +0 -23
  420. data/docs/ApiResponseCryptoForceIndex.md +0 -37
  421. data/docs/ApiResponseCryptoIchimokuKinkoHyo.md +0 -37
  422. data/docs/ApiResponseCryptoKeltnerChannel.md +0 -37
  423. data/docs/ApiResponseCryptoKnowSureThing.md +0 -37
  424. data/docs/ApiResponseCryptoMassIndex.md +0 -37
  425. data/docs/ApiResponseCryptoMoneyFlowIndex.md +0 -37
  426. data/docs/ApiResponseCryptoMovingAverageConvergenceDivergence.md +0 -37
  427. data/docs/ApiResponseCryptoNegativeVolumeIndex.md +0 -37
  428. data/docs/ApiResponseCryptoOnBalanceVolume.md +0 -37
  429. data/docs/ApiResponseCryptoOnBalanceVolumeMean.md +0 -37
  430. data/docs/ApiResponseCryptoPairs.md +0 -24
  431. data/docs/ApiResponseCryptoPrices.md +0 -33
  432. data/docs/ApiResponseCryptoRelativeStrengthIndex.md +0 -37
  433. data/docs/ApiResponseCryptoSimpleMovingAverage.md +0 -37
  434. data/docs/ApiResponseCryptoSnapshot.md +0 -31
  435. data/docs/ApiResponseCryptoStats.md +0 -23
  436. data/docs/ApiResponseCryptoStochasticOscillator.md +0 -37
  437. data/docs/ApiResponseCryptoTripleExponentialAverage.md +0 -37
  438. data/docs/ApiResponseCryptoTrueStrengthIndex.md +0 -37
  439. data/docs/ApiResponseCryptoUltimateOscillator.md +0 -37
  440. data/docs/ApiResponseCryptoVolumePriceTrend.md +0 -37
  441. data/docs/ApiResponseCryptoVolumeWeightedAveragePrice.md +0 -37
  442. data/docs/ApiResponseCryptoVortexIndicator.md +0 -37
  443. data/docs/ApiResponseCryptoWilliamsR.md +0 -37
  444. data/docs/CryptoApi.md +0 -4185
  445. data/docs/CryptoAsk.md +0 -21
  446. data/docs/CryptoBid.md +0 -21
  447. data/docs/CryptoBookEntry.md +0 -21
  448. data/docs/CryptoCurrency.md +0 -24
  449. data/docs/CryptoExchange.md +0 -25
  450. data/docs/CryptoExchangeSummary.md +0 -21
  451. data/docs/CryptoPair.md +0 -27
  452. data/docs/CryptoPairSummary.md +0 -21
  453. data/docs/CryptoPrice.md +0 -25
  454. data/docs/CryptoSnapshot.md +0 -34
  455. data/docs/CryptoStat.md +0 -27
  456. data/lib/intrinio-sdk/api/crypto_api.rb +0 -3660
  457. data/lib/intrinio-sdk/models/api_response_crypto_accumulation_distribution_index.rb +0 -238
  458. data/lib/intrinio-sdk/models/api_response_crypto_average_daily_trading_volume.rb +0 -238
  459. data/lib/intrinio-sdk/models/api_response_crypto_average_directional_index.rb +0 -238
  460. data/lib/intrinio-sdk/models/api_response_crypto_average_true_range.rb +0 -238
  461. data/lib/intrinio-sdk/models/api_response_crypto_awesome_oscillator.rb +0 -238
  462. data/lib/intrinio-sdk/models/api_response_crypto_bollinger_bands.rb +0 -238
  463. data/lib/intrinio-sdk/models/api_response_crypto_book.rb +0 -231
  464. data/lib/intrinio-sdk/models/api_response_crypto_book_asks.rb +0 -219
  465. data/lib/intrinio-sdk/models/api_response_crypto_book_bids.rb +0 -219
  466. data/lib/intrinio-sdk/models/api_response_crypto_chaikin_money_flow.rb +0 -238
  467. data/lib/intrinio-sdk/models/api_response_crypto_commodity_channel_index.rb +0 -238
  468. data/lib/intrinio-sdk/models/api_response_crypto_currencies.rb +0 -191
  469. data/lib/intrinio-sdk/models/api_response_crypto_detrended_price_oscillator.rb +0 -238
  470. data/lib/intrinio-sdk/models/api_response_crypto_donchian_channel.rb +0 -238
  471. data/lib/intrinio-sdk/models/api_response_crypto_ease_of_movement.rb +0 -238
  472. data/lib/intrinio-sdk/models/api_response_crypto_exchanges.rb +0 -191
  473. data/lib/intrinio-sdk/models/api_response_crypto_force_index.rb +0 -238
  474. data/lib/intrinio-sdk/models/api_response_crypto_ichimoku_kinko_hyo.rb +0 -238
  475. data/lib/intrinio-sdk/models/api_response_crypto_keltner_channel.rb +0 -238
  476. data/lib/intrinio-sdk/models/api_response_crypto_know_sure_thing.rb +0 -238
  477. data/lib/intrinio-sdk/models/api_response_crypto_mass_index.rb +0 -238
  478. data/lib/intrinio-sdk/models/api_response_crypto_money_flow_index.rb +0 -238
  479. data/lib/intrinio-sdk/models/api_response_crypto_moving_average_convergence_divergence.rb +0 -238
  480. data/lib/intrinio-sdk/models/api_response_crypto_negative_volume_index.rb +0 -238
  481. data/lib/intrinio-sdk/models/api_response_crypto_on_balance_volume.rb +0 -238
  482. data/lib/intrinio-sdk/models/api_response_crypto_on_balance_volume_mean.rb +0 -238
  483. data/lib/intrinio-sdk/models/api_response_crypto_pairs.rb +0 -201
  484. data/lib/intrinio-sdk/models/api_response_crypto_prices.rb +0 -229
  485. data/lib/intrinio-sdk/models/api_response_crypto_relative_strength_index.rb +0 -238
  486. data/lib/intrinio-sdk/models/api_response_crypto_simple_moving_average.rb +0 -238
  487. data/lib/intrinio-sdk/models/api_response_crypto_snapshot.rb +0 -206
  488. data/lib/intrinio-sdk/models/api_response_crypto_stats.rb +0 -191
  489. data/lib/intrinio-sdk/models/api_response_crypto_stochastic_oscillator.rb +0 -238
  490. data/lib/intrinio-sdk/models/api_response_crypto_triple_exponential_average.rb +0 -238
  491. data/lib/intrinio-sdk/models/api_response_crypto_true_strength_index.rb +0 -238
  492. data/lib/intrinio-sdk/models/api_response_crypto_ultimate_oscillator.rb +0 -238
  493. data/lib/intrinio-sdk/models/api_response_crypto_volume_price_trend.rb +0 -238
  494. data/lib/intrinio-sdk/models/api_response_crypto_volume_weighted_average_price.rb +0 -238
  495. data/lib/intrinio-sdk/models/api_response_crypto_vortex_indicator.rb +0 -238
  496. data/lib/intrinio-sdk/models/api_response_crypto_williams_r.rb +0 -238
  497. data/lib/intrinio-sdk/models/crypto_ask.rb +0 -199
  498. data/lib/intrinio-sdk/models/crypto_bid.rb +0 -199
  499. data/lib/intrinio-sdk/models/crypto_book_entry.rb +0 -199
  500. data/lib/intrinio-sdk/models/crypto_currency.rb +0 -229
  501. data/lib/intrinio-sdk/models/crypto_exchange.rb +0 -239
  502. data/lib/intrinio-sdk/models/crypto_exchange_summary.rb +0 -199
  503. data/lib/intrinio-sdk/models/crypto_pair.rb +0 -259
  504. data/lib/intrinio-sdk/models/crypto_pair_summary.rb +0 -199
  505. data/lib/intrinio-sdk/models/crypto_price.rb +0 -239
  506. data/lib/intrinio-sdk/models/crypto_snapshot.rb +0 -329
  507. data/lib/intrinio-sdk/models/crypto_stat.rb +0 -259
  508. data/spec/api/crypto_api_spec.rb +0 -903
  509. data/spec/models/api_response_crypto_accumulation_distribution_index_spec.rb +0 -72
  510. data/spec/models/api_response_crypto_average_daily_trading_volume_spec.rb +0 -72
  511. data/spec/models/api_response_crypto_average_directional_index_spec.rb +0 -72
  512. data/spec/models/api_response_crypto_average_true_range_spec.rb +0 -72
  513. data/spec/models/api_response_crypto_awesome_oscillator_spec.rb +0 -72
  514. data/spec/models/api_response_crypto_bollinger_bands_spec.rb +0 -72
  515. data/spec/models/api_response_crypto_book_asks_spec.rb +0 -60
  516. data/spec/models/api_response_crypto_book_bids_spec.rb +0 -60
  517. data/spec/models/api_response_crypto_book_spec.rb +0 -66
  518. data/spec/models/api_response_crypto_chaikin_money_flow_spec.rb +0 -72
  519. data/spec/models/api_response_crypto_commodity_channel_index_spec.rb +0 -72
  520. data/spec/models/api_response_crypto_currencies_spec.rb +0 -42
  521. data/spec/models/api_response_crypto_detrended_price_oscillator_spec.rb +0 -72
  522. data/spec/models/api_response_crypto_donchian_channel_spec.rb +0 -72
  523. data/spec/models/api_response_crypto_ease_of_movement_spec.rb +0 -72
  524. data/spec/models/api_response_crypto_exchanges_spec.rb +0 -42
  525. data/spec/models/api_response_crypto_force_index_spec.rb +0 -72
  526. data/spec/models/api_response_crypto_ichimoku_kinko_hyo_spec.rb +0 -72
  527. data/spec/models/api_response_crypto_keltner_channel_spec.rb +0 -72
  528. data/spec/models/api_response_crypto_know_sure_thing_spec.rb +0 -72
  529. data/spec/models/api_response_crypto_mass_index_spec.rb +0 -72
  530. data/spec/models/api_response_crypto_money_flow_index_spec.rb +0 -72
  531. data/spec/models/api_response_crypto_moving_average_convergence_divergence_spec.rb +0 -72
  532. data/spec/models/api_response_crypto_negative_volume_index_spec.rb +0 -72
  533. data/spec/models/api_response_crypto_on_balance_volume_mean_spec.rb +0 -72
  534. data/spec/models/api_response_crypto_on_balance_volume_spec.rb +0 -72
  535. data/spec/models/api_response_crypto_pairs_spec.rb +0 -48
  536. data/spec/models/api_response_crypto_prices_spec.rb +0 -66
  537. data/spec/models/api_response_crypto_relative_strength_index_spec.rb +0 -72
  538. data/spec/models/api_response_crypto_simple_moving_average_spec.rb +0 -72
  539. data/spec/models/api_response_crypto_snapshot_spec.rb +0 -54
  540. data/spec/models/api_response_crypto_stats_spec.rb +0 -42
  541. data/spec/models/api_response_crypto_stochastic_oscillator_spec.rb +0 -72
  542. data/spec/models/api_response_crypto_triple_exponential_average_spec.rb +0 -72
  543. data/spec/models/api_response_crypto_true_strength_index_spec.rb +0 -72
  544. data/spec/models/api_response_crypto_ultimate_oscillator_spec.rb +0 -72
  545. data/spec/models/api_response_crypto_volume_price_trend_spec.rb +0 -72
  546. data/spec/models/api_response_crypto_volume_weighted_average_price_spec.rb +0 -72
  547. data/spec/models/api_response_crypto_vortex_indicator_spec.rb +0 -72
  548. data/spec/models/api_response_crypto_williams_r_spec.rb +0 -72
  549. data/spec/models/crypto_ask_spec.rb +0 -48
  550. data/spec/models/crypto_bid_spec.rb +0 -48
  551. data/spec/models/crypto_book_entry_spec.rb +0 -48
  552. data/spec/models/crypto_currency_spec.rb +0 -66
  553. data/spec/models/crypto_exchange_spec.rb +0 -72
  554. data/spec/models/crypto_exchange_summary_spec.rb +0 -48
  555. data/spec/models/crypto_pair_spec.rb +0 -84
  556. data/spec/models/crypto_pair_summary_spec.rb +0 -48
  557. data/spec/models/crypto_price_spec.rb +0 -72
  558. data/spec/models/crypto_snapshot_spec.rb +0 -126
  559. data/spec/models/crypto_stat_spec.rb +0 -84
@@ -1,259 +0,0 @@
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.8.4
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 'date'
14
-
15
- module Intrinio
16
- # Marketwide stats for a Crypto Currency including market cap, available supply, total supply, and max supply
17
- class CryptoStat
18
- # The common name of the crypto currency.
19
- attr_accessor :name
20
-
21
- # A code representing the crypto currency.
22
- attr_accessor :code
23
-
24
- # The symbol of the Crypto Currency.
25
- attr_accessor :symbol
26
-
27
- # The market cap of the Crypto Currency in USD.
28
- attr_accessor :market_cap_usd
29
-
30
- # The available supply of the Crypto Currency.
31
- attr_accessor :available_supply
32
-
33
- # The total supply of the Crypto Currency.
34
- attr_accessor :total_supply
35
-
36
- # The maxmium supply of coins available to mine.
37
- attr_accessor :max_supply
38
-
39
- # UTC timestamp of when the data was last updated.
40
- attr_accessor :last_updated
41
-
42
-
43
- # Attribute mapping from ruby-style variable name to JSON key.
44
- def self.attribute_map
45
- {
46
- :'name' => :'name',
47
- :'code' => :'code',
48
- :'symbol' => :'symbol',
49
- :'market_cap_usd' => :'market_cap_usd',
50
- :'available_supply' => :'available_supply',
51
- :'total_supply' => :'total_supply',
52
- :'max_supply' => :'max_supply',
53
- :'last_updated' => :'last_updated'
54
- }
55
- end
56
-
57
- # Attribute type mapping.
58
- def self.swagger_types
59
- {
60
- :'name' => :'String',
61
- :'code' => :'String',
62
- :'symbol' => :'String',
63
- :'market_cap_usd' => :'Float',
64
- :'available_supply' => :'Float',
65
- :'total_supply' => :'Float',
66
- :'max_supply' => :'Float',
67
- :'last_updated' => :'String'
68
- }
69
- end
70
-
71
- # Initializes the object
72
- # @param [Hash] attributes Model attributes in the form of hash
73
- def initialize(attributes = {})
74
- return unless attributes.is_a?(Hash)
75
-
76
- # convert string to symbol for hash key
77
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
78
-
79
- if attributes.has_key?(:'name')
80
- self.name = attributes[:'name']
81
- end
82
-
83
- if attributes.has_key?(:'code')
84
- self.code = attributes[:'code']
85
- end
86
-
87
- if attributes.has_key?(:'symbol')
88
- self.symbol = attributes[:'symbol']
89
- end
90
-
91
- if attributes.has_key?(:'market_cap_usd')
92
- self.market_cap_usd = attributes[:'market_cap_usd']
93
- end
94
-
95
- if attributes.has_key?(:'available_supply')
96
- self.available_supply = attributes[:'available_supply']
97
- end
98
-
99
- if attributes.has_key?(:'total_supply')
100
- self.total_supply = attributes[:'total_supply']
101
- end
102
-
103
- if attributes.has_key?(:'max_supply')
104
- self.max_supply = attributes[:'max_supply']
105
- end
106
-
107
- if attributes.has_key?(:'last_updated')
108
- self.last_updated = attributes[:'last_updated']
109
- end
110
-
111
- end
112
-
113
- # Show invalid properties with the reasons. Usually used together with valid?
114
- # @return Array for valid properties with the reasons
115
- def list_invalid_properties
116
- invalid_properties = Array.new
117
- return invalid_properties
118
- end
119
-
120
- # Check to see if the all the properties in the model are valid
121
- # @return true if the model is valid
122
- def valid?
123
- return true
124
- end
125
-
126
- # Checks equality by comparing each attribute.
127
- # @param [Object] Object to be compared
128
- def ==(o)
129
- return true if self.equal?(o)
130
- self.class == o.class &&
131
- name == o.name &&
132
- code == o.code &&
133
- symbol == o.symbol &&
134
- market_cap_usd == o.market_cap_usd &&
135
- available_supply == o.available_supply &&
136
- total_supply == o.total_supply &&
137
- max_supply == o.max_supply &&
138
- last_updated == o.last_updated
139
- end
140
-
141
- # @see the `==` method
142
- # @param [Object] Object to be compared
143
- def eql?(o)
144
- self == o
145
- end
146
-
147
- # Calculates hash code according to all attributes.
148
- # @return [Fixnum] Hash code
149
- def hash
150
- [name, code, symbol, market_cap_usd, available_supply, total_supply, max_supply, last_updated].hash
151
- end
152
-
153
- # Builds the object from hash
154
- # @param [Hash] attributes Model attributes in the form of hash
155
- # @return [Object] Returns the model itself
156
- def build_from_hash(attributes)
157
- return nil unless attributes.is_a?(Hash)
158
- self.class.swagger_types.each_pair do |key, type|
159
- if type =~ /\AArray<(.*)>/i
160
- # check to ensure the input is an array given that the the attribute
161
- # is documented as an array but the input is not
162
- if attributes[self.class.attribute_map[key]].is_a?(Array)
163
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
164
- end
165
- elsif !attributes[self.class.attribute_map[key]].nil?
166
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
167
- end # or else data not found in attributes(hash), not an issue as the data can be optional
168
- end
169
-
170
- self
171
- end
172
-
173
- # Deserializes the data based on type
174
- # @param string type Data type
175
- # @param string value Value to be deserialized
176
- # @return [Object] Deserialized data
177
- def _deserialize(type, value)
178
- case type.to_sym
179
- when :DateTime
180
- DateTime.parse(value)
181
- when :Date
182
- Date.parse(value)
183
- when :String
184
- value.to_s
185
- when :Integer
186
- value.to_i
187
- when :Float
188
- value.to_f
189
- when :BOOLEAN
190
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
191
- true
192
- else
193
- false
194
- end
195
- when :Object
196
- # generic object (usually a Hash), return directly
197
- value
198
- when /\AArray<(?<inner_type>.+)>\z/
199
- inner_type = Regexp.last_match[:inner_type]
200
- value.map { |v| _deserialize(inner_type, v) }
201
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
202
- k_type = Regexp.last_match[:k_type]
203
- v_type = Regexp.last_match[:v_type]
204
- {}.tap do |hash|
205
- value.each do |k, v|
206
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
207
- end
208
- end
209
- else # model
210
- temp_model = Intrinio.const_get(type).new
211
- temp_model.build_from_hash(value)
212
- end
213
- end
214
-
215
- # Returns the string representation of the object
216
- # @return [String] String presentation of the object
217
- def to_s
218
- to_hash.to_s
219
- end
220
-
221
- # to_body is an alias to to_hash (backward compatibility)
222
- # @return [Hash] Returns the object in the form of hash
223
- def to_body
224
- to_hash
225
- end
226
-
227
- # Returns the object in the form of hash
228
- # @return [Hash] Returns the object in the form of hash
229
- def to_hash
230
- hash = {}
231
- self.class.attribute_map.each_pair do |attr, param|
232
- value = self.send(attr)
233
- next if value.nil?
234
- hash[param] = _to_hash(value)
235
- end
236
- hash
237
- end
238
-
239
- # Outputs non-array value in the form of hash
240
- # For object, use to_hash. Otherwise, just return the value
241
- # @param [Object] value Any valid value
242
- # @return [Hash] Returns the value in the form of hash
243
- def _to_hash(value)
244
- if value.is_a?(Array)
245
- value.compact.map{ |v| _to_hash(v) }
246
- elsif value.is_a?(Hash)
247
- {}.tap do |hash|
248
- value.each { |k, v| hash[k] = _to_hash(v) }
249
- end
250
- elsif value.respond_to? :to_hash
251
- value.to_hash
252
- else
253
- value
254
- end
255
- end
256
-
257
- end
258
-
259
- end
@@ -1,903 +0,0 @@
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.8.4
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 Filter exchanges based on whether or not prices are available on the exchange for the crypto currency pair.
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_price_technicals_adi
118
- # Accumulation/Distribution Index
119
- # Returns the Accumulation/Distribution Index values of Crypto Currency Prices for a Crypto Currency Pair
120
- # @param [Hash] opts the optional parameters
121
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
122
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
123
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
124
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
125
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
126
- # @option opts [Date] :start_date Return technicals on or after this date.
127
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
128
- # @option opts [Date] :end_date Return technicals on or before this date.
129
- # @option opts [String] :end_time Return technicals 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 [ApiResponseCryptoAccumulationDistributionIndex]
133
- describe 'get_crypto_price_technicals_adi 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_price_technicals_adtv
140
- # Average Daily Trading Volume
141
- # Returns the Average Daily Trading Volume values of Crypto Currency Prices for a Crypto Currency Pair
142
- # @param [Hash] opts the optional parameters
143
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
144
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
145
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
146
- # @option opts [Integer] :period The number of observations, per period, to calculate Average Daily Trading Volume.
147
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
148
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
149
- # @option opts [Date] :start_date Return technicals on or after this date.
150
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
151
- # @option opts [Date] :end_date Return technicals on or before this date.
152
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
153
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
154
- # @option opts [String] :next_page Gets the next page of data from a previous API call
155
- # @return [ApiResponseCryptoAverageDailyTradingVolume]
156
- describe 'get_crypto_price_technicals_adtv test' do
157
- it "should work" do
158
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
159
- end
160
- end
161
-
162
- # unit tests for get_crypto_price_technicals_adx
163
- # Average Directional Index
164
- # Returns the Average Directional Index values of Crypto Currency Prices for a Crypto Currency Pair
165
- # @param [Hash] opts the optional parameters
166
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
167
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
168
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
169
- # @option opts [Integer] :period The number of observations, per period, to calculate Average Directional Index.
170
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
171
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
172
- # @option opts [Date] :start_date Return technicals on or after this date.
173
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
174
- # @option opts [Date] :end_date Return technicals on or before this date.
175
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
176
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
177
- # @option opts [String] :next_page Gets the next page of data from a previous API call
178
- # @return [ApiResponseCryptoAverageDirectionalIndex]
179
- describe 'get_crypto_price_technicals_adx test' do
180
- it "should work" do
181
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
- end
183
- end
184
-
185
- # unit tests for get_crypto_price_technicals_ao
186
- # Awesome Oscillator
187
- # Returns the Awesome Oscillator values of Crypto Currency Prices for a Crypto Currency Pair
188
- # @param [Hash] opts the optional parameters
189
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
190
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
191
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
192
- # @option opts [Integer] :short_period The number of observations, per period, to calculate short period Simple Moving Average of the Awesome Oscillator.
193
- # @option opts [Integer] :long_period The number of observations, per period, to calculate long period Simple Moving Average of the Awesome Oscillator.
194
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
195
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
196
- # @option opts [Date] :start_date Return technicals on or after this date.
197
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
198
- # @option opts [Date] :end_date Return technicals on or before this date.
199
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
200
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
201
- # @option opts [String] :next_page Gets the next page of data from a previous API call
202
- # @return [ApiResponseCryptoAwesomeOscillator]
203
- describe 'get_crypto_price_technicals_ao test' do
204
- it "should work" do
205
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
- end
207
- end
208
-
209
- # unit tests for get_crypto_price_technicals_atr
210
- # Average True Range
211
- # Returns the Average True Range values of Crypto Currency Prices for Crypto Currency Pair
212
- # @param [Hash] opts the optional parameters
213
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
214
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
215
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
216
- # @option opts [Integer] :period The number of observations, per period, to calculate Average True Range.
217
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
218
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
219
- # @option opts [Date] :start_date Return technicals on or after this date.
220
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
221
- # @option opts [Date] :end_date Return technicals on or before this date.
222
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
223
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
224
- # @option opts [String] :next_page Gets the next page of data from a previous API call
225
- # @return [ApiResponseCryptoAverageTrueRange]
226
- describe 'get_crypto_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_crypto_price_technicals_bb
233
- # Bollinger Bands
234
- # Returns the Bollinger Bands values of Crypto Currency Prices for a Crypto Currency Pair
235
- # @param [Hash] opts the optional parameters
236
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
237
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
238
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
239
- # @option opts [Integer] :period The number of observations, per period, to calculate Bollinger Bands.
240
- # @option opts [Float] :standard_deviations The number of standard deviations to calculate the upper and lower bands of the Bollinger Bands.
241
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating Bollinger Bands.
242
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
243
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
244
- # @option opts [Date] :start_date Return technicals on or after this date.
245
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
246
- # @option opts [Date] :end_date Return technicals on or before this date.
247
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
248
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
249
- # @option opts [String] :next_page Gets the next page of data from a previous API call
250
- # @return [ApiResponseCryptoBollingerBands]
251
- describe 'get_crypto_price_technicals_bb test' do
252
- it "should work" do
253
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
254
- end
255
- end
256
-
257
- # unit tests for get_crypto_price_technicals_cci
258
- # Commodity Channel Index
259
- # Returns the Commodity Channel Index values of Crypto Currency Prices for Crypto Currency Pair
260
- # @param [Hash] opts the optional parameters
261
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
262
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
263
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
264
- # @option opts [Integer] :period The number of observations, per period, to calculate Commodity Channel Index.
265
- # @option opts [Float] :constant The number of observations, per period, to calculate Commodity Channel Index.
266
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
267
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
268
- # @option opts [Date] :start_date Return technicals on or after this date.
269
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
270
- # @option opts [Date] :end_date Return technicals on or before this date.
271
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
272
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
273
- # @option opts [String] :next_page Gets the next page of data from a previous API call
274
- # @return [ApiResponseCryptoCommodityChannelIndex]
275
- describe 'get_crypto_price_technicals_cci test' do
276
- it "should work" do
277
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
278
- end
279
- end
280
-
281
- # unit tests for get_crypto_price_technicals_cmf
282
- # Chaikin Money Flow
283
- # Returns the Chaikin Money Flow values of Crypto Currency Prices for a Crypto Currency Pair
284
- # @param [Hash] opts the optional parameters
285
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
286
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
287
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
288
- # @option opts [Integer] :period The number of observations, per period, to calculate Chaikin Money Flow.
289
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
290
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
291
- # @option opts [Date] :start_date Return technicals on or after this date.
292
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
293
- # @option opts [Date] :end_date Return technicals on or before this date.
294
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
295
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
296
- # @option opts [String] :next_page Gets the next page of data from a previous API call
297
- # @return [ApiResponseCryptoChaikinMoneyFlow]
298
- describe 'get_crypto_price_technicals_cmf 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_crypto_price_technicals_dc
305
- # Donchian Channel
306
- # Returns the Donchian Channel values of Crypto Currency Prices for a Crypto Currency Pair
307
- # @param [Hash] opts the optional parameters
308
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
309
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
310
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
311
- # @option opts [Integer] :period The number of observations, per period, to calculate Donchian Channel.
312
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating Donchian Channel.
313
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
314
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
315
- # @option opts [Date] :start_date Return technicals on or after this date.
316
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
317
- # @option opts [Date] :end_date Return technicals on or before this date.
318
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
319
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
320
- # @option opts [String] :next_page Gets the next page of data from a previous API call
321
- # @return [ApiResponseCryptoDonchianChannel]
322
- describe 'get_crypto_price_technicals_dc test' do
323
- it "should work" do
324
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
325
- end
326
- end
327
-
328
- # unit tests for get_crypto_price_technicals_dpo
329
- # Detrended Price Oscillator
330
- # Returns the Detrended Price Oscillator values of Crypto Currency Prices for a Crypto Currency Pair
331
- # @param [Hash] opts the optional parameters
332
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
333
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
334
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
335
- # @option opts [Integer] :period The number of observations, per period, to calculate Detrended Price Oscillator.
336
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating Detrended Price Oscillator.
337
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
338
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
339
- # @option opts [Date] :start_date Return technicals on or after this date.
340
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
341
- # @option opts [Date] :end_date Return technicals on or before this date.
342
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
343
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
344
- # @option opts [String] :next_page Gets the next page of data from a previous API call
345
- # @return [ApiResponseCryptoDetrendedPriceOscillator]
346
- describe 'get_crypto_price_technicals_dpo test' do
347
- it "should work" do
348
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
349
- end
350
- end
351
-
352
- # unit tests for get_crypto_price_technicals_eom
353
- # Ease of Movement
354
- # Returns the Ease of Movement values of Crypto Currency Prices for a Crypto Currency Pair
355
- # @param [Hash] opts the optional parameters
356
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
357
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
358
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
359
- # @option opts [Integer] :period The number of observations, per period, to calculate Ease of Movement.
360
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
361
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
362
- # @option opts [Date] :start_date Return technicals on or after this date.
363
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
364
- # @option opts [Date] :end_date Return technicals on or before this date.
365
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
366
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
367
- # @option opts [String] :next_page Gets the next page of data from a previous API call
368
- # @return [ApiResponseCryptoEaseOfMovement]
369
- describe 'get_crypto_price_technicals_eom test' do
370
- it "should work" do
371
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
372
- end
373
- end
374
-
375
- # unit tests for get_crypto_price_technicals_fi
376
- # Force Index
377
- # Returns the Force Index values of Crypto Currency Prices for a Crypto Currency Pair
378
- # @param [Hash] opts the optional parameters
379
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
380
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
381
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
382
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
383
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
384
- # @option opts [Date] :start_date Return technicals on or after this date.
385
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
386
- # @option opts [Date] :end_date Return technicals on or before this date.
387
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
388
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
389
- # @option opts [String] :next_page Gets the next page of data from a previous API call
390
- # @return [ApiResponseCryptoForceIndex]
391
- describe 'get_crypto_price_technicals_fi test' do
392
- it "should work" do
393
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
394
- end
395
- end
396
-
397
- # unit tests for get_crypto_price_technicals_ichimoku
398
- # Ichimoku Kinko Hyo
399
- # Returns the Ichimoku Kinko Hyo values of Crypto Currency Prices for a Crypto Currency Pair
400
- # @param [Hash] opts the optional parameters
401
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
402
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
403
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
404
- # @option opts [Integer] :low_period The number of observations, per period, to calculate Tenkan Sen (Conversion Line) of Ichimoku Kinko Hyo.
405
- # @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.
406
- # @option opts [Integer] :high_period The number of observations, per period, to calculate Senkou Span B (Leading Span B) of Ichimoku Kinko Hyo.
407
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
408
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
409
- # @option opts [Date] :start_date Return technicals on or after this date.
410
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
411
- # @option opts [Date] :end_date Return technicals on or before this date.
412
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
413
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
414
- # @option opts [String] :next_page Gets the next page of data from a previous API call
415
- # @return [ApiResponseCryptoIchimokuKinkoHyo]
416
- describe 'get_crypto_price_technicals_ichimoku test' do
417
- it "should work" do
418
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
419
- end
420
- end
421
-
422
- # unit tests for get_crypto_price_technicals_kc
423
- # Keltner Channel
424
- # Returns the Keltner Channel values of Crypto Currency Prices for a Crypto Currency Pair
425
- # @param [Hash] opts the optional parameters
426
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
427
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
428
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
429
- # @option opts [Integer] :period The number of observations, per period, to calculate Kelter Channel.
430
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
431
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
432
- # @option opts [Date] :start_date Return technicals on or after this date.
433
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
434
- # @option opts [Date] :end_date Return technicals on or before this date.
435
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
436
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
437
- # @option opts [String] :next_page Gets the next page of data from a previous API call
438
- # @return [ApiResponseCryptoKeltnerChannel]
439
- describe 'get_crypto_price_technicals_kc test' do
440
- it "should work" do
441
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
442
- end
443
- end
444
-
445
- # unit tests for get_crypto_price_technicals_kst
446
- # Know Sure Thing
447
- # Returns the Know Sure Thing values of Crypto Currency Prices for a Crypto Currency Pair
448
- # @param [Hash] opts the optional parameters
449
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
450
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
451
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
452
- # @option opts [Integer] :roc1 The number of observations, per period, to calculate the rate-of-change for RCMA1.
453
- # @option opts [Integer] :roc2 The number of observations, per period, to calculate the rate-of-change for RCMA2.
454
- # @option opts [Integer] :roc3 The number of observations, per period, to calculate the rate-of-change for RCMA3.
455
- # @option opts [Integer] :roc4 The number of observations, per period, to calculate the rate-of-change for RCMA4.
456
- # @option opts [Integer] :sma1 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA1.
457
- # @option opts [Integer] :sma2 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA2.
458
- # @option opts [Integer] :sma3 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA3.
459
- # @option opts [Integer] :sma4 The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA4.
460
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating Know Sure Thing.
461
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
462
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
463
- # @option opts [Date] :start_date Return technicals on or after this date.
464
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
465
- # @option opts [Date] :end_date Return technicals on or before this date.
466
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
467
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
468
- # @option opts [String] :next_page Gets the next page of data from a previous API call
469
- # @return [ApiResponseCryptoKnowSureThing]
470
- describe 'get_crypto_price_technicals_kst test' do
471
- it "should work" do
472
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
473
- end
474
- end
475
-
476
- # unit tests for get_crypto_price_technicals_macd
477
- # Moving Average Convergence Divergence
478
- # Returns the Moving Average Convergence Divergence values of Crypto Currency Prices for a Crypto Currency Pair
479
- # @param [Hash] opts the optional parameters
480
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
481
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
482
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
483
- # @option opts [Integer] :fast_period The number of observations, per period, to calculate the fast moving Exponential Moving Average for Moving Average Convergence Divergence.
484
- # @option opts [Integer] :slow_period The number of observations, per period, to calculate the slow moving Exponential Moving Average for Moving Average Convergence Divergence.
485
- # @option opts [Integer] :signal_period The number of observations, per period, to calculate the signal line for Moving Average Convergence Divergence.
486
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating Moving Average Convergence Divergence.
487
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
488
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
489
- # @option opts [Date] :start_date Return technicals on or after this date.
490
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
491
- # @option opts [Date] :end_date Return technicals on or before this date.
492
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
493
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
494
- # @option opts [String] :next_page Gets the next page of data from a previous API call
495
- # @return [ApiResponseCryptoMovingAverageConvergenceDivergence]
496
- describe 'get_crypto_price_technicals_macd test' do
497
- it "should work" do
498
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
499
- end
500
- end
501
-
502
- # unit tests for get_crypto_price_technicals_mfi
503
- # Money Flow Index
504
- # Returns the Money Flow Index values of Crypto Currency Prices for a Crypto Currency Pair
505
- # @param [Hash] opts the optional parameters
506
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
507
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
508
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
509
- # @option opts [Integer] :period The number of observations, per period, to calculate Money Flow Index.
510
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
511
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
512
- # @option opts [Date] :start_date Return technicals on or after this date.
513
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
514
- # @option opts [Date] :end_date Return technicals on or before this date.
515
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
516
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
517
- # @option opts [String] :next_page Gets the next page of data from a previous API call
518
- # @return [ApiResponseCryptoMoneyFlowIndex]
519
- describe 'get_crypto_price_technicals_mfi test' do
520
- it "should work" do
521
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
522
- end
523
- end
524
-
525
- # unit tests for get_crypto_price_technicals_mi
526
- # Mass Index
527
- # Returns the Mass Index values of Crypto Currency Prices for a Crypto Currency Pair
528
- # @param [Hash] opts the optional parameters
529
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
530
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
531
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
532
- # @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.
533
- # @option opts [Integer] :sum_period The number of observations, per period, to calculate the sum of the Exponetinal Moving Average Ratios for Mass Index.
534
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
535
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
536
- # @option opts [Date] :start_date Return technicals on or after this date.
537
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
538
- # @option opts [Date] :end_date Return technicals on or before this date.
539
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
540
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
541
- # @option opts [String] :next_page Gets the next page of data from a previous API call
542
- # @return [ApiResponseCryptoMassIndex]
543
- describe 'get_crypto_price_technicals_mi test' do
544
- it "should work" do
545
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
546
- end
547
- end
548
-
549
- # unit tests for get_crypto_price_technicals_nvi
550
- # Negative Volume Index
551
- # Returns the Negative Volume Index values of Crypto Currency Prices for a Crypto Currency Pair
552
- # @param [Hash] opts the optional parameters
553
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
554
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
555
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
556
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
557
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
558
- # @option opts [Date] :start_date Return technicals on or after this date.
559
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
560
- # @option opts [Date] :end_date Return technicals on or before this date.
561
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
562
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
563
- # @option opts [String] :next_page Gets the next page of data from a previous API call
564
- # @return [ApiResponseCryptoNegativeVolumeIndex]
565
- describe 'get_crypto_price_technicals_nvi test' do
566
- it "should work" do
567
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
568
- end
569
- end
570
-
571
- # unit tests for get_crypto_price_technicals_obv
572
- # On-balance Volume
573
- # Returns the On-balance Volume values of Crypto Currency Prices for a Crypto Currency Pair
574
- # @param [Hash] opts the optional parameters
575
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
576
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
577
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
578
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
579
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
580
- # @option opts [Date] :start_date Return technicals on or after this date.
581
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
582
- # @option opts [Date] :end_date Return technicals on or before this date.
583
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
584
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
585
- # @option opts [String] :next_page Gets the next page of data from a previous API call
586
- # @return [ApiResponseCryptoOnBalanceVolume]
587
- describe 'get_crypto_price_technicals_obv test' do
588
- it "should work" do
589
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
590
- end
591
- end
592
-
593
- # unit tests for get_crypto_price_technicals_obv_mean
594
- # On-balance Volume Mean
595
- # Returns the On-balance Volume Mean values of Crypto Currency Prices for a Crypto Currency Pair
596
- # @param [Hash] opts the optional parameters
597
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
598
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
599
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
600
- # @option opts [Integer] :period The number of observations, per period, to calculate On-balance Volume Mean.
601
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
602
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
603
- # @option opts [Date] :start_date Return technicals on or after this date.
604
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
605
- # @option opts [Date] :end_date Return technicals on or before this date.
606
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
607
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
608
- # @option opts [String] :next_page Gets the next page of data from a previous API call
609
- # @return [ApiResponseCryptoOnBalanceVolumeMean]
610
- describe 'get_crypto_price_technicals_obv_mean test' do
611
- it "should work" do
612
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
613
- end
614
- end
615
-
616
- # unit tests for get_crypto_price_technicals_rsi
617
- # Relative Strength Index
618
- # Returns the Relative Strength Index values of Crypto Currency Prices for a Crypto Currency Pair
619
- # @param [Hash] opts the optional parameters
620
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
621
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
622
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
623
- # @option opts [Integer] :period The number of observations, per period, to calculate Relative Strength Index.
624
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating Relative Strength Index.
625
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
626
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
627
- # @option opts [Date] :start_date Return technicals on or after this date.
628
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
629
- # @option opts [Date] :end_date Return technicals on or before this date.
630
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
631
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
632
- # @option opts [String] :next_page Gets the next page of data from a previous API call
633
- # @return [ApiResponseCryptoRelativeStrengthIndex]
634
- describe 'get_crypto_price_technicals_rsi test' do
635
- it "should work" do
636
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
637
- end
638
- end
639
-
640
- # unit tests for get_crypto_price_technicals_sma
641
- # Simple Moving Average
642
- # Returns the Simple Moving Average values of Crypto Currency Prices for a Crypto Currency Pair
643
- # @param [Hash] opts the optional parameters
644
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
645
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
646
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
647
- # @option opts [Integer] :period The number of observations, per period, to calculate Simple Moving Average.
648
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating Simple Moving Average.
649
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
650
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
651
- # @option opts [Date] :start_date Return technicals on or after this date.
652
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
653
- # @option opts [Date] :end_date Return technicals on or before this date.
654
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
655
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
656
- # @option opts [String] :next_page Gets the next page of data from a previous API call
657
- # @return [ApiResponseCryptoSimpleMovingAverage]
658
- describe 'get_crypto_price_technicals_sma test' do
659
- it "should work" do
660
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
661
- end
662
- end
663
-
664
- # unit tests for get_crypto_price_technicals_sr
665
- # Stochastic Oscillator
666
- # Returns the Stochastic Oscillator values of Crypto Currency Prices for a Crypto Currency Pair
667
- # @param [Hash] opts the optional parameters
668
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
669
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
670
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
671
- # @option opts [Integer] :period The number of observations, per period, to calculate %K of Stochastic Oscillator.
672
- # @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.
673
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
674
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
675
- # @option opts [Date] :start_date Return technicals on or after this date.
676
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
677
- # @option opts [Date] :end_date Return technicals on or before this date.
678
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
679
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
680
- # @option opts [String] :next_page Gets the next page of data from a previous API call
681
- # @return [ApiResponseCryptoStochasticOscillator]
682
- describe 'get_crypto_price_technicals_sr test' do
683
- it "should work" do
684
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
685
- end
686
- end
687
-
688
- # unit tests for get_crypto_price_technicals_trix
689
- # Triple Exponential Average
690
- # Returns the Simple Moving Average values of Crypto Currency Prices for a Crypto Currency Pair
691
- # @param [Hash] opts the optional parameters
692
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
693
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
694
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
695
- # @option opts [Integer] :period The number of observations, per period, to calculate Exponential Moving Average for Triple Exponential Average.
696
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
697
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
698
- # @option opts [Date] :start_date Return technicals on or after this date.
699
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
700
- # @option opts [Date] :end_date Return technicals on or before this date.
701
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
702
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
703
- # @option opts [String] :next_page Gets the next page of data from a previous API call
704
- # @return [ApiResponseCryptoTripleExponentialAverage]
705
- describe 'get_crypto_price_technicals_trix test' do
706
- it "should work" do
707
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
708
- end
709
- end
710
-
711
- # unit tests for get_crypto_price_technicals_tsi
712
- # True Strength Index
713
- # Returns the True Strength Index values of Crypto Currency Prices for a Crypto Currency Pair
714
- # @param [Hash] opts the optional parameters
715
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
716
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
717
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
718
- # @option opts [Integer] :low_period The number of observations, per period, to calculate low period Exponential Moving Average for smoothing in True Strength Index.
719
- # @option opts [Integer] :high_period The number of observations, per period, to calculate high period Exponential Moving Average for smoothing in True Strength Index.
720
- # @option opts [String] :price_key The Crypto Currency Price field to use when calculating True Strength Index.
721
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
722
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
723
- # @option opts [Date] :start_date Return technicals on or after this date.
724
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
725
- # @option opts [Date] :end_date Return technicals on or before this date.
726
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
727
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
728
- # @option opts [String] :next_page Gets the next page of data from a previous API call
729
- # @return [ApiResponseCryptoTrueStrengthIndex]
730
- describe 'get_crypto_price_technicals_tsi test' do
731
- it "should work" do
732
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
733
- end
734
- end
735
-
736
- # unit tests for get_crypto_price_technicals_uo
737
- # Ultimate Oscillator
738
- # Returns the Ultimate Oscillator values of Crypto Currency Prices for a Crypto Currency Pair
739
- # @param [Hash] opts the optional parameters
740
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
741
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
742
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
743
- # @option opts [Integer] :short_period The number of observations, per period, to calculate the short period for Ultimate Oscillator.
744
- # @option opts [Integer] :medium_period The number of observations, per period, to calculate the medium period for Ultimate Oscillator.
745
- # @option opts [Integer] :long_period The number of observations, per period, to calculate the long period for Ultimate Oscillator.
746
- # @option opts [Float] :short_weight The weight of short Buying Pressure average for Ultimate Oscillator.
747
- # @option opts [Float] :medium_weight The weight of medium Buying Pressure average for Ultimate Oscillator.
748
- # @option opts [Float] :long_weight The weight of long Buying Pressure average for Ultimate Oscillator.
749
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
750
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
751
- # @option opts [Date] :start_date Return technicals on or after this date.
752
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
753
- # @option opts [Date] :end_date Return technicals on or before this date.
754
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
755
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
756
- # @option opts [String] :next_page Gets the next page of data from a previous API call
757
- # @return [ApiResponseCryptoUltimateOscillator]
758
- describe 'get_crypto_price_technicals_uo test' do
759
- it "should work" do
760
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
761
- end
762
- end
763
-
764
- # unit tests for get_crypto_price_technicals_vi
765
- # Vortex Indicator
766
- # Returns the Vortex Indicator values of Crypto Currency Prices for a Crypto Currency Pair
767
- # @param [Hash] opts the optional parameters
768
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
769
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
770
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
771
- # @option opts [Integer] :period The number of observations, per period, to calculate Vortex Indicator.
772
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
773
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
774
- # @option opts [Date] :start_date Return technicals on or after this date.
775
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
776
- # @option opts [Date] :end_date Return technicals on or before this date.
777
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
778
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
779
- # @option opts [String] :next_page Gets the next page of data from a previous API call
780
- # @return [ApiResponseCryptoVortexIndicator]
781
- describe 'get_crypto_price_technicals_vi test' do
782
- it "should work" do
783
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
784
- end
785
- end
786
-
787
- # unit tests for get_crypto_price_technicals_vpt
788
- # Volume-price Trend
789
- # Returns the Volume-price Trend values of Crypto Currency Prices for a Crypto Currency Pair
790
- # @param [Hash] opts the optional parameters
791
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
792
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
793
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
794
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
795
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
796
- # @option opts [Date] :start_date Return technicals on or after this date.
797
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
798
- # @option opts [Date] :end_date Return technicals on or before this date.
799
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
800
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
801
- # @option opts [String] :next_page Gets the next page of data from a previous API call
802
- # @return [ApiResponseCryptoVolumePriceTrend]
803
- describe 'get_crypto_price_technicals_vpt test' do
804
- it "should work" do
805
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
806
- end
807
- end
808
-
809
- # unit tests for get_crypto_price_technicals_vwap
810
- # Volume Weighted Average Price
811
- # Returns the Volume Weighted Average Price values of Crypto Currency Prices for a Crypto Currency Pair
812
- # @param [Hash] opts the optional parameters
813
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
814
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
815
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
816
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
817
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
818
- # @option opts [Date] :start_date Return technicals on or after this date.
819
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
820
- # @option opts [Date] :end_date Return technicals on or before this date.
821
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
822
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
823
- # @option opts [String] :next_page Gets the next page of data from a previous API call
824
- # @return [ApiResponseCryptoVolumeWeightedAveragePrice]
825
- describe 'get_crypto_price_technicals_vwap test' do
826
- it "should work" do
827
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
828
- end
829
- end
830
-
831
- # unit tests for get_crypto_price_technicals_wr
832
- # Williams %R
833
- # Returns the Williams %R values of Crypto Currency Prices for a Crypto Currency Pair
834
- # @param [Hash] opts the optional parameters
835
- # @option opts [String] :pair Return technicals for the given Crypto Currency Pair.
836
- # @option opts [String] :exchange Return technicals for a Crypto Currency on the given Crypto Exchange.
837
- # @option opts [String] :currency Return technicals for the given Crypto Currency.
838
- # @option opts [Integer] :period The number of observations, per period, to look-back when calculating Williams %R.
839
- # @option opts [String] :timeframe The time interval for the prices when calculating technicals.
840
- # @option opts [String] :timezone Return technical date/times in this timezone, also interpret start/end date/time parameters in this timezone.
841
- # @option opts [Date] :start_date Return technicals on or after this date.
842
- # @option opts [String] :start_time Return technicals at or after this time (24-hour).
843
- # @option opts [Date] :end_date Return technicals on or before this date.
844
- # @option opts [String] :end_time Return technicals at or before this time (24-hour).
845
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
846
- # @option opts [String] :next_page Gets the next page of data from a previous API call
847
- # @return [ApiResponseCryptoWilliamsR]
848
- describe 'get_crypto_price_technicals_wr test' do
849
- it "should work" do
850
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
851
- end
852
- end
853
-
854
- # unit tests for get_crypto_prices
855
- # Crypto Prices
856
- # Returns a list of available Crypto Currency Prices.
857
- # @param timeframe The time interval for the prices.
858
- # @param [Hash] opts the optional parameters
859
- # @option opts [String] :pair Return prices for the given Crypto Currency Pair.
860
- # @option opts [String] :exchange Return prices for a Crypto Currency on the given Crypto Exchange.
861
- # @option opts [String] :currency Return prices for the given Crypto Currency.
862
- # @option opts [String] :timezone Return price date/times in this timezone, also interpret start/end date/time parameters in this timezone.
863
- # @option opts [Date] :start_date Return Crypto Prices on or after this date.
864
- # @option opts [String] :start_time Return Crypto Prices at or after this time (24-hour).
865
- # @option opts [Date] :end_date Return Crypto Prices on or before this date.
866
- # @option opts [String] :end_time Return Crypto Prices at or before this time (24-hour).
867
- # @option opts [Integer] :page_size An integer greater than or equal to 1 for specifying the number of results on each page.
868
- # @option opts [String] :next_page Gets the next page of data from a previous API call
869
- # @return [ApiResponseCryptoPrices]
870
- describe 'get_crypto_prices test' do
871
- it "should work" do
872
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
873
- end
874
- end
875
-
876
- # unit tests for get_crypto_snapshot
877
- # Crypto Snapshot
878
- # Returns a market snapshot over that last 24 hours for the given currency pair and exchange.
879
- # @param [Hash] opts the optional parameters
880
- # @option opts [String] :pair Return the snapshot for the given Crypto Currency Pair.
881
- # @option opts [String] :exchange Return the snapshot for a Crypto Currency on the given Crypto Exchange.
882
- # @option opts [String] :currency Return the snapshot for the given Crypto Currency.
883
- # @return [ApiResponseCryptoSnapshot]
884
- describe 'get_crypto_snapshot test' do
885
- it "should work" do
886
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
887
- end
888
- end
889
-
890
- # unit tests for get_crypto_stats
891
- # Crypto Stats
892
- # Returns available stats on Crypto Currencies.
893
- # @param [Hash] opts the optional parameters
894
- # @option opts [String] :exchange Returns stats for Crypto Currencies that trade on the specified Crypto Exchange.
895
- # @option opts [String] :currency Returns stats for the specified Crypto Currency.
896
- # @return [ApiResponseCryptoStats]
897
- describe 'get_crypto_stats test' do
898
- it "should work" do
899
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
900
- end
901
- end
902
-
903
- end