intrinio-sdk 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +176 -0
  4. data/Rakefile +8 -0
  5. data/docs/ApiResponseCompanies.md +9 -0
  6. data/docs/ApiResponseCompanyFilings.md +10 -0
  7. data/docs/ApiResponseCompanyFundamentals.md +10 -0
  8. data/docs/ApiResponseCompanyHistoricalData.md +10 -0
  9. data/docs/ApiResponseCompanyNews.md +10 -0
  10. data/docs/ApiResponseCompanySecurities.md +10 -0
  11. data/docs/ApiResponseDataTags.md +9 -0
  12. data/docs/ApiResponseEconomicIndexHistoricalData.md +10 -0
  13. data/docs/ApiResponseEconomicIndices.md +9 -0
  14. data/docs/ApiResponseFilings.md +9 -0
  15. data/docs/ApiResponseHistoricalData.md +9 -0
  16. data/docs/ApiResponseNews.md +9 -0
  17. data/docs/ApiResponseReportedFinancials.md +10 -0
  18. data/docs/ApiResponseSICIndexHistoricalData.md +10 -0
  19. data/docs/ApiResponseSICIndices.md +9 -0
  20. data/docs/ApiResponseSecurities.md +9 -0
  21. data/docs/ApiResponseSecurityHistoricalData.md +10 -0
  22. data/docs/ApiResponseSecurityStockPriceAdjustments.md +10 -0
  23. data/docs/ApiResponseSecurityStockPrices.md +10 -0
  24. data/docs/ApiResponseStandardizedFinancials.md +10 -0
  25. data/docs/ApiResponseStockExchangeSecurities.md +10 -0
  26. data/docs/ApiResponseStockExchangeStockPriceAdjustments.md +10 -0
  27. data/docs/ApiResponseStockExchangeStockPrices.md +10 -0
  28. data/docs/ApiResponseStockExchanges.md +9 -0
  29. data/docs/ApiResponseStockMarketIndexHistoricalData.md +10 -0
  30. data/docs/ApiResponseStockMarketIndices.md +9 -0
  31. data/docs/Company.md +39 -0
  32. data/docs/CompanyApi.md +659 -0
  33. data/docs/CompanyFiling.md +17 -0
  34. data/docs/CompanyNews.md +13 -0
  35. data/docs/CompanyNewsSummary.md +12 -0
  36. data/docs/CompanySummary.md +12 -0
  37. data/docs/DataPointApi.md +96 -0
  38. data/docs/DataTag.md +17 -0
  39. data/docs/DataTagApi.md +184 -0
  40. data/docs/DataTagSummary.md +11 -0
  41. data/docs/EconomicIndex.md +19 -0
  42. data/docs/EconomicIndexSummary.md +18 -0
  43. data/docs/Filing.md +17 -0
  44. data/docs/FilingApi.md +142 -0
  45. data/docs/FilingSummary.md +16 -0
  46. data/docs/Fundamental.md +16 -0
  47. data/docs/FundamentalSummary.md +15 -0
  48. data/docs/FundamentalsApi.md +181 -0
  49. data/docs/HistoricalData.md +9 -0
  50. data/docs/HistoricalDataApi.md +64 -0
  51. data/docs/IndexApi.md +800 -0
  52. data/docs/ReportedFinancial.md +9 -0
  53. data/docs/ReportedTag.md +14 -0
  54. data/docs/SICIndex.md +12 -0
  55. data/docs/Security.md +34 -0
  56. data/docs/SecurityApi.md +420 -0
  57. data/docs/SecurityScreenClause.md +10 -0
  58. data/docs/SecurityScreenGroup.md +10 -0
  59. data/docs/SecurityScreenResult.md +9 -0
  60. data/docs/SecurityScreenResultData.md +10 -0
  61. data/docs/SecuritySummary.md +17 -0
  62. data/docs/StandardizedFinancial.md +9 -0
  63. data/docs/StockExchange.md +17 -0
  64. data/docs/StockExchangeApi.md +267 -0
  65. data/docs/StockMarketIndex.md +17 -0
  66. data/docs/StockMarketIndexSummary.md +16 -0
  67. data/docs/StockPrice.md +21 -0
  68. data/docs/StockPriceAdjustment.md +12 -0
  69. data/docs/StockPriceAdjustmentSummary.md +13 -0
  70. data/docs/StockPriceSummary.md +20 -0
  71. data/git_push.sh +55 -0
  72. data/intrinio-sdk.gemspec +45 -0
  73. data/lib/intrinio-sdk.rb +105 -0
  74. data/lib/intrinio-sdk/api/company_api.rb +885 -0
  75. data/lib/intrinio-sdk/api/data_point_api.rb +141 -0
  76. data/lib/intrinio-sdk/api/data_tag_api.rb +251 -0
  77. data/lib/intrinio-sdk/api/filing_api.rb +192 -0
  78. data/lib/intrinio-sdk/api/fundamentals_api.rb +261 -0
  79. data/lib/intrinio-sdk/api/historical_data_api.rb +100 -0
  80. data/lib/intrinio-sdk/api/index_api.rb +1079 -0
  81. data/lib/intrinio-sdk/api/security_api.rb +568 -0
  82. data/lib/intrinio-sdk/api/stock_exchange_api.rb +353 -0
  83. data/lib/intrinio-sdk/api_client.rb +389 -0
  84. data/lib/intrinio-sdk/api_error.rb +38 -0
  85. data/lib/intrinio-sdk/configuration.rb +209 -0
  86. data/lib/intrinio-sdk/models/api_response_companies.rb +200 -0
  87. data/lib/intrinio-sdk/models/api_response_company_filings.rb +209 -0
  88. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +209 -0
  89. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +209 -0
  90. data/lib/intrinio-sdk/models/api_response_company_news.rb +209 -0
  91. data/lib/intrinio-sdk/models/api_response_company_securities.rb +209 -0
  92. data/lib/intrinio-sdk/models/api_response_data_tags.rb +200 -0
  93. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +209 -0
  94. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +200 -0
  95. data/lib/intrinio-sdk/models/api_response_filings.rb +200 -0
  96. data/lib/intrinio-sdk/models/api_response_historical_data.rb +200 -0
  97. data/lib/intrinio-sdk/models/api_response_news.rb +200 -0
  98. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +209 -0
  99. data/lib/intrinio-sdk/models/api_response_securities.rb +200 -0
  100. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +209 -0
  101. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +211 -0
  102. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +211 -0
  103. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +209 -0
  104. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +200 -0
  105. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +209 -0
  106. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +211 -0
  107. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +211 -0
  108. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +211 -0
  109. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +200 -0
  110. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +209 -0
  111. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +200 -0
  112. data/lib/intrinio-sdk/models/company.rb +498 -0
  113. data/lib/intrinio-sdk/models/company_filing.rb +278 -0
  114. data/lib/intrinio-sdk/models/company_news.rb +239 -0
  115. data/lib/intrinio-sdk/models/company_news_summary.rb +229 -0
  116. data/lib/intrinio-sdk/models/company_summary.rb +229 -0
  117. data/lib/intrinio-sdk/models/data_tag.rb +312 -0
  118. data/lib/intrinio-sdk/models/data_tag_summary.rb +219 -0
  119. data/lib/intrinio-sdk/models/economic_index.rb +299 -0
  120. data/lib/intrinio-sdk/models/economic_index_summary.rb +289 -0
  121. data/lib/intrinio-sdk/models/filing.rb +278 -0
  122. data/lib/intrinio-sdk/models/filing_summary.rb +269 -0
  123. data/lib/intrinio-sdk/models/fundamental.rb +302 -0
  124. data/lib/intrinio-sdk/models/fundamental_summary.rb +292 -0
  125. data/lib/intrinio-sdk/models/historical_data.rb +199 -0
  126. data/lib/intrinio-sdk/models/reported_financial.rb +198 -0
  127. data/lib/intrinio-sdk/models/reported_tag.rb +249 -0
  128. data/lib/intrinio-sdk/models/security.rb +453 -0
  129. data/lib/intrinio-sdk/models/security_screen_clause.rb +242 -0
  130. data/lib/intrinio-sdk/models/security_screen_group.rb +213 -0
  131. data/lib/intrinio-sdk/models/security_screen_result.rb +199 -0
  132. data/lib/intrinio-sdk/models/security_screen_result_data.rb +209 -0
  133. data/lib/intrinio-sdk/models/security_summary.rb +279 -0
  134. data/lib/intrinio-sdk/models/sic_index.rb +229 -0
  135. data/lib/intrinio-sdk/models/standardized_financial.rb +198 -0
  136. data/lib/intrinio-sdk/models/stock_exchange.rb +279 -0
  137. data/lib/intrinio-sdk/models/stock_market_index.rb +279 -0
  138. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +269 -0
  139. data/lib/intrinio-sdk/models/stock_price.rb +352 -0
  140. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +229 -0
  141. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +239 -0
  142. data/lib/intrinio-sdk/models/stock_price_summary.rb +342 -0
  143. data/lib/intrinio-sdk/version.rb +15 -0
  144. data/spec/api/company_api_spec.rb +233 -0
  145. data/spec/api/data_point_api_spec.rb +61 -0
  146. data/spec/api/data_tag_api_spec.rb +88 -0
  147. data/spec/api/filing_api_spec.rb +75 -0
  148. data/spec/api/fundamentals_api_spec.rb +86 -0
  149. data/spec/api/historical_data_api_spec.rb +53 -0
  150. data/spec/api/index_api_spec.rb +275 -0
  151. data/spec/api/security_api_spec.rb +161 -0
  152. data/spec/api/stock_exchange_api_spec.rb +113 -0
  153. data/spec/api_client_spec.rb +226 -0
  154. data/spec/configuration_spec.rb +42 -0
  155. data/spec/models/api_response_companies_spec.rb +48 -0
  156. data/spec/models/api_response_company_filings_spec.rb +54 -0
  157. data/spec/models/api_response_company_fundamentals_spec.rb +54 -0
  158. data/spec/models/api_response_company_historical_data_spec.rb +54 -0
  159. data/spec/models/api_response_company_news_spec.rb +54 -0
  160. data/spec/models/api_response_company_securities_spec.rb +54 -0
  161. data/spec/models/api_response_data_tags_spec.rb +48 -0
  162. data/spec/models/api_response_economic_index_historical_data_spec.rb +54 -0
  163. data/spec/models/api_response_economic_indices_spec.rb +48 -0
  164. data/spec/models/api_response_filings_spec.rb +48 -0
  165. data/spec/models/api_response_historical_data_spec.rb +48 -0
  166. data/spec/models/api_response_news_spec.rb +48 -0
  167. data/spec/models/api_response_reported_financials_spec.rb +54 -0
  168. data/spec/models/api_response_securities_spec.rb +48 -0
  169. data/spec/models/api_response_security_historical_data_spec.rb +54 -0
  170. data/spec/models/api_response_security_stock_price_adjustments_spec.rb +54 -0
  171. data/spec/models/api_response_security_stock_prices_spec.rb +54 -0
  172. data/spec/models/api_response_sic_index_historical_data_spec.rb +54 -0
  173. data/spec/models/api_response_sic_indices_spec.rb +48 -0
  174. data/spec/models/api_response_standardized_financials_spec.rb +54 -0
  175. data/spec/models/api_response_stock_exchange_securities_spec.rb +54 -0
  176. data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +54 -0
  177. data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +54 -0
  178. data/spec/models/api_response_stock_exchanges_spec.rb +48 -0
  179. data/spec/models/api_response_stock_market_index_historical_data_spec.rb +54 -0
  180. data/spec/models/api_response_stock_market_indices_spec.rb +48 -0
  181. data/spec/models/company_filing_spec.rb +96 -0
  182. data/spec/models/company_news_spec.rb +72 -0
  183. data/spec/models/company_news_summary_spec.rb +66 -0
  184. data/spec/models/company_spec.rb +228 -0
  185. data/spec/models/company_summary_spec.rb +66 -0
  186. data/spec/models/data_tag_spec.rb +100 -0
  187. data/spec/models/data_tag_summary_spec.rb +60 -0
  188. data/spec/models/economic_index_spec.rb +108 -0
  189. data/spec/models/economic_index_summary_spec.rb +102 -0
  190. data/spec/models/filing_spec.rb +96 -0
  191. data/spec/models/filing_summary_spec.rb +90 -0
  192. data/spec/models/fundamental_spec.rb +94 -0
  193. data/spec/models/fundamental_summary_spec.rb +88 -0
  194. data/spec/models/historical_data_spec.rb +48 -0
  195. data/spec/models/reported_financial_spec.rb +48 -0
  196. data/spec/models/reported_tag_spec.rb +78 -0
  197. data/spec/models/security_screen_clause_spec.rb +58 -0
  198. data/spec/models/security_screen_group_spec.rb +54 -0
  199. data/spec/models/security_screen_result_data_spec.rb +54 -0
  200. data/spec/models/security_screen_result_spec.rb +48 -0
  201. data/spec/models/security_spec.rb +198 -0
  202. data/spec/models/security_summary_spec.rb +96 -0
  203. data/spec/models/sic_index_spec.rb +66 -0
  204. data/spec/models/standardized_financial_spec.rb +48 -0
  205. data/spec/models/stock_exchange_spec.rb +96 -0
  206. data/spec/models/stock_market_index_spec.rb +96 -0
  207. data/spec/models/stock_market_index_summary_spec.rb +90 -0
  208. data/spec/models/stock_price_adjustment_spec.rb +66 -0
  209. data/spec/models/stock_price_adjustment_summary_spec.rb +72 -0
  210. data/spec/models/stock_price_spec.rb +124 -0
  211. data/spec/models/stock_price_summary_spec.rb +118 -0
  212. data/spec/spec_helper.rb +111 -0
  213. metadata +509 -0
