intrinio-sdk 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -8
- data/docs/ApiResponseCompaniesSearch.md +8 -0
- data/docs/ApiResponseDataTagsSearch.md +8 -0
- data/docs/ApiResponseEconomicIndicesSearch.md +8 -0
- data/docs/ApiResponseMunicipalities.md +9 -0
- data/docs/ApiResponseMunicipalitiyFinancials.md +9 -0
- data/docs/ApiResponseSICIndicesSearch.md +8 -0
- data/docs/ApiResponseSecuritiesSearch.md +8 -0
- data/docs/ApiResponseSecurityIntradayPrices.md +11 -0
- data/docs/ApiResponseStockMarketIndicesSearch.md +8 -0
- data/docs/CompanyApi.md +44 -115
- data/docs/DataTagApi.md +15 -51
- data/docs/FilingApi.md +19 -97
- data/docs/FundamentalSummary.md +1 -1
- data/docs/HistoricalDataApi.md +2 -0
- data/docs/IndexApi.md +33 -9
- data/docs/IntradayStockPrice.md +15 -0
- data/docs/Municipality.md +26 -0
- data/docs/MunicipalityApi.md +158 -0
- data/docs/MunicipalityFinancial.md +49 -0
- data/docs/RealtimeStockPrice.md +1 -1
- data/docs/SecurityApi.md +71 -4
- data/docs/StockExchangeApi.md +17 -42
- data/intrinio-sdk.gemspec +1 -1
- data/lib/intrinio-sdk.rb +14 -1
- data/lib/intrinio-sdk/api/company_api.rb +97 -154
- data/lib/intrinio-sdk/api/data_point_api.rb +1 -1
- data/lib/intrinio-sdk/api/data_tag_api.rb +27 -63
- data/lib/intrinio-sdk/api/filing_api.rb +42 -121
- data/lib/intrinio-sdk/api/fundamentals_api.rb +1 -1
- data/lib/intrinio-sdk/api/historical_data_api.rb +8 -1
- data/lib/intrinio-sdk/api/index_api.rb +73 -10
- data/lib/intrinio-sdk/api/municipality_api.rb +221 -0
- data/lib/intrinio-sdk/api/security_api.rb +117 -4
- data/lib/intrinio-sdk/api/stock_exchange_api.rb +45 -57
- data/lib/intrinio-sdk/api_client.rb +1 -1
- data/lib/intrinio-sdk/api_error.rb +1 -1
- data/lib/intrinio-sdk/configuration.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_companies.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_companies_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_company_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_data_tags.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_economic_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_filing_notes.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_municipalities.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +199 -0
- data/lib/intrinio-sdk/models/api_response_news.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_reported_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_securities_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +254 -0
- data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +190 -0
- data/lib/intrinio-sdk/models/company.rb +1 -1
- data/lib/intrinio-sdk/models/company_filing.rb +1 -1
- data/lib/intrinio-sdk/models/company_news.rb +1 -1
- data/lib/intrinio-sdk/models/company_news_summary.rb +1 -1
- data/lib/intrinio-sdk/models/company_summary.rb +1 -1
- data/lib/intrinio-sdk/models/data_tag.rb +1 -1
- data/lib/intrinio-sdk/models/data_tag_summary.rb +1 -1
- data/lib/intrinio-sdk/models/dividend_record.rb +1 -1
- data/lib/intrinio-sdk/models/earnings_record.rb +1 -1
- data/lib/intrinio-sdk/models/economic_index.rb +1 -1
- data/lib/intrinio-sdk/models/economic_index_summary.rb +1 -1
- data/lib/intrinio-sdk/models/filing.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note_filing.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note_summary.rb +1 -1
- data/lib/intrinio-sdk/models/filing_summary.rb +1 -1
- data/lib/intrinio-sdk/models/fundamental.rb +1 -1
- data/lib/intrinio-sdk/models/fundamental_summary.rb +2 -2
- data/lib/intrinio-sdk/models/historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/intraday_stock_price.rb +259 -0
- data/lib/intrinio-sdk/models/municipality.rb +369 -0
- data/lib/intrinio-sdk/models/municipality_financial.rb +599 -0
- data/lib/intrinio-sdk/models/realtime_stock_price.rb +2 -2
- data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +1 -1
- data/lib/intrinio-sdk/models/reported_financial.rb +1 -1
- data/lib/intrinio-sdk/models/reported_tag.rb +1 -1
- data/lib/intrinio-sdk/models/security.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_clause.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_group.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_result.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_result_data.rb +1 -1
- data/lib/intrinio-sdk/models/security_summary.rb +1 -1
- data/lib/intrinio-sdk/models/sic_index.rb +1 -1
- data/lib/intrinio-sdk/models/standardized_financial.rb +1 -1
- data/lib/intrinio-sdk/models/stock_exchange.rb +1 -1
- data/lib/intrinio-sdk/models/stock_market_index.rb +1 -1
- data/lib/intrinio-sdk/models/stock_market_index_summary.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_adjustment.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_summary.rb +1 -1
- data/lib/intrinio-sdk/version.rb +2 -2
- data/spec/api/company_api_spec.rb +37 -54
- data/spec/api/data_point_api_spec.rb +3 -3
- data/spec/api/data_tag_api_spec.rb +9 -19
- data/spec/api/filing_api_spec.rb +73 -12
- data/spec/api/fundamentals_api_spec.rb +6 -6
- data/spec/api/historical_data_api_spec.rb +3 -2
- data/spec/api/index_api_spec.rb +28 -19
- data/spec/api/municipality_api_spec.rb +84 -0
- data/spec/api/security_api_spec.rb +74 -13
- data/spec/api/stock_exchange_api_spec.rb +31 -23
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/api_response_companies_search_spec.rb +42 -0
- data/spec/models/api_response_companies_spec.rb +1 -1
- data/spec/models/api_response_company_filings_spec.rb +1 -1
- data/spec/models/api_response_company_fundamentals_spec.rb +1 -1
- data/spec/models/api_response_company_historical_data_spec.rb +1 -1
- data/spec/models/api_response_company_news_spec.rb +1 -1
- data/spec/models/api_response_company_securities_spec.rb +1 -1
- data/spec/models/api_response_data_tags_search_spec.rb +42 -0
- data/spec/models/api_response_data_tags_spec.rb +1 -1
- data/spec/models/api_response_economic_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_economic_indices_search_spec.rb +42 -0
- data/spec/models/api_response_economic_indices_spec.rb +1 -1
- data/spec/models/api_response_filings_spec.rb +1 -1
- data/spec/models/api_response_historical_data_spec.rb +1 -1
- data/spec/models/api_response_municipalities_spec.rb +48 -0
- data/spec/models/api_response_municipalitiy_financials_spec.rb +48 -0
- data/spec/models/api_response_news_spec.rb +1 -1
- data/spec/models/api_response_reported_financials_spec.rb +1 -1
- data/spec/models/api_response_securities_search_spec.rb +42 -0
- data/spec/models/api_response_securities_spec.rb +1 -1
- data/spec/models/api_response_security_historical_data_spec.rb +1 -1
- data/spec/models/api_response_security_intraday_prices_spec.rb +64 -0
- data/spec/models/api_response_security_stock_price_adjustments_spec.rb +1 -1
- data/spec/models/api_response_security_stock_prices_spec.rb +1 -1
- data/spec/models/api_response_sic_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_sic_indices_search_spec.rb +42 -0
- data/spec/models/api_response_sic_indices_spec.rb +1 -1
- data/spec/models/api_response_standardized_financials_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_securities_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +1 -1
- data/spec/models/api_response_stock_exchanges_spec.rb +1 -1
- data/spec/models/api_response_stock_market_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_stock_market_indices_search_spec.rb +42 -0
- data/spec/models/api_response_stock_market_indices_spec.rb +1 -1
- data/spec/models/company_filing_spec.rb +1 -1
- data/spec/models/company_news_spec.rb +1 -1
- data/spec/models/company_news_summary_spec.rb +1 -1
- data/spec/models/company_spec.rb +1 -1
- data/spec/models/company_summary_spec.rb +1 -1
- data/spec/models/data_tag_spec.rb +1 -1
- data/spec/models/data_tag_summary_spec.rb +1 -1
- data/spec/models/economic_index_spec.rb +1 -1
- data/spec/models/economic_index_summary_spec.rb +1 -1
- data/spec/models/filing_spec.rb +1 -1
- data/spec/models/filing_summary_spec.rb +1 -1
- data/spec/models/fundamental_spec.rb +1 -1
- data/spec/models/fundamental_summary_spec.rb +1 -1
- data/spec/models/historical_data_spec.rb +1 -1
- data/spec/models/intraday_stock_price_spec.rb +84 -0
- data/spec/models/municipality_financial_spec.rb +288 -0
- data/spec/models/municipality_spec.rb +150 -0
- data/spec/models/reported_financial_spec.rb +1 -1
- data/spec/models/reported_tag_spec.rb +1 -1
- data/spec/models/security_screen_clause_spec.rb +1 -1
- data/spec/models/security_screen_group_spec.rb +1 -1
- data/spec/models/security_screen_result_data_spec.rb +1 -1
- data/spec/models/security_screen_result_spec.rb +1 -1
- data/spec/models/security_spec.rb +1 -1
- data/spec/models/security_summary_spec.rb +1 -1
- data/spec/models/sic_index_spec.rb +1 -1
- data/spec/models/standardized_financial_spec.rb +1 -1
- data/spec/models/stock_exchange_spec.rb +1 -1
- data/spec/models/stock_market_index_spec.rb +1 -1
- data/spec/models/stock_market_index_summary_spec.rb +1 -1
- data/spec/models/stock_price_adjustment_spec.rb +7 -1
- data/spec/models/stock_price_adjustment_summary_spec.rb +1 -7
- data/spec/models/stock_price_spec.rb +1 -1
- data/spec/models/stock_price_summary_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +54 -3
- data/intrinio-sdk-1.1.0.gem +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -33,9 +33,10 @@ describe 'SecurityApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for get_all_securities
|
36
|
-
#
|
36
|
+
# All Securities
|
37
37
|
#
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Float] :page_size The number of results to return
|
39
40
|
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
40
41
|
# @return [ApiResponseSecurities]
|
41
42
|
describe 'get_all_securities test' do
|
@@ -45,8 +46,8 @@ describe 'SecurityApi' do
|
|
45
46
|
end
|
46
47
|
|
47
48
|
# unit tests for get_security_by_id
|
48
|
-
#
|
49
|
-
#
|
49
|
+
# Lookup Security
|
50
|
+
# Returns the Security with the given `identifier`
|
50
51
|
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
51
52
|
# @param [Hash] opts the optional parameters
|
52
53
|
# @return [Security]
|
@@ -57,7 +58,7 @@ describe 'SecurityApi' do
|
|
57
58
|
end
|
58
59
|
|
59
60
|
# unit tests for get_security_data_point_number
|
60
|
-
#
|
61
|
+
# Data Point (Number) for Security
|
61
62
|
# Returns a numeric value for the given `tag` for the Security with the given `identifier`
|
62
63
|
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
63
64
|
# @param tag An Intrinio data tag ID or code-name
|
@@ -70,7 +71,7 @@ describe 'SecurityApi' do
|
|
70
71
|
end
|
71
72
|
|
72
73
|
# unit tests for get_security_data_point_text
|
73
|
-
#
|
74
|
+
# Data Point (Text) for Security
|
74
75
|
# Returns a text value for the given `tag` for the Security with the given `identifier`
|
75
76
|
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
76
77
|
# @param tag An Intrinio data tag ID or code-name
|
@@ -83,15 +84,17 @@ describe 'SecurityApi' do
|
|
83
84
|
end
|
84
85
|
|
85
86
|
# unit tests for get_security_historical_data
|
86
|
-
#
|
87
|
+
# Historical Data for Security
|
87
88
|
# Returns historical values for the given `tag` and the Security with the given `identifier`
|
88
89
|
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
89
90
|
# @param tag An Intrinio data tag ID or code-name
|
90
91
|
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [String] :frequency Return historical data in the given frequency
|
91
93
|
# @option opts [String] :type Filter by type, when applicable
|
92
94
|
# @option opts [Date] :start_date Get historical data on or after this date
|
93
95
|
# @option opts [Date] :end_date Get historical date on or before this date
|
94
96
|
# @option opts [String] :sort_order Sort by date `asc` or `desc`
|
97
|
+
# @option opts [Float] :page_size The number of results to return
|
95
98
|
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
96
99
|
# @return [ApiResponseSecurityHistoricalData]
|
97
100
|
describe 'get_security_historical_data test' do
|
@@ -100,13 +103,68 @@ describe 'SecurityApi' do
|
|
100
103
|
end
|
101
104
|
end
|
102
105
|
|
106
|
+
# unit tests for get_security_intraday_prices
|
107
|
+
# Intraday Stock Prices for Security
|
108
|
+
# Return intraday stock prices for the Security with the given `identifier`
|
109
|
+
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
110
|
+
# @param [Hash] opts the optional parameters
|
111
|
+
# @option opts [String] :source Return intraday prices from the specified data source
|
112
|
+
# @option opts [Date] :start_date Return intraday prices starting at the specified date
|
113
|
+
# @option opts [String] :start_time Return intraday prices starting at the specified time on the `start_date` (timezone is UTC)
|
114
|
+
# @option opts [Date] :end_date Return intraday prices stopping at the specified date
|
115
|
+
# @option opts [String] :end_time Return intraday prices stopping at the specified time on the `end_date` (timezone is UTC)
|
116
|
+
# @return [ApiResponseSecurityIntradayPrices]
|
117
|
+
describe 'get_security_intraday_prices test' do
|
118
|
+
it "should work" do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# unit tests for get_security_latest_dividend_record
|
124
|
+
# Lastest Dividend Record for Security
|
125
|
+
# Returns the latest available dividend information for the Security with the given `identifier`
|
126
|
+
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
127
|
+
# @param [Hash] opts the optional parameters
|
128
|
+
# @return [DividendRecord]
|
129
|
+
describe 'get_security_latest_dividend_record test' do
|
130
|
+
it "should work" do
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# unit tests for get_security_latest_earnings_record
|
136
|
+
# Lastest Earnings Record for Security
|
137
|
+
# Returns latest available earnings information for the Security with the given `identifier`
|
138
|
+
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
139
|
+
# @param [Hash] opts the optional parameters
|
140
|
+
# @return [EarningsRecord]
|
141
|
+
describe 'get_security_latest_earnings_record test' do
|
142
|
+
it "should work" do
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# unit tests for get_security_realtime_price
|
148
|
+
# Realtime Stock Price for Security
|
149
|
+
# Return the realtime stock price for the Security with the given `identifier`
|
150
|
+
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
151
|
+
# @param [Hash] opts the optional parameters
|
152
|
+
# @option opts [String] :source Return the realtime price from the specified data source
|
153
|
+
# @return [RealtimeStockPrice]
|
154
|
+
describe 'get_security_realtime_price test' do
|
155
|
+
it "should work" do
|
156
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
103
160
|
# unit tests for get_security_stock_price_adjustments
|
104
|
-
#
|
105
|
-
#
|
161
|
+
# Stock Price Adjustments by Security
|
162
|
+
# Returns stock price adjustments for the Security with the given `identifier`
|
106
163
|
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
107
164
|
# @param [Hash] opts the optional parameters
|
108
165
|
# @option opts [Date] :start_date Return price adjustments on or after the date
|
109
166
|
# @option opts [Date] :end_date Return price adjustments on or before the date
|
167
|
+
# @option opts [Float] :page_size The number of results to return
|
110
168
|
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
111
169
|
# @return [ApiResponseSecurityStockPriceAdjustments]
|
112
170
|
describe 'get_security_stock_price_adjustments test' do
|
@@ -116,13 +174,14 @@ describe 'SecurityApi' do
|
|
116
174
|
end
|
117
175
|
|
118
176
|
# unit tests for get_security_stock_prices
|
119
|
-
#
|
120
|
-
# Return stock prices for the Security with the given `identifier`
|
177
|
+
# Stock Prices by Security
|
178
|
+
# Return end-of-day stock prices for the Security with the given `identifier`
|
121
179
|
# @param identifier A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
122
180
|
# @param [Hash] opts the optional parameters
|
123
181
|
# @option opts [Date] :start_date Return prices on or after the date
|
124
182
|
# @option opts [Date] :end_date Return prices on or before the date
|
125
183
|
# @option opts [String] :frequency Return stock prices in the given frequency
|
184
|
+
# @option opts [Float] :page_size The number of results to return
|
126
185
|
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
127
186
|
# @return [ApiResponseSecurityStockPrices]
|
128
187
|
describe 'get_security_stock_prices test' do
|
@@ -133,12 +192,13 @@ describe 'SecurityApi' do
|
|
133
192
|
|
134
193
|
# unit tests for screen_securities
|
135
194
|
# Screen Securities
|
136
|
-
# Screen
|
195
|
+
# Screen Securities using complex logic
|
137
196
|
# @param [Hash] opts the optional parameters
|
138
197
|
# @option opts [SecurityScreenGroup] :logic The logic to screen with, consisting of operators, clauses, and nested groups.<br/> See <a href=\"/documentation/screener_v2\" target=\"_blank\">screener documentation</a> for details on how to construct conditions.
|
139
198
|
# @option opts [String] :order_column Results returned sorted by this column
|
140
199
|
# @option opts [String] :order_direction Sort order to use with the order_column
|
141
200
|
# @option opts [BOOLEAN] :primary_only Return only primary securities
|
201
|
+
# @option opts [Float] :page_size The number of results to return
|
142
202
|
# @return [Array<SecurityScreenResult>]
|
143
203
|
describe 'screen_securities test' do
|
144
204
|
it "should work" do
|
@@ -151,7 +211,8 @@ describe 'SecurityApi' do
|
|
151
211
|
# Searches for Securities matching the text `query`
|
152
212
|
# @param query
|
153
213
|
# @param [Hash] opts the optional parameters
|
154
|
-
# @
|
214
|
+
# @option opts [Float] :page_size The number of results to return
|
215
|
+
# @return [ApiResponseSecuritiesSearch]
|
155
216
|
describe 'search_securities test' do
|
156
217
|
it "should work" do
|
157
218
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -32,24 +32,14 @@ describe 'StockExchangeApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
36
|
-
#
|
37
|
-
#
|
35
|
+
# unit tests for get_all_stock_exchanges
|
36
|
+
# All Stock Exchanges
|
37
|
+
# Returns all Stock Exchanges. Returns Stock Exchanges matching parameters when specified.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :city Filter by city
|
40
40
|
# @option opts [String] :country Filter by country
|
41
41
|
# @option opts [String] :country_code Filter by ISO country code
|
42
|
-
# @
|
43
|
-
describe 'filter_stock_exchanges 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_all_stock_exchanges
|
50
|
-
# Get All Stock Exchanges
|
51
|
-
# Return All Stock Exchanges
|
52
|
-
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [Float] :page_size The number of results to return
|
53
43
|
# @return [ApiResponseStockExchanges]
|
54
44
|
describe 'get_all_stock_exchanges test' do
|
55
45
|
it "should work" do
|
@@ -58,8 +48,8 @@ describe 'StockExchangeApi' do
|
|
58
48
|
end
|
59
49
|
|
60
50
|
# unit tests for get_stock_exchange_by_id
|
61
|
-
#
|
62
|
-
#
|
51
|
+
# Lookup Stock Exchange
|
52
|
+
# Returns the Stock Exchange with the given `identifier`
|
63
53
|
# @param identifier A Stock Exchange identifier (MIC or Intrinio ID)
|
64
54
|
# @param [Hash] opts the optional parameters
|
65
55
|
# @return [StockExchange]
|
@@ -70,11 +60,12 @@ describe 'StockExchangeApi' do
|
|
70
60
|
end
|
71
61
|
|
72
62
|
# unit tests for get_stock_exchange_price_adjustments
|
73
|
-
#
|
74
|
-
#
|
63
|
+
# Stock Price Adjustments by Exchange
|
64
|
+
# Returns stock price adjustments for the Stock Exchange with the given `identifier`
|
75
65
|
# @param identifier A Stock Exchange identifier (MIC or Intrinio ID)
|
76
66
|
# @param [Hash] opts the optional parameters
|
77
67
|
# @option opts [Date] :date The date for which to return price adjustments
|
68
|
+
# @option opts [Float] :page_size The number of results to return
|
78
69
|
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
79
70
|
# @return [ApiResponseStockExchangeStockPriceAdjustments]
|
80
71
|
describe 'get_stock_exchange_price_adjustments test' do
|
@@ -84,11 +75,12 @@ describe 'StockExchangeApi' do
|
|
84
75
|
end
|
85
76
|
|
86
77
|
# unit tests for get_stock_exchange_prices
|
87
|
-
#
|
88
|
-
#
|
78
|
+
# Stock Prices by Exchange
|
79
|
+
# Returns end-of-day stock prices for Securities on the Stock Exchange with `identifier` and on the `price_date` (or the latest date that prices are available)
|
89
80
|
# @param identifier A Stock Exchange identifier (MIC or Intrinio ID)
|
90
81
|
# @param [Hash] opts the optional parameters
|
91
82
|
# @option opts [Date] :date The date for which to return prices
|
83
|
+
# @option opts [Float] :page_size The number of results to return
|
92
84
|
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
93
85
|
# @return [ApiResponseStockExchangeStockPrices]
|
94
86
|
describe 'get_stock_exchange_prices test' do
|
@@ -97,11 +89,27 @@ describe 'StockExchangeApi' do
|
|
97
89
|
end
|
98
90
|
end
|
99
91
|
|
92
|
+
# unit tests for get_stock_exchange_realtime_prices
|
93
|
+
# Realtime Stock Prices by Exchange
|
94
|
+
# Returns realtime stock prices for the Stock Exchange with the given `identifier`
|
95
|
+
# @param identifier A Stock Exchange identifier (MIC or Intrinio ID)
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [String] :source Return realtime prices from the specified data source
|
98
|
+
# @option opts [Float] :page_size The number of results to return
|
99
|
+
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
100
|
+
# @return [ApiResponseStockExchangeRealtimeStockPrices]
|
101
|
+
describe 'get_stock_exchange_realtime_prices test' do
|
102
|
+
it "should work" do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
100
107
|
# unit tests for get_stock_exchange_securities
|
101
|
-
#
|
102
|
-
#
|
108
|
+
# Securities by Exchange
|
109
|
+
# Returns Securities traded on the Stock Exchange with `identifier`
|
103
110
|
# @param identifier A Stock Exchange identifier (MIC or Intrinio ID)
|
104
111
|
# @param [Hash] opts the optional parameters
|
112
|
+
# @option opts [Float] :page_size The number of results to return
|
105
113
|
# @option opts [String] :next_page Gets the next page of data from a previous API call
|
106
114
|
# @return [ApiResponseStockExchangeSecurities]
|
107
115
|
describe 'get_stock_exchange_securities test' do
|
data/spec/api_client_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
data/spec/configuration_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -0,0 +1,42 @@
|
|
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.1.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Intrinio::ApiResponseCompaniesSearch
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseCompaniesSearch' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Intrinio::ApiResponseCompaniesSearch.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseCompaniesSearch' do
|
31
|
+
it 'should create an instance of ApiResponseCompaniesSearch' do
|
32
|
+
expect(@instance).to be_instance_of(Intrinio::ApiResponseCompaniesSearch)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "companies"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.
|
6
|
+
OpenAPI spec version: 2.1.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.3.0-SNAPSHOT
|
@@ -0,0 +1,42 @@
|
|
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.1.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Intrinio::ApiResponseDataTagsSearch
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseDataTagsSearch' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Intrinio::ApiResponseDataTagsSearch.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseDataTagsSearch' do
|
31
|
+
it 'should create an instance of ApiResponseDataTagsSearch' do
|
32
|
+
expect(@instance).to be_instance_of(Intrinio::ApiResponseDataTagsSearch)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "tags"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|