intrinio-sdk 1.0.0 → 1.1.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 +78 -52
- data/docs/ApiResponseFilingNotes.md +9 -0
- data/docs/ApiResponseFilingNotesSearch.md +8 -0
- data/docs/ApiResponseStockExchangeRealtimeStockPrices.md +9 -0
- data/docs/CompanyApi.md +34 -28
- data/docs/DataPointApi.md +4 -4
- data/docs/DataTagApi.md +5 -5
- data/docs/DividendRecord.md +17 -0
- data/docs/EarningsRecord.md +30 -0
- data/docs/FilingApi.md +273 -7
- data/docs/FilingNote.md +11 -0
- data/docs/FilingNoteFiling.md +11 -0
- data/docs/FilingNoteSummary.md +10 -0
- data/docs/FundamentalsApi.md +9 -9
- data/docs/HistoricalDataApi.md +2 -2
- data/docs/IndexApi.md +30 -30
- data/docs/RealtimeStockPrice.md +21 -0
- data/docs/RealtimeStockPriceSecurity.md +12 -0
- data/docs/SecurityApi.md +148 -17
- data/docs/StockExchangeApi.md +64 -15
- data/intrinio-sdk.gemspec +1 -1
- data/lib/intrinio-sdk.rb +11 -1
- data/lib/intrinio-sdk/api/company_api.rb +41 -35
- data/lib/intrinio-sdk/api/data_point_api.rb +5 -5
- data/lib/intrinio-sdk/api/data_tag_api.rb +7 -7
- data/lib/intrinio-sdk/api/filing_api.rb +364 -11
- data/lib/intrinio-sdk/api/fundamentals_api.rb +11 -11
- data/lib/intrinio-sdk/api/historical_data_api.rb +3 -3
- data/lib/intrinio-sdk/api/index_api.rb +31 -31
- data/lib/intrinio-sdk/api/security_api.rb +194 -23
- data/lib/intrinio-sdk/api/stock_exchange_api.rb +85 -23
- 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_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_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_filing_notes.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +190 -0
- 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_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_security_historical_data.rb +1 -1
- 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_standardized_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +201 -0
- 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/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 +311 -0
- data/lib/intrinio-sdk/models/earnings_record.rb +465 -0
- 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 +218 -0
- data/lib/intrinio-sdk/models/filing_note_filing.rb +219 -0
- data/lib/intrinio-sdk/models/filing_note_summary.rb +208 -0
- 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 +1 -1
- data/lib/intrinio-sdk/models/historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/realtime_stock_price.rb +318 -0
- data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +229 -0
- 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/models/api_response_filing_notes_search_spec.rb +42 -0
- data/spec/models/api_response_filing_notes_spec.rb +48 -0
- data/spec/models/api_response_stock_exchange_realtime_stock_prices_spec.rb +48 -0
- data/spec/models/dividend_record_spec.rb +100 -0
- data/spec/models/earnings_record_spec.rb +186 -0
- data/spec/models/filing_note_filing_spec.rb +60 -0
- data/spec/models/filing_note_spec.rb +60 -0
- data/spec/models/filing_note_summary_spec.rb +54 -0
- data/spec/models/realtime_stock_price_security_spec.rb +66 -0
- data/spec/models/realtime_stock_price_spec.rb +120 -0
- metadata +43 -3
data/docs/HistoricalDataApi.md
CHANGED
@@ -4,13 +4,13 @@ All URIs are relative to *https://api-v2.intrinio.com*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_historical_data**](HistoricalDataApi.md#get_historical_data) | **GET** /historical_data/{identifier}/{tag} |
|
7
|
+
[**get_historical_data**](HistoricalDataApi.md#get_historical_data) | **GET** /historical_data/{identifier}/{tag} | Historical Data
|
8
8
|
|
9
9
|
|
10
10
|
# **get_historical_data**
|
11
11
|
> ApiResponseHistoricalData get_historical_data(identifier, tag, opts)
|
12
12
|
|
13
|
-
|
13
|
+
Historical Data
|
14
14
|
|
15
15
|
Returns historical values for the given `tag` and the entity represented by the given `identifier`
|
16
16
|
|
data/docs/IndexApi.md
CHANGED
@@ -4,21 +4,21 @@ All URIs are relative to *https://api-v2.intrinio.com*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_all_economic_indices**](IndexApi.md#get_all_economic_indices) | **GET** /indices/economic |
|
8
|
-
[**get_all_sic_indices**](IndexApi.md#get_all_sic_indices) | **GET** /indices/sic |
|
9
|
-
[**get_all_stock_market_indices**](IndexApi.md#get_all_stock_market_indices) | **GET** /indices/stock_market |
|
10
|
-
[**get_economic_index_by_id**](IndexApi.md#get_economic_index_by_id) | **GET** /indices/economic/{identifier} |
|
11
|
-
[**get_economic_index_data_point_number**](IndexApi.md#get_economic_index_data_point_number) | **GET** /indices/economic/{identifier}/data_point/{tag}/number |
|
12
|
-
[**get_economic_index_data_point_text**](IndexApi.md#get_economic_index_data_point_text) | **GET** /indices/economic/{identifier}/data_point/{tag}/text |
|
13
|
-
[**get_economic_index_historical_data**](IndexApi.md#get_economic_index_historical_data) | **GET** /indices/economic/{identifier}/historical_data/{tag} |
|
14
|
-
[**get_sic_index_by_id**](IndexApi.md#get_sic_index_by_id) | **GET** /indices/sic/{identifier} |
|
15
|
-
[**get_sic_index_data_point_number**](IndexApi.md#get_sic_index_data_point_number) | **GET** /indices/sic/{identifier}/data_point/{tag}/number |
|
16
|
-
[**get_sic_index_data_point_text**](IndexApi.md#get_sic_index_data_point_text) | **GET** /indices/sic/{identifier}/data_point/{tag}/text |
|
17
|
-
[**get_sic_index_historical_data**](IndexApi.md#get_sic_index_historical_data) | **GET** /indices/sic/{identifier}/historical_data/{tag} |
|
18
|
-
[**get_stock_market_index_by_id**](IndexApi.md#get_stock_market_index_by_id) | **GET** /indices/stock_market/{identifier} |
|
19
|
-
[**get_stock_market_index_data_point_number**](IndexApi.md#get_stock_market_index_data_point_number) | **GET** /indices/stock_market/{identifier}/data_point/{tag}/number |
|
20
|
-
[**get_stock_market_index_data_point_text**](IndexApi.md#get_stock_market_index_data_point_text) | **GET** /indices/stock_market/{identifier}/data_point/{tag}/text |
|
21
|
-
[**get_stock_market_index_historical_data**](IndexApi.md#get_stock_market_index_historical_data) | **GET** /indices/stock_market/{identifier}/historical_data/{tag} |
|
7
|
+
[**get_all_economic_indices**](IndexApi.md#get_all_economic_indices) | **GET** /indices/economic | All Economic Indices
|
8
|
+
[**get_all_sic_indices**](IndexApi.md#get_all_sic_indices) | **GET** /indices/sic | All SIC Indices
|
9
|
+
[**get_all_stock_market_indices**](IndexApi.md#get_all_stock_market_indices) | **GET** /indices/stock_market | All Stock Market Indices
|
10
|
+
[**get_economic_index_by_id**](IndexApi.md#get_economic_index_by_id) | **GET** /indices/economic/{identifier} | Lookup Economic Index
|
11
|
+
[**get_economic_index_data_point_number**](IndexApi.md#get_economic_index_data_point_number) | **GET** /indices/economic/{identifier}/data_point/{tag}/number | Data Point (Number) for an Economic Index
|
12
|
+
[**get_economic_index_data_point_text**](IndexApi.md#get_economic_index_data_point_text) | **GET** /indices/economic/{identifier}/data_point/{tag}/text | Data Point (Text) for an Economic Index
|
13
|
+
[**get_economic_index_historical_data**](IndexApi.md#get_economic_index_historical_data) | **GET** /indices/economic/{identifier}/historical_data/{tag} | Historical Data for an Economic Index
|
14
|
+
[**get_sic_index_by_id**](IndexApi.md#get_sic_index_by_id) | **GET** /indices/sic/{identifier} | Lookup SIC Index
|
15
|
+
[**get_sic_index_data_point_number**](IndexApi.md#get_sic_index_data_point_number) | **GET** /indices/sic/{identifier}/data_point/{tag}/number | Data Point (Number) for an SIC Index
|
16
|
+
[**get_sic_index_data_point_text**](IndexApi.md#get_sic_index_data_point_text) | **GET** /indices/sic/{identifier}/data_point/{tag}/text | Data Point (Text) for an SIC Index
|
17
|
+
[**get_sic_index_historical_data**](IndexApi.md#get_sic_index_historical_data) | **GET** /indices/sic/{identifier}/historical_data/{tag} | Historical Data for an SIC Index
|
18
|
+
[**get_stock_market_index_by_id**](IndexApi.md#get_stock_market_index_by_id) | **GET** /indices/stock_market/{identifier} | Lookup Stock Market Index
|
19
|
+
[**get_stock_market_index_data_point_number**](IndexApi.md#get_stock_market_index_data_point_number) | **GET** /indices/stock_market/{identifier}/data_point/{tag}/number | Data Point (Number) for Stock Market Index
|
20
|
+
[**get_stock_market_index_data_point_text**](IndexApi.md#get_stock_market_index_data_point_text) | **GET** /indices/stock_market/{identifier}/data_point/{tag}/text | Data Point (Text) for Stock Market Index
|
21
|
+
[**get_stock_market_index_historical_data**](IndexApi.md#get_stock_market_index_historical_data) | **GET** /indices/stock_market/{identifier}/historical_data/{tag} | Historical Data for Stock Market Index
|
22
22
|
[**search_economic_indices**](IndexApi.md#search_economic_indices) | **GET** /indices/economic/search | Search Economic Indices
|
23
23
|
[**search_sic_indices**](IndexApi.md#search_sic_indices) | **GET** /indices/sic/search | Search SIC Indices
|
24
24
|
[**search_stock_markets_indices**](IndexApi.md#search_stock_markets_indices) | **GET** /indices/stock_market/search | Search Stock Market Indices
|
@@ -27,7 +27,7 @@ Method | HTTP request | Description
|
|
27
27
|
# **get_all_economic_indices**
|
28
28
|
> ApiResponseEconomicIndices get_all_economic_indices(opts)
|
29
29
|
|
30
|
-
|
30
|
+
All Economic Indices
|
31
31
|
|
32
32
|
### Example
|
33
33
|
```ruby
|
@@ -66,7 +66,7 @@ Name | Type | Description | Notes
|
|
66
66
|
# **get_all_sic_indices**
|
67
67
|
> ApiResponseSICIndices get_all_sic_indices(opts)
|
68
68
|
|
69
|
-
|
69
|
+
All SIC Indices
|
70
70
|
|
71
71
|
### Example
|
72
72
|
```ruby
|
@@ -105,7 +105,7 @@ Name | Type | Description | Notes
|
|
105
105
|
# **get_all_stock_market_indices**
|
106
106
|
> ApiResponseStockMarketIndices get_all_stock_market_indices(opts)
|
107
107
|
|
108
|
-
|
108
|
+
All Stock Market Indices
|
109
109
|
|
110
110
|
### Example
|
111
111
|
```ruby
|
@@ -144,7 +144,7 @@ Name | Type | Description | Notes
|
|
144
144
|
# **get_economic_index_by_id**
|
145
145
|
> EconomicIndex get_economic_index_by_id(identifier)
|
146
146
|
|
147
|
-
|
147
|
+
Lookup Economic Index
|
148
148
|
|
149
149
|
### Example
|
150
150
|
```ruby
|
@@ -182,7 +182,7 @@ Name | Type | Description | Notes
|
|
182
182
|
# **get_economic_index_data_point_number**
|
183
183
|
> Float get_economic_index_data_point_number(identifier, tag)
|
184
184
|
|
185
|
-
|
185
|
+
Data Point (Number) for an Economic Index
|
186
186
|
|
187
187
|
Returns a numeric value for the given `tag` for the Economic Index with the given `identifier`
|
188
188
|
|
@@ -225,7 +225,7 @@ Name | Type | Description | Notes
|
|
225
225
|
# **get_economic_index_data_point_text**
|
226
226
|
> String get_economic_index_data_point_text(identifier, tag)
|
227
227
|
|
228
|
-
|
228
|
+
Data Point (Text) for an Economic Index
|
229
229
|
|
230
230
|
Returns a text value for the given `tag` for the Economic Index with the given `identifier`
|
231
231
|
|
@@ -268,7 +268,7 @@ Name | Type | Description | Notes
|
|
268
268
|
# **get_economic_index_historical_data**
|
269
269
|
> ApiResponseEconomicIndexHistoricalData get_economic_index_historical_data(identifier, tag, opts)
|
270
270
|
|
271
|
-
|
271
|
+
Historical Data for an Economic Index
|
272
272
|
|
273
273
|
Returns historical values for the given `tag` and the Economic Index with the given `identifier`
|
274
274
|
|
@@ -323,7 +323,7 @@ Name | Type | Description | Notes
|
|
323
323
|
# **get_sic_index_by_id**
|
324
324
|
> SICIndex get_sic_index_by_id(identifier)
|
325
325
|
|
326
|
-
|
326
|
+
Lookup SIC Index
|
327
327
|
|
328
328
|
### Example
|
329
329
|
```ruby
|
@@ -361,7 +361,7 @@ Name | Type | Description | Notes
|
|
361
361
|
# **get_sic_index_data_point_number**
|
362
362
|
> Float get_sic_index_data_point_number(identifier, tag)
|
363
363
|
|
364
|
-
|
364
|
+
Data Point (Number) for an SIC Index
|
365
365
|
|
366
366
|
Returns a numeric value for the given `tag` for the SIC Index with the given `identifier`
|
367
367
|
|
@@ -404,7 +404,7 @@ Name | Type | Description | Notes
|
|
404
404
|
# **get_sic_index_data_point_text**
|
405
405
|
> String get_sic_index_data_point_text(identifier, tag)
|
406
406
|
|
407
|
-
|
407
|
+
Data Point (Text) for an SIC Index
|
408
408
|
|
409
409
|
Returns a text value for the given `tag` for the SIC Index with the given `identifier`
|
410
410
|
|
@@ -447,7 +447,7 @@ Name | Type | Description | Notes
|
|
447
447
|
# **get_sic_index_historical_data**
|
448
448
|
> ApiResponseSICIndexHistoricalData get_sic_index_historical_data(identifier, tag, opts)
|
449
449
|
|
450
|
-
|
450
|
+
Historical Data for an SIC Index
|
451
451
|
|
452
452
|
Returns historical values for the given `tag` and the SIC Index with the given `identifier`
|
453
453
|
|
@@ -502,7 +502,7 @@ Name | Type | Description | Notes
|
|
502
502
|
# **get_stock_market_index_by_id**
|
503
503
|
> StockMarketIndex get_stock_market_index_by_id(identifier)
|
504
504
|
|
505
|
-
|
505
|
+
Lookup Stock Market Index
|
506
506
|
|
507
507
|
### Example
|
508
508
|
```ruby
|
@@ -540,7 +540,7 @@ Name | Type | Description | Notes
|
|
540
540
|
# **get_stock_market_index_data_point_number**
|
541
541
|
> Float get_stock_market_index_data_point_number(identifier, tag)
|
542
542
|
|
543
|
-
|
543
|
+
Data Point (Number) for Stock Market Index
|
544
544
|
|
545
545
|
Returns a numeric value for the given `tag` for the Stock Market Index with the given `identifier`
|
546
546
|
|
@@ -583,7 +583,7 @@ Name | Type | Description | Notes
|
|
583
583
|
# **get_stock_market_index_data_point_text**
|
584
584
|
> String get_stock_market_index_data_point_text(identifier, tag)
|
585
585
|
|
586
|
-
|
586
|
+
Data Point (Text) for Stock Market Index
|
587
587
|
|
588
588
|
Returns a text value for the given `tag` for the Stock Market Index with the given `identifier`
|
589
589
|
|
@@ -626,7 +626,7 @@ Name | Type | Description | Notes
|
|
626
626
|
# **get_stock_market_index_historical_data**
|
627
627
|
> ApiResponseStockMarketIndexHistoricalData get_stock_market_index_historical_data(identifier, tag, opts)
|
628
628
|
|
629
|
-
|
629
|
+
Historical Data for Stock Market Index
|
630
630
|
|
631
631
|
Returns historical values for the given `tag` and the Stock Market Index with the given `identifier`
|
632
632
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Intrinio::RealtimeStockPrice
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**last_price** | **Float** | The price of the last trade. | [optional]
|
7
|
+
**last_time** | **DateTime** | The date and time when the last trade occurred. | [optional]
|
8
|
+
**bid_price** | **Float** | The price of the top bid order. | [optional]
|
9
|
+
**bid_size** | **Float** | The size of the top bid order. | [optional]
|
10
|
+
**ask_price** | **Float** | The price of the top ask order. | [optional]
|
11
|
+
**ask_size** | **Float** | The size of the top ask order. | [optional]
|
12
|
+
**open_price** | **Float** | The price at the open of the trading day. | [optional]
|
13
|
+
**high_price** | **Float** | The high price for the trading day. | [optional]
|
14
|
+
**low_price** | **Float** | The low price for the trading day. | [optional]
|
15
|
+
**exchange_volume** | **Float** | The number of shares exchanged during the trading day on the exchange. | [optional]
|
16
|
+
**market_volume** | **Float** | The number of shares exchanged during the trading day for the whole market. | [optional]
|
17
|
+
**updated_on** | **DateTime** | The date and time when the data was last updated. | [optional]
|
18
|
+
**source** | **String** | Source of the realtime quote. | [optional]
|
19
|
+
**security** | [**RealtimeStockPriceSecurity**](RealtimeStockPriceSecurity.md) | | [optional]
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Intrinio::RealtimeStockPriceSecurity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | The Intrinio ID for Security | [optional]
|
7
|
+
**ticker** | **String** | The common/local ticker of the Security | [optional]
|
8
|
+
**exchange_ticker** | **String** | The exchange-level ticker | [optional]
|
9
|
+
**figi** | **String** | The OpenFIGI identifier | [optional]
|
10
|
+
**composite_figi** | **String** | The country-composite OpenFIGI identifier | [optional]
|
11
|
+
|
12
|
+
|
data/docs/SecurityApi.md
CHANGED
@@ -4,13 +4,16 @@ All URIs are relative to *https://api-v2.intrinio.com*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_all_securities**](SecurityApi.md#get_all_securities) | **GET** /securities |
|
8
|
-
[**get_security_by_id**](SecurityApi.md#get_security_by_id) | **GET** /securities/{identifier} |
|
9
|
-
[**get_security_data_point_number**](SecurityApi.md#get_security_data_point_number) | **GET** /securities/{identifier}/data_point/{tag}/number |
|
10
|
-
[**get_security_data_point_text**](SecurityApi.md#get_security_data_point_text) | **GET** /securities/{identifier}/data_point/{tag}/text |
|
11
|
-
[**get_security_historical_data**](SecurityApi.md#get_security_historical_data) | **GET** /securities/{identifier}/historical_data/{tag} |
|
12
|
-
[**
|
13
|
-
[**
|
7
|
+
[**get_all_securities**](SecurityApi.md#get_all_securities) | **GET** /securities | All Securities
|
8
|
+
[**get_security_by_id**](SecurityApi.md#get_security_by_id) | **GET** /securities/{identifier} | Lookup Security
|
9
|
+
[**get_security_data_point_number**](SecurityApi.md#get_security_data_point_number) | **GET** /securities/{identifier}/data_point/{tag}/number | Data Point (Number) for Security
|
10
|
+
[**get_security_data_point_text**](SecurityApi.md#get_security_data_point_text) | **GET** /securities/{identifier}/data_point/{tag}/text | Data Point (Text) for Security
|
11
|
+
[**get_security_historical_data**](SecurityApi.md#get_security_historical_data) | **GET** /securities/{identifier}/historical_data/{tag} | Historical Data for Security
|
12
|
+
[**get_security_latest_dividend_record**](SecurityApi.md#get_security_latest_dividend_record) | **GET** /securities/{identifier}/dividends/latest | Lastest Dividend Record for Security
|
13
|
+
[**get_security_latest_earnings_record**](SecurityApi.md#get_security_latest_earnings_record) | **GET** /securities/{identifier}/earnings/latest | Lastest Earnings Record for Security
|
14
|
+
[**get_security_realtime_price**](SecurityApi.md#get_security_realtime_price) | **GET** /securities/{identifier}/prices/realtime | Realtime Stock Price for Security
|
15
|
+
[**get_security_stock_price_adjustments**](SecurityApi.md#get_security_stock_price_adjustments) | **GET** /securities/{identifier}/prices/adjustments | Stock Price Adjustments by Security
|
16
|
+
[**get_security_stock_prices**](SecurityApi.md#get_security_stock_prices) | **GET** /securities/{identifier}/prices | Stock Prices by Security
|
14
17
|
[**screen_securities**](SecurityApi.md#screen_securities) | **POST** /securities/screen | Screen Securities
|
15
18
|
[**search_securities**](SecurityApi.md#search_securities) | **GET** /securities/search | Search Securities
|
16
19
|
|
@@ -18,7 +21,7 @@ Method | HTTP request | Description
|
|
18
21
|
# **get_all_securities**
|
19
22
|
> ApiResponseSecurities get_all_securities(opts)
|
20
23
|
|
21
|
-
|
24
|
+
All Securities
|
22
25
|
|
23
26
|
### Example
|
24
27
|
```ruby
|
@@ -57,7 +60,9 @@ Name | Type | Description | Notes
|
|
57
60
|
# **get_security_by_id**
|
58
61
|
> Security get_security_by_id(identifier)
|
59
62
|
|
60
|
-
|
63
|
+
Lookup Security
|
64
|
+
|
65
|
+
Returns the Security with the given `identifier`
|
61
66
|
|
62
67
|
### Example
|
63
68
|
```ruby
|
@@ -95,7 +100,7 @@ Name | Type | Description | Notes
|
|
95
100
|
# **get_security_data_point_number**
|
96
101
|
> Float get_security_data_point_number(identifier, tag)
|
97
102
|
|
98
|
-
|
103
|
+
Data Point (Number) for Security
|
99
104
|
|
100
105
|
Returns a numeric value for the given `tag` for the Security with the given `identifier`
|
101
106
|
|
@@ -138,7 +143,7 @@ Name | Type | Description | Notes
|
|
138
143
|
# **get_security_data_point_text**
|
139
144
|
> String get_security_data_point_text(identifier, tag)
|
140
145
|
|
141
|
-
|
146
|
+
Data Point (Text) for Security
|
142
147
|
|
143
148
|
Returns a text value for the given `tag` for the Security with the given `identifier`
|
144
149
|
|
@@ -181,7 +186,7 @@ Name | Type | Description | Notes
|
|
181
186
|
# **get_security_historical_data**
|
182
187
|
> ApiResponseSecurityHistoricalData get_security_historical_data(identifier, tag, opts)
|
183
188
|
|
184
|
-
|
189
|
+
Historical Data for Security
|
185
190
|
|
186
191
|
Returns historical values for the given `tag` and the Security with the given `identifier`
|
187
192
|
|
@@ -202,6 +207,7 @@ identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP,
|
|
202
207
|
tag = "volume" # String | An Intrinio data tag ID or code-name
|
203
208
|
|
204
209
|
opts = {
|
210
|
+
frequency: "daily", # String | Return historical data in the given frequency
|
205
211
|
type: nil, # String | Filter by type, when applicable
|
206
212
|
start_date: Date.parse("2018-01-01"), # Date | Get historical data on or after this date
|
207
213
|
end_date: Date.parse("2019-01-01"), # Date | Get historical date on or before this date
|
@@ -223,6 +229,7 @@ Name | Type | Description | Notes
|
|
223
229
|
------------- | ------------- | ------------- | -------------
|
224
230
|
**identifier** | **String**| A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) |
|
225
231
|
**tag** | **String**| An Intrinio data tag ID or code-name |
|
232
|
+
**frequency** | **String**| Return historical data in the given frequency | [optional] [default to daily]
|
226
233
|
**type** | **String**| Filter by type, when applicable | [optional]
|
227
234
|
**start_date** | **Date**| Get historical data on or after this date | [optional]
|
228
235
|
**end_date** | **Date**| Get historical date on or before this date | [optional]
|
@@ -233,12 +240,136 @@ Name | Type | Description | Notes
|
|
233
240
|
|
234
241
|
[**ApiResponseSecurityHistoricalData**](ApiResponseSecurityHistoricalData.md)
|
235
242
|
|
243
|
+
# **get_security_latest_dividend_record**
|
244
|
+
> DividendRecord get_security_latest_dividend_record(identifier)
|
245
|
+
|
246
|
+
Lastest Dividend Record for Security
|
247
|
+
|
248
|
+
Returns the latest available dividend information for the Security with the given `identifier`
|
249
|
+
|
250
|
+
### Example
|
251
|
+
```ruby
|
252
|
+
# Load the gem
|
253
|
+
require 'intrinio-sdk'
|
254
|
+
|
255
|
+
# Setup authorization
|
256
|
+
Intrinio.configure do |config|
|
257
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
258
|
+
end
|
259
|
+
|
260
|
+
security_api = Intrinio::SecurityApi.new
|
261
|
+
|
262
|
+
identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
263
|
+
|
264
|
+
|
265
|
+
begin
|
266
|
+
result = security_api.get_security_latest_dividend_record(identifier)
|
267
|
+
p result
|
268
|
+
rescue Intrinio::ApiError => e
|
269
|
+
puts "Exception when calling SecurityApi->get_security_latest_dividend_record: #{e}"
|
270
|
+
end
|
271
|
+
```
|
272
|
+
|
273
|
+
### Parameters
|
274
|
+
|
275
|
+
Name | Type | Description | Notes
|
276
|
+
------------- | ------------- | ------------- | -------------
|
277
|
+
**identifier** | **String**| A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) |
|
278
|
+
|
279
|
+
### Return type
|
280
|
+
|
281
|
+
[**DividendRecord**](DividendRecord.md)
|
282
|
+
|
283
|
+
# **get_security_latest_earnings_record**
|
284
|
+
> EarningsRecord get_security_latest_earnings_record(identifier)
|
285
|
+
|
286
|
+
Lastest Earnings Record for Security
|
287
|
+
|
288
|
+
Returns latest available earnings information for the Security with the given `identifier`
|
289
|
+
|
290
|
+
### Example
|
291
|
+
```ruby
|
292
|
+
# Load the gem
|
293
|
+
require 'intrinio-sdk'
|
294
|
+
|
295
|
+
# Setup authorization
|
296
|
+
Intrinio.configure do |config|
|
297
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
298
|
+
end
|
299
|
+
|
300
|
+
security_api = Intrinio::SecurityApi.new
|
301
|
+
|
302
|
+
identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
303
|
+
|
304
|
+
|
305
|
+
begin
|
306
|
+
result = security_api.get_security_latest_earnings_record(identifier)
|
307
|
+
p result
|
308
|
+
rescue Intrinio::ApiError => e
|
309
|
+
puts "Exception when calling SecurityApi->get_security_latest_earnings_record: #{e}"
|
310
|
+
end
|
311
|
+
```
|
312
|
+
|
313
|
+
### Parameters
|
314
|
+
|
315
|
+
Name | Type | Description | Notes
|
316
|
+
------------- | ------------- | ------------- | -------------
|
317
|
+
**identifier** | **String**| A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) |
|
318
|
+
|
319
|
+
### Return type
|
320
|
+
|
321
|
+
[**EarningsRecord**](EarningsRecord.md)
|
322
|
+
|
323
|
+
# **get_security_realtime_price**
|
324
|
+
> RealtimeStockPrice get_security_realtime_price(identifier, opts)
|
325
|
+
|
326
|
+
Realtime Stock Price for Security
|
327
|
+
|
328
|
+
Return the realtime stock price for the Security with the given `identifier`
|
329
|
+
|
330
|
+
### Example
|
331
|
+
```ruby
|
332
|
+
# Load the gem
|
333
|
+
require 'intrinio-sdk'
|
334
|
+
|
335
|
+
# Setup authorization
|
336
|
+
Intrinio.configure do |config|
|
337
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
338
|
+
end
|
339
|
+
|
340
|
+
security_api = Intrinio::SecurityApi.new
|
341
|
+
|
342
|
+
identifier = "AAPL" # String | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID)
|
343
|
+
|
344
|
+
opts = {
|
345
|
+
source: nil # String | Return the realtime price from the specified data source
|
346
|
+
}
|
347
|
+
|
348
|
+
begin
|
349
|
+
result = security_api.get_security_realtime_price(identifier, opts)
|
350
|
+
p result
|
351
|
+
rescue Intrinio::ApiError => e
|
352
|
+
puts "Exception when calling SecurityApi->get_security_realtime_price: #{e}"
|
353
|
+
end
|
354
|
+
```
|
355
|
+
|
356
|
+
### Parameters
|
357
|
+
|
358
|
+
Name | Type | Description | Notes
|
359
|
+
------------- | ------------- | ------------- | -------------
|
360
|
+
**identifier** | **String**| A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) |
|
361
|
+
**source** | **String**| Return the realtime price from the specified data source | [optional]
|
362
|
+
|
363
|
+
### Return type
|
364
|
+
|
365
|
+
[**RealtimeStockPrice**](RealtimeStockPrice.md)
|
366
|
+
|
236
367
|
# **get_security_stock_price_adjustments**
|
237
368
|
> ApiResponseSecurityStockPriceAdjustments get_security_stock_price_adjustments(identifier, opts)
|
238
369
|
|
239
|
-
|
370
|
+
Stock Price Adjustments by Security
|
240
371
|
|
241
|
-
|
372
|
+
Returns stock price adjustments for the Security with the given `identifier`
|
242
373
|
|
243
374
|
### Example
|
244
375
|
```ruby
|
@@ -284,9 +415,9 @@ Name | Type | Description | Notes
|
|
284
415
|
# **get_security_stock_prices**
|
285
416
|
> ApiResponseSecurityStockPrices get_security_stock_prices(identifier, opts)
|
286
417
|
|
287
|
-
|
418
|
+
Stock Prices by Security
|
288
419
|
|
289
|
-
Return stock prices for the Security with the given `identifier`
|
420
|
+
Return end-of-day stock prices for the Security with the given `identifier`
|
290
421
|
|
291
422
|
### Example
|
292
423
|
```ruby
|
@@ -336,7 +467,7 @@ Name | Type | Description | Notes
|
|
336
467
|
|
337
468
|
Screen Securities
|
338
469
|
|
339
|
-
Screen
|
470
|
+
Screen Securities using complex logic
|
340
471
|
|
341
472
|
### Example
|
342
473
|
```ruby
|