@@ -0,0 +1,10 @@
1
+ # Intrinio::SecurityScreenClause
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **field** | **String** | The field to use when screening, such as an Intrinio Data Tag | [optional]
7
+ **operator** | **String** | The logic operator to use when screening | [optional]
8
+ **value** | **String** | The value to screen by | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # Intrinio::SecurityScreenGroup
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **operator** | **String** | The logic operator for the group (AND, OR, NOT) | [optional]
7
+ **clauses** | [**Array<SecurityScreenClause>**](SecurityScreenClause.md) | The logic clauses in the group | [optional]
8
+ **groups** | [**Array<SecurityScreenGroup>**](SecurityScreenGroup.md) | The nested groups within the group | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # Intrinio::SecurityScreenResult
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **security** | [**SecuritySummary**](SecuritySummary.md) | | [optional]
7
+ **data** | [**Array<SecurityScreenResultData>**](SecurityScreenResultData.md) | | [optional]
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # Intrinio::SecurityScreenResultData
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **tag** | **String** | The data tag that was screened-for | [optional]
7
+ **number_value** | **String** | The numeric value for the tag | [optional]
8
+ **text_value** | **String** | The text value for the tag | [optional]
9
+
10
+
@@ -0,0 +1,17 @@
1
+ # Intrinio::SecuritySummary
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | The Intrinio ID for Security | [optional]
7
+ **company_id** | **String** | The Intrinio ID for the Company for which the Security is issued | [optional]
8
+ **name** | **String** | The name of the Security | [optional]
9
+ **code** | **String** | A 2-3 digit code classifying the Security | [optional]
10
+ **currency** | **String** | The currency in which the Security is traded on the exchange | [optional]
11
+ **ticker** | **String** | The common/local ticker of the Security | [optional]
12
+ **composite_ticker** | **String** | The country-composite ticker of the Security | [optional]
13
+ **figi** | **String** | The OpenFIGI identifier | [optional]
14
+ **composite_figi** | **String** | The country-composite OpenFIGI identifier | [optional]
15
+ **share_class_figi** | **String** | The global-composite OpenFIGI identifier | [optional]
16
+
17
+
@@ -0,0 +1,9 @@
1
+ # Intrinio::StandardizedFinancial
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **data_tag** | [**DataTagSummary**](DataTagSummary.md) | | [optional]
7
+ **value** | **Float** | The value for the Data Tag within the scope of the Fundamental | [optional]
8
+
9
+
@@ -0,0 +1,17 @@
1
+ # Intrinio::StockExchange
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | The Intrinio ID for the Stock Exchange | [optional]
7
+ **name** | **String** | The name of the exchange | [optional]
8
+ **mic** | **String** | The Market Identifier Code (MIC) of the exchange | [optional]
9
+ **acronym** | **String** | The acronym of the exchange's name | [optional]
10
+ **city** | **String** | The city in which the exchange is located | [optional]
11
+ **country** | **String** | The country in which the exchange is located | [optional]
12
+ **country_code** | **String** | The 2-digit code of the exchange's country | [optional]
13
+ **website** | **String** | The website of the exchange | [optional]
14
+ **first_stock_price_date** | **Date** | The earliest date for which Intrinio has stock prices for the exchange | [optional]
15
+ **last_stock_price_date** | **Date** | The latest date for which Intrinio has stock prices for the exchange | [optional]
16
+
17
+
@@ -0,0 +1,267 @@
1
+ # Intrinio::StockExchangeApi
2
+
3
+ All URIs are relative to *https://api-v2.intrinio.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**filter_stock_exchanges**](StockExchangeApi.md#filter_stock_exchanges) | **GET** /stock_exchanges/filter | Filter Stock Exchanges
8
+ [**get_all_stock_exchanges**](StockExchangeApi.md#get_all_stock_exchanges) | **GET** /stock_exchanges | Get All Stock Exchanges
9
+ [**get_stock_exchange_by_id**](StockExchangeApi.md#get_stock_exchange_by_id) | **GET** /stock_exchanges/{identifier} | Get Stock Exchange by ID
10
+ [**get_stock_exchange_price_adjustments**](StockExchangeApi.md#get_stock_exchange_price_adjustments) | **GET** /stock_exchanges/{identifier}/prices/adjustments | Get Stock Price Adjustments by Exchange
11
+ [**get_stock_exchange_prices**](StockExchangeApi.md#get_stock_exchange_prices) | **GET** /stock_exchanges/{identifier}/prices | Get Stock Prices by Exchange
12
+ [**get_stock_exchange_securities**](StockExchangeApi.md#get_stock_exchange_securities) | **GET** /stock_exchanges/{identifier}/securities | Get Securities by Exchange
13
+
14
+
15
+ # **filter_stock_exchanges**
16
+ > ApiResponseStockExchanges filter_stock_exchanges(opts)
17
+
18
+ Filter Stock Exchanges
19
+
20
+ Return Stock Exchanges matching the given filters
21
+
22
+ ### Example
23
+ ```ruby
24
+ # Load the gem
25
+ require 'intrinio-sdk'
26
+
27
+ # Setup authorization
28
+ Intrinio.configure do |config|
29
+ config.api_key['api_key'] = 'YOUR API KEY'
30
+ end
31
+
32
+ stockExchange_api = Intrinio::StockExchangeApi.new
33
+
34
+ opts = {
35
+ city: "city_example", # String | Filter by city
36
+ country: "CHINA", # String | Filter by country
37
+ country_code: "country_code_example" # String | Filter by ISO country code
38
+ }
39
+
40
+ begin
41
+ result = stockExchange_api.filter_stock_exchanges(opts)
42
+ p result
43
+ rescue Intrinio::ApiError => e
44
+ puts "Exception when calling StockExchangeApi->filter_stock_exchanges: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **city** | **String**| Filter by city | [optional]
53
+ **country** | **String**| Filter by country | [optional]
54
+ **country_code** | **String**| Filter by ISO country code | [optional]
55
+
56
+ ### Return type
57
+
58
+ [**ApiResponseStockExchanges**](ApiResponseStockExchanges.md)
59
+
60
+ # **get_all_stock_exchanges**
61
+ > ApiResponseStockExchanges get_all_stock_exchanges
62
+
63
+ Get All Stock Exchanges
64
+
65
+ Return All Stock Exchanges
66
+
67
+ ### Example
68
+ ```ruby
69
+ # Load the gem
70
+ require 'intrinio-sdk'
71
+
72
+ # Setup authorization
73
+ Intrinio.configure do |config|
74
+ config.api_key['api_key'] = 'YOUR API KEY'
75
+ end
76
+
77
+ stockExchange_api = Intrinio::StockExchangeApi.new
78
+
79
+ begin
80
+ result = stockExchange_api.get_all_stock_exchanges
81
+ p result
82
+ rescue Intrinio::ApiError => e
83
+ puts "Exception when calling StockExchangeApi->get_all_stock_exchanges: #{e}"
84
+ end
85
+ ```
86
+
87
+ ### Parameters
88
+ This endpoint does not need any parameter.
89
+
90
+ ### Return type
91
+
92
+ [**ApiResponseStockExchanges**](ApiResponseStockExchanges.md)
93
+
94
+ # **get_stock_exchange_by_id**
95
+ > StockExchange get_stock_exchange_by_id(identifier)
96
+
97
+ Get Stock Exchange by ID
98
+
99
+ ### Example
100
+ ```ruby
101
+ # Load the gem
102
+ require 'intrinio-sdk'
103
+
104
+ # Setup authorization
105
+ Intrinio.configure do |config|
106
+ config.api_key['api_key'] = 'YOUR API KEY'
107
+ end
108
+
109
+ stockExchange_api = Intrinio::StockExchangeApi.new
110
+
111
+ identifier = "XSHG" # String | A Stock Exchange identifier (MIC or Intrinio ID)
112
+
113
+
114
+ begin
115
+ result = stockExchange_api.get_stock_exchange_by_id(identifier)
116
+ p result
117
+ rescue Intrinio::ApiError => e
118
+ puts "Exception when calling StockExchangeApi->get_stock_exchange_by_id: #{e}"
119
+ end
120
+ ```
121
+
122
+ ### Parameters
123
+
124
+ Name | Type | Description | Notes
125
+ ------------- | ------------- | ------------- | -------------
126
+ **identifier** | **String**| A Stock Exchange identifier (MIC or Intrinio ID) |
127
+
128
+ ### Return type
129
+
130
+ [**StockExchange**](StockExchange.md)
131
+
132
+ # **get_stock_exchange_price_adjustments**
133
+ > ApiResponseStockExchangeStockPriceAdjustments get_stock_exchange_price_adjustments(identifier, opts)
134
+
135
+ Get Stock Price Adjustments by Exchange
136
+
137
+ Return stock price adjustments for the Stock Exchange with the given `identifier`
138
+
139
+ ### Example
140
+ ```ruby
141
+ # Load the gem
142
+ require 'intrinio-sdk'
143
+
144
+ # Setup authorization
145
+ Intrinio.configure do |config|
146
+ config.api_key['api_key'] = 'YOUR API KEY'
147
+ end
148
+
149
+ stockExchange_api = Intrinio::StockExchangeApi.new
150
+
151
+ identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
152
+
153
+ opts = {
154
+ date: Date.parse("2018-08-14"), # Date | The date for which to return price adjustments
155
+ next_page: nil # String | Gets the next page of data from a previous API call
156
+ }
157
+
158
+ begin
159
+ result = stockExchange_api.get_stock_exchange_price_adjustments(identifier, opts)
160
+ p result
161
+ rescue Intrinio::ApiError => e
162
+ puts "Exception when calling StockExchangeApi->get_stock_exchange_price_adjustments: #{e}"
163
+ end
164
+ ```
165
+
166
+ ### Parameters
167
+
168
+ Name | Type | Description | Notes
169
+ ------------- | ------------- | ------------- | -------------
170
+ **identifier** | **String**| A Stock Exchange identifier (MIC or Intrinio ID) |
171
+ **date** | **Date**| The date for which to return price adjustments | [optional]
172
+ **next_page** | **String**| Gets the next page of data from a previous API call | [optional]
173
+
174
+ ### Return type
175
+
176
+ [**ApiResponseStockExchangeStockPriceAdjustments**](ApiResponseStockExchangeStockPriceAdjustments.md)
177
+
178
+ # **get_stock_exchange_prices**
179
+ > ApiResponseStockExchangeStockPrices get_stock_exchange_prices(identifier, opts)
180
+
181
+ Get Stock Prices by Exchange
182
+
183
+ Return daily Stock Prices for Securities on the Stock Exchange with `identifier` and on the `price_date` (or the latest date that prices are available)
184
+
185
+ ### Example
186
+ ```ruby
187
+ # Load the gem
188
+ require 'intrinio-sdk'
189
+
190
+ # Setup authorization
191
+ Intrinio.configure do |config|
192
+ config.api_key['api_key'] = 'YOUR API KEY'
193
+ end
194
+
195
+ stockExchange_api = Intrinio::StockExchangeApi.new
196
+
197
+ identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
198
+
199
+ opts = {
200
+ date: Date.parse("2018-08-14"), # Date | The date for which to return prices
201
+ next_page: nil # String | Gets the next page of data from a previous API call
202
+ }
203
+
204
+ begin
205
+ result = stockExchange_api.get_stock_exchange_prices(identifier, opts)
206
+ p result
207
+ rescue Intrinio::ApiError => e
208
+ puts "Exception when calling StockExchangeApi->get_stock_exchange_prices: #{e}"
209
+ end
210
+ ```
211
+
212
+ ### Parameters
213
+
214
+ Name | Type | Description | Notes
215
+ ------------- | ------------- | ------------- | -------------
216
+ **identifier** | **String**| A Stock Exchange identifier (MIC or Intrinio ID) |
217
+ **date** | **Date**| The date for which to return prices | [optional]
218
+ **next_page** | **String**| Gets the next page of data from a previous API call | [optional]
219
+
220
+ ### Return type
221
+
222
+ [**ApiResponseStockExchangeStockPrices**](ApiResponseStockExchangeStockPrices.md)
223
+
224
+ # **get_stock_exchange_securities**
225
+ > ApiResponseStockExchangeSecurities get_stock_exchange_securities(identifier, opts)
226
+
227
+ Get Securities by Exchange
228
+
229
+ Return Securities traded on the Stock Exchange with `identifier`
230
+
231
+ ### Example
232
+ ```ruby
233
+ # Load the gem
234
+ require 'intrinio-sdk'
235
+
236
+ # Setup authorization
237
+ Intrinio.configure do |config|
238
+ config.api_key['api_key'] = 'YOUR API KEY'
239
+ end
240
+
241
+ stockExchange_api = Intrinio::StockExchangeApi.new
242
+
243
+ identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
244
+
245
+ opts = {
246
+ next_page: nil # String | Gets the next page of data from a previous API call
247
+ }
248
+
249
+ begin
250
+ result = stockExchange_api.get_stock_exchange_securities(identifier, opts)
251
+ p result
252
+ rescue Intrinio::ApiError => e
253
+ puts "Exception when calling StockExchangeApi->get_stock_exchange_securities: #{e}"
254
+ end
255
+ ```
256
+
257
+ ### Parameters
258
+
259
+ Name | Type | Description | Notes
260
+ ------------- | ------------- | ------------- | -------------
261
+ **identifier** | **String**| A Stock Exchange identifier (MIC or Intrinio ID) |
262
+ **next_page** | **String**| Gets the next page of data from a previous API call | [optional]
263
+
264
+ ### Return type
265
+
266
+ [**ApiResponseStockExchangeSecurities**](ApiResponseStockExchangeSecurities.md)
267
+
@@ -0,0 +1,17 @@
1
+ # Intrinio::StockMarketIndex
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Intrinio ID for the Index | [optional]
7
+ **symbol** | **String** | The symbol used to identify the Index | [optional]
8
+ **name** | **String** | The name of the Index | [optional]
9
+ **continent** | **String** | The continent of the country of focus for the Index | [optional]
10
+ **country** | **String** | The country of focus for the Index | [optional]
11
+ **update_frequency** | **String** | How often the Index is updated | [optional]
12
+ **last_updated** | **DateTime** | When the Index was updated last | [optional]
13
+ **description** | **String** | A paragraph describing the index and its scope | [optional]
14
+ **observation_start** | **Date** | The earliest date for which data is available | [optional]
15
+ **observation_end** | **Date** | The latest date for which data is available | [optional]
16
+
17
+
@@ -0,0 +1,16 @@
1
+ # Intrinio::StockMarketIndexSummary
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Intrinio ID for the Index | [optional]
7
+ **symbol** | **String** | The symbol used to identify the Index | [optional]
8
+ **name** | **String** | The name of the Index | [optional]
9
+ **continent** | **String** | The continent of the country of focus for the Index | [optional]
10
+ **country** | **String** | The country of focus for the Index | [optional]
11
+ **update_frequency** | **String** | How often the Index is updated | [optional]
12
+ **last_updated** | **DateTime** | When the Index was updated last | [optional]
13
+ **observation_start** | **Date** | The earliest date for which data is available | [optional]
14
+ **observation_end** | **Date** | The latest date for which data is available | [optional]
15
+
16
+
@@ -0,0 +1,21 @@
1
+ # Intrinio::StockPrice
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **date** | **Date** | The calendar date that the stock price represents. For non-daily stock prices, this represents the last day in the period (end of the week, month, quarter, year, etc) | [optional]
7
+ **intraperiod** | **BOOLEAN** | If true, the stock price represents an unfinished period (be it day, week, quarter, month, or year), meaning that the close price is the latest price available, not the official close price for the period | [optional]
8
+ **frequency** | **String** | The type of period that the stock price represents | [optional]
9
+ **open** | **Float** | The price at the beginning of the period | [optional]
10
+ **high** | **Float** | The highest price over the span of the period | [optional]
11
+ **low** | **Float** | The lowest price over the span of the period | [optional]
12
+ **close** | **Float** | The price at the end of the period | [optional]
13
+ **volume** | **Float** | The number of shares exchanged during the period | [optional]
14
+ **adj_open** | **Float** | The price at the beginning of the period, adjusted for splits and dividends | [optional]
15
+ **adj_high** | **Float** | The highest price over the span of the period, adjusted for splits and dividends | [optional]
16
+ **adj_low** | **Float** | The lowest price over the span of the period, adjusted for splits and dividends | [optional]
17
+ **adj_close** | **Float** | The price at the end of the period, adjusted for splits and dividends | [optional]
18
+ **adj_volume** | **Float** | The number of shares exchanged during the period, adjusted for splits and dividends | [optional]
19
+ **security** | [**SecuritySummary**](SecuritySummary.md) | The Security of the stock price | [optional]
20
+
21
+
@@ -0,0 +1,12 @@
1
+ # Intrinio::StockPriceAdjustment
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **date** | **Date** | The date on which the adjustment occurred. The adjustment should be applied to all stock prices before this date. | [optional]
7
+ **factor** | **Float** | The factor by which to multiply stock prices before this date, in order to calculate historically-adjusted stock prices. | [optional]
8
+ **dividend** | **Float** | The dividend amount, if a dividend was paid. | [optional]
9
+ **dividend_currency** | **String** | The currency of the dividend, if known. | [optional]
10
+ **split_ratio** | **Float** | The ratio of the stock split, if a stock split occurred. | [optional]
11
+
12
+
@@ -0,0 +1,13 @@
1
+ # Intrinio::StockPriceAdjustmentSummary
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **date** | **Date** | The date on which the adjustment occurred. The adjustment should be applied to all stock prices before this date. | [optional]
7
+ **factor** | **Float** | The factor by which to multiply stock prices before this date, in order to calculate historically-adjusted stock prices. | [optional]
8
+ **dividend** | **Float** | The dividend amount, if a dividend was paid. | [optional]
9
+ **dividend_currency** | **String** | The currency of the dividend, if known. | [optional]
10
+ **split_ratio** | **Float** | The ratio of the stock split, if a stock split occurred. | [optional]
11
+ **security** | [**SecuritySummary**](SecuritySummary.md) | The Security of the stock price | [optional]
12
+
13
+