finnhub_ruby 1.1.17 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/BondTickData.md +40 -0
  4. data/docs/BondYieldCurve.md +20 -0
  5. data/docs/BondYieldCurveInfo.md +20 -0
  6. data/docs/CompanyProfile.md +5 -1
  7. data/docs/CongressionalTrading.md +20 -0
  8. data/docs/CongressionalTransaction.md +36 -0
  9. data/docs/DefaultApi.md +849 -93
  10. data/docs/Dividends.md +3 -1
  11. data/docs/DocumentResponse.md +28 -0
  12. data/docs/ETFHoldingsData.md +3 -1
  13. data/docs/ETFProfileData.md +8 -2
  14. data/docs/EarningResult.md +5 -1
  15. data/docs/ExcerptResponse.md +24 -0
  16. data/docs/FilingResponse.md +42 -0
  17. data/docs/InFilingResponse.md +44 -0
  18. data/docs/InFilingSearchBody.md +20 -0
  19. data/docs/InstitutionalOwnership.md +22 -0
  20. data/docs/InstitutionalOwnershipGroup.md +20 -0
  21. data/docs/InstitutionalOwnershipInfo.md +36 -0
  22. data/docs/InstitutionalPortfolio.md +22 -0
  23. data/docs/InstitutionalPortfolioGroup.md +22 -0
  24. data/docs/InstitutionalPortfolioInfo.md +38 -0
  25. data/docs/InstitutionalProfile.md +20 -0
  26. data/docs/InstitutionalProfileInfo.md +28 -0
  27. data/docs/IsinChange.md +22 -0
  28. data/docs/IsinChangeInfo.md +22 -0
  29. data/docs/MutualFundEet.md +20 -0
  30. data/docs/MutualFundEetPai.md +20 -0
  31. data/docs/MutualFundHoldingsData.md +3 -1
  32. data/docs/PriceMetrics.md +22 -0
  33. data/docs/SearchBody.md +60 -0
  34. data/docs/SearchFilter.md +20 -0
  35. data/docs/SearchResponse.md +24 -0
  36. data/docs/SymbolChange.md +22 -0
  37. data/docs/SymbolChangeInfo.md +22 -0
  38. data/finnhub_ruby-1.1.17.gem +0 -0
  39. data/finnhub_ruby-1.1.18.gem +0 -0
  40. data/lib/finnhub_ruby/api/default_api.rb +835 -95
  41. data/lib/finnhub_ruby/models/bond_tick_data.rb +347 -0
  42. data/lib/finnhub_ruby/models/bond_yield_curve.rb +231 -0
  43. data/lib/finnhub_ruby/models/bond_yield_curve_info.rb +229 -0
  44. data/lib/finnhub_ruby/models/company_profile.rb +22 -2
  45. data/lib/finnhub_ruby/models/congressional_trading.rb +231 -0
  46. data/lib/finnhub_ruby/models/congressional_transaction.rb +309 -0
  47. data/lib/finnhub_ruby/models/dividends.rb +14 -4
  48. data/lib/finnhub_ruby/models/document_response.rb +271 -0
  49. data/lib/finnhub_ruby/models/earning_result.rb +24 -4
  50. data/lib/finnhub_ruby/models/etf_holdings_data.rb +14 -4
  51. data/lib/finnhub_ruby/models/etf_profile_data.rb +35 -5
  52. data/lib/finnhub_ruby/models/excerpt_response.rb +249 -0
  53. data/lib/finnhub_ruby/models/filing_response.rb +339 -0
  54. data/lib/finnhub_ruby/models/in_filing_response.rb +351 -0
  55. data/lib/finnhub_ruby/models/in_filing_search_body.rb +239 -0
  56. data/lib/finnhub_ruby/models/institutional_ownership.rb +241 -0
  57. data/lib/finnhub_ruby/models/institutional_ownership_group.rb +231 -0
  58. data/lib/finnhub_ruby/models/institutional_ownership_info.rb +309 -0
  59. data/lib/finnhub_ruby/models/institutional_portfolio.rb +241 -0
  60. data/lib/finnhub_ruby/models/institutional_portfolio_group.rb +241 -0
  61. data/lib/finnhub_ruby/models/institutional_portfolio_info.rb +319 -0
  62. data/lib/finnhub_ruby/models/institutional_profile.rb +231 -0
  63. data/lib/finnhub_ruby/models/institutional_profile_info.rb +269 -0
  64. data/lib/finnhub_ruby/models/isin_change.rb +241 -0
  65. data/lib/finnhub_ruby/models/isin_change_info.rb +239 -0
  66. data/lib/finnhub_ruby/models/mutual_fund_eet.rb +228 -0
  67. data/lib/finnhub_ruby/models/mutual_fund_eet_pai.rb +228 -0
  68. data/lib/finnhub_ruby/models/mutual_fund_holdings_data.rb +14 -4
  69. data/lib/finnhub_ruby/models/price_metrics.rb +238 -0
  70. data/lib/finnhub_ruby/models/search_body.rb +434 -0
  71. data/lib/finnhub_ruby/models/search_filter.rb +229 -0
  72. data/lib/finnhub_ruby/models/search_response.rb +251 -0
  73. data/lib/finnhub_ruby/models/symbol_change.rb +241 -0
  74. data/lib/finnhub_ruby/models/symbol_change_info.rb +239 -0
  75. data/lib/finnhub_ruby/version.rb +1 -1
  76. data/lib/finnhub_ruby.rb +28 -0
  77. data/spec/models/bond_tick_data_spec.rb +82 -0
  78. data/spec/models/bond_yield_curve_info_spec.rb +40 -0
  79. data/spec/models/bond_yield_curve_spec.rb +40 -0
  80. data/spec/models/congressional_trading_spec.rb +40 -0
  81. data/spec/models/congressional_transaction_spec.rb +88 -0
  82. data/spec/models/document_response_spec.rb +64 -0
  83. data/spec/models/excerpt_response_spec.rb +52 -0
  84. data/spec/models/filing_response_spec.rb +106 -0
  85. data/spec/models/in_filing_response_spec.rb +112 -0
  86. data/spec/models/in_filing_search_body_spec.rb +40 -0
  87. data/spec/models/institutional_ownership_group_spec.rb +40 -0
  88. data/spec/models/institutional_ownership_info_spec.rb +88 -0
  89. data/spec/models/institutional_ownership_spec.rb +46 -0
  90. data/spec/models/institutional_portfolio_group_spec.rb +46 -0
  91. data/spec/models/institutional_portfolio_info_spec.rb +94 -0
  92. data/spec/models/institutional_portfolio_spec.rb +46 -0
  93. data/spec/models/institutional_profile_info_spec.rb +64 -0
  94. data/spec/models/institutional_profile_spec.rb +40 -0
  95. data/spec/models/isin_change_info_spec.rb +46 -0
  96. data/spec/models/isin_change_spec.rb +46 -0
  97. data/spec/models/mutual_fund_eet_pai_spec.rb +40 -0
  98. data/spec/models/mutual_fund_eet_spec.rb +40 -0
  99. data/spec/models/price_metrics_spec.rb +40 -0
  100. data/spec/models/search_body_spec.rb +160 -0
  101. data/spec/models/search_filter_spec.rb +40 -0
  102. data/spec/models/search_response_spec.rb +52 -0
  103. data/spec/models/symbol_change_info_spec.rb +46 -0
  104. data/spec/models/symbol_change_spec.rb +46 -0
  105. metadata +117 -3
data/docs/Dividends.md CHANGED
@@ -12,6 +12,7 @@
12
12
  | **record_date** | **Date** | Record date. | [optional] |
13
13
  | **declaration_date** | **Date** | Declaration date. | [optional] |
14
14
  | **currency** | **String** | Currency. | [optional] |
15
+ | **freq** | **String** | <p>Dividend frequency. Can be 1 of the following values:</p><ul> <li><code>0: Annually</code></li> <li><code>1: Monthly</code></li> <li><code>2: Quarterly</code></li> <li><code>3: Semi-annually</code></li> <li><code>4: Other/Unknown</code></li> <li><code>5: Bimonthly</code></li> <li><code>6: Trimesterly</code></li> <li><code>7: Weekly</code></li> </ul> | [optional] |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = FinnhubRuby::Dividends.new(
26
27
  pay_date: null,
27
28
  record_date: null,
28
29
  declaration_date: null,
29
- currency: null
30
+ currency: null,
31
+ freq: null
30
32
  )
31
33
  ```
32
34
 
@@ -0,0 +1,28 @@
1
+ # FinnhubRuby::DocumentResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **document_id** | **String** | AlphaResearch internal document id. | [optional] |
8
+ | **title** | **String** | Title for this document. | [optional] |
9
+ | **hits** | **String** | Number of hit in this document | [optional] |
10
+ | **url** | **String** | Link to render this document | [optional] |
11
+ | **format** | **String** | Format of this document (can be html or pdf) | [optional] |
12
+ | **excerpts** | [**Array<ExcerptResponse>**](ExcerptResponse.md) | Highlighted excerpts for this document | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'finnhub_ruby'
18
+
19
+ instance = FinnhubRuby::DocumentResponse.new(
20
+ document_id: null,
21
+ title: null,
22
+ hits: null,
23
+ url: null,
24
+ format: null,
25
+ excerpts: null
26
+ )
27
+ ```
28
+
@@ -11,6 +11,7 @@
11
11
  | **share** | **Float** | Number of shares owned by the ETF. | [optional] |
12
12
  | **percent** | **Float** | Portfolio's percent | [optional] |
13
13
  | **value** | **Float** | Market value | [optional] |
14
+ | **asset_type** | **String** | Asset type. Can be 1 of the following values: <code>Equity</code>, <code>ETP</code>, <code>Fund</code>, <code>Bond</code>, <code>Other</code> or empty. | [optional] |
14
15
 
15
16
  ## Example
16
17
 
@@ -24,7 +25,8 @@ instance = FinnhubRuby::ETFHoldingsData.new(
24
25
  cusip: null,
25
26
  share: null,
26
27
  percent: null,
27
- value: null
28
+ value: null,
29
+ asset_type: null
28
30
  )
29
31
  ```
30
32
 
@@ -10,7 +10,7 @@
10
10
  | **aum** | **Float** | AUM. | [optional] |
11
11
  | **nav** | **Float** | NAV. | [optional] |
12
12
  | **nav_currency** | **String** | NAV currency. | [optional] |
13
- | **expense_ratio** | **Float** | Expense ratio. | [optional] |
13
+ | **expense_ratio** | **Float** | Expense ratio. For non-US funds, this is the <a href=\"https://www.esma.europa.eu/sites/default/files/library/2015/11/09_1028_final_kid_ongoing_charges_methodology_for_publication_u_2_.pdf\" target=\"_blank\">KID ongoing charges<a/>. | [optional] |
14
14
  | **tracking_index** | **String** | Tracking Index. | [optional] |
15
15
  | **etf_company** | **String** | ETF issuer. | [optional] |
16
16
  | **domicile** | **String** | ETF domicile. | [optional] |
@@ -22,6 +22,9 @@
22
22
  | **price_to_book** | **Float** | P/B. | [optional] |
23
23
  | **avg_volume** | **Float** | 30-day average volume. | [optional] |
24
24
  | **description** | **String** | ETF's description. | [optional] |
25
+ | **is_inverse** | **Boolean** | Whether the ETF is inverse | [optional] |
26
+ | **is_leveraged** | **Boolean** | Whether the ETF is leveraged | [optional] |
27
+ | **leverage_factor** | **Float** | Leverage factor. | [optional] |
25
28
 
26
29
  ## Example
27
30
 
@@ -46,7 +49,10 @@ instance = FinnhubRuby::ETFProfileData.new(
46
49
  price_to_earnings: null,
47
50
  price_to_book: null,
48
51
  avg_volume: null,
49
- description: null
52
+ description: null,
53
+ is_inverse: null,
54
+ is_leveraged: null,
55
+ leverage_factor: null
50
56
  )
51
57
  ```
52
58
 
@@ -10,6 +10,8 @@
10
10
  | **surprise_percent** | **Float** | Surprise percent. | [optional] |
11
11
  | **period** | **Date** | Reported period. | [optional] |
12
12
  | **symbol** | **String** | Company symbol. | [optional] |
13
+ | **year** | **Integer** | Earnings year. | [optional] |
14
+ | **quarter** | **Integer** | Earnings quarter. | [optional] |
13
15
 
14
16
  ## Example
15
17
 
@@ -22,7 +24,9 @@ instance = FinnhubRuby::EarningResult.new(
22
24
  surprise: null,
23
25
  surprise_percent: null,
24
26
  period: null,
25
- symbol: null
27
+ symbol: null,
28
+ year: null,
29
+ quarter: null
26
30
  )
27
31
  ```
28
32
 
@@ -0,0 +1,24 @@
1
+ # FinnhubRuby::ExcerptResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **content** | **String** | Highlighted content | [optional] |
8
+ | **snippet_id** | **String** | Location of the content in the rendered document | [optional] |
9
+ | **start_offset** | **String** | Start offset of highlighted content | [optional] |
10
+ | **end_offset** | **String** | End offset of highlighted content | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'finnhub_ruby'
16
+
17
+ instance = FinnhubRuby::ExcerptResponse.new(
18
+ content: null,
19
+ snippet_id: null,
20
+ start_offset: null,
21
+ end_offset: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,42 @@
1
+ # FinnhubRuby::FilingResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **filing_id** | **String** | Filing Id in Alpharesearch platform | [optional] |
8
+ | **title** | **String** | Filing title | [optional] |
9
+ | **filer_id** | **String** | Id of the entity submitted the filing | [optional] |
10
+ | **symbol** | **Object** | List of symbol associate with this filing | [optional] |
11
+ | **name** | **String** | Filer name | [optional] |
12
+ | **acceptance_date** | **String** | Date the filing is submitted. | [optional] |
13
+ | **filed_date** | **String** | Date the filing is make available to the public | [optional] |
14
+ | **report_date** | **String** | Date as which the filing is reported | [optional] |
15
+ | **form** | **String** | Filing Form | [optional] |
16
+ | **amend** | **Boolean** | Amendment | [optional] |
17
+ | **source** | **String** | Filing Source | [optional] |
18
+ | **page_count** | **Integer** | Estimate number of page when printing | [optional] |
19
+ | **document_count** | **Integer** | Number of document in this filing | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'finnhub_ruby'
25
+
26
+ instance = FinnhubRuby::FilingResponse.new(
27
+ filing_id: null,
28
+ title: null,
29
+ filer_id: null,
30
+ symbol: null,
31
+ name: null,
32
+ acceptance_date: null,
33
+ filed_date: null,
34
+ report_date: null,
35
+ form: null,
36
+ amend: null,
37
+ source: null,
38
+ page_count: null,
39
+ document_count: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,44 @@
1
+ # FinnhubRuby::InFilingResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **filing_id** | **String** | Filing Id in Alpharesearch platform | [optional] |
8
+ | **title** | **String** | Filing title | [optional] |
9
+ | **filer_id** | **String** | Id of the entity submitted the filing | [optional] |
10
+ | **symbol** | **Object** | List of symbol associate with this filing | [optional] |
11
+ | **name** | **String** | Filer name | [optional] |
12
+ | **acceptance_date** | **String** | Date the filing is submitted. | [optional] |
13
+ | **filed_date** | **String** | Date the filing is make available to the public | [optional] |
14
+ | **report_date** | **String** | Date as which the filing is reported | [optional] |
15
+ | **form** | **String** | Filing Form | [optional] |
16
+ | **amend** | **Boolean** | Amendment | [optional] |
17
+ | **source** | **String** | Filing Source | [optional] |
18
+ | **page_count** | **Integer** | Estimate number of page when printing | [optional] |
19
+ | **document_count** | **Integer** | Number of document in this filing | [optional] |
20
+ | **documents** | [**Array<DocumentResponse>**](DocumentResponse.md) | Document for this filing. | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'finnhub_ruby'
26
+
27
+ instance = FinnhubRuby::InFilingResponse.new(
28
+ filing_id: null,
29
+ title: null,
30
+ filer_id: null,
31
+ symbol: null,
32
+ name: null,
33
+ acceptance_date: null,
34
+ filed_date: null,
35
+ report_date: null,
36
+ form: null,
37
+ amend: null,
38
+ source: null,
39
+ page_count: null,
40
+ document_count: null,
41
+ documents: null
42
+ )
43
+ ```
44
+
@@ -0,0 +1,20 @@
1
+ # FinnhubRuby::InFilingSearchBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **query** | **String** | Search query | |
8
+ | **filing_id** | **String** | Filing Id to search | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'finnhub_ruby'
14
+
15
+ instance = FinnhubRuby::InFilingSearchBody.new(
16
+ query: null,
17
+ filing_id: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # FinnhubRuby::InstitutionalOwnership
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **symbol** | **String** | Symbol. | [optional] |
8
+ | **cusip** | **String** | Cusip. | [optional] |
9
+ | **data** | [**Array<InstitutionalOwnershipGroup>**](InstitutionalOwnershipGroup.md) | Array of institutional investors. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'finnhub_ruby'
15
+
16
+ instance = FinnhubRuby::InstitutionalOwnership.new(
17
+ symbol: null,
18
+ cusip: null,
19
+ data: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # FinnhubRuby::InstitutionalOwnershipGroup
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **report_date** | **String** | Report date. | [optional] |
8
+ | **ownership** | [**Array<InstitutionalOwnershipInfo>**](InstitutionalOwnershipInfo.md) | Array of institutional investors. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'finnhub_ruby'
14
+
15
+ instance = FinnhubRuby::InstitutionalOwnershipGroup.new(
16
+ report_date: null,
17
+ ownership: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,36 @@
1
+ # FinnhubRuby::InstitutionalOwnershipInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cik** | **String** | Investor's company CIK. | [optional] |
8
+ | **name** | **String** | Firm's name. | [optional] |
9
+ | **put_call** | **String** | <code>put</code> or <code>call</code> for options. | [optional] |
10
+ | **change** | **Float** | Number of shares change. | [optional] |
11
+ | **no_voting** | **Float** | Number of shares with no voting rights. | [optional] |
12
+ | **percentage** | **Float** | Percentage of portfolio. | [optional] |
13
+ | **share** | **Float** | News score. | [optional] |
14
+ | **shared_voting** | **Float** | Number of shares with shared voting rights. | [optional] |
15
+ | **sole_voting** | **Float** | Number of shares with sole voting rights. | [optional] |
16
+ | **value** | **Float** | Position value. | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'finnhub_ruby'
22
+
23
+ instance = FinnhubRuby::InstitutionalOwnershipInfo.new(
24
+ cik: null,
25
+ name: null,
26
+ put_call: null,
27
+ change: null,
28
+ no_voting: null,
29
+ percentage: null,
30
+ share: null,
31
+ shared_voting: null,
32
+ sole_voting: null,
33
+ value: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,22 @@
1
+ # FinnhubRuby::InstitutionalPortfolio
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Investor's name. | [optional] |
8
+ | **cik** | **String** | CIK. | [optional] |
9
+ | **data** | [**Array<InstitutionalPortfolioGroup>**](InstitutionalPortfolioGroup.md) | Array of positions. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'finnhub_ruby'
15
+
16
+ instance = FinnhubRuby::InstitutionalPortfolio.new(
17
+ name: null,
18
+ cik: null,
19
+ data: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # FinnhubRuby::InstitutionalPortfolioGroup
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **report_date** | **String** | Report date. | [optional] |
8
+ | **filing_date** | **String** | Filing date. | [optional] |
9
+ | **portfolio** | [**Array<InstitutionalPortfolioInfo>**](InstitutionalPortfolioInfo.md) | Array of positions. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'finnhub_ruby'
15
+
16
+ instance = FinnhubRuby::InstitutionalPortfolioGroup.new(
17
+ report_date: null,
18
+ filing_date: null,
19
+ portfolio: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,38 @@
1
+ # FinnhubRuby::InstitutionalPortfolioInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **symbol** | **String** | Symbol. | [optional] |
8
+ | **cusip** | **String** | CUSIP. | [optional] |
9
+ | **name** | **String** | Position's name. | [optional] |
10
+ | **put_call** | **String** | <code>put</code> or <code>call</code> for options. | [optional] |
11
+ | **change** | **Float** | Number of shares change. | [optional] |
12
+ | **no_voting** | **Float** | Number of shares with no voting rights. | [optional] |
13
+ | **percentage** | **Float** | Percentage of portfolio. | [optional] |
14
+ | **share** | **Float** | Number of shares. | [optional] |
15
+ | **shared_voting** | **Float** | Number of shares with shared voting rights. | [optional] |
16
+ | **sole_voting** | **Float** | Number of shares with sole voting rights. | [optional] |
17
+ | **value** | **Float** | Position value. | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'finnhub_ruby'
23
+
24
+ instance = FinnhubRuby::InstitutionalPortfolioInfo.new(
25
+ symbol: null,
26
+ cusip: null,
27
+ name: null,
28
+ put_call: null,
29
+ change: null,
30
+ no_voting: null,
31
+ percentage: null,
32
+ share: null,
33
+ shared_voting: null,
34
+ sole_voting: null,
35
+ value: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,20 @@
1
+ # FinnhubRuby::InstitutionalProfile
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cik** | **String** | CIK. | [optional] |
8
+ | **data** | [**Array<InstitutionalProfileInfo>**](InstitutionalProfileInfo.md) | Array of investors. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'finnhub_ruby'
14
+
15
+ instance = FinnhubRuby::InstitutionalProfile.new(
16
+ cik: null,
17
+ data: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # FinnhubRuby::InstitutionalProfileInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cik** | **String** | Investor's company CIK. | [optional] |
8
+ | **firm_type** | **String** | Firm type. | [optional] |
9
+ | **manager** | **String** | Manager. | [optional] |
10
+ | **philosophy** | **String** | Investing philosophy. | [optional] |
11
+ | **profile** | **String** | Profile info. | [optional] |
12
+ | **profile_img** | **String** | Profile image. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'finnhub_ruby'
18
+
19
+ instance = FinnhubRuby::InstitutionalProfileInfo.new(
20
+ cik: null,
21
+ firm_type: null,
22
+ manager: null,
23
+ philosophy: null,
24
+ profile: null,
25
+ profile_img: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,22 @@
1
+ # FinnhubRuby::IsinChange
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **from_date** | **String** | From date. | [optional] |
8
+ | **to_date** | **String** | To date. | [optional] |
9
+ | **data** | [**Array<IsinChangeInfo>**](IsinChangeInfo.md) | Array of ISIN change events. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'finnhub_ruby'
15
+
16
+ instance = FinnhubRuby::IsinChange.new(
17
+ from_date: null,
18
+ to_date: null,
19
+ data: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # FinnhubRuby::IsinChangeInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **at_date** | **String** | Event's date. | [optional] |
8
+ | **old_isin** | **String** | Old ISIN. | [optional] |
9
+ | **new_isin** | **String** | New ISIN. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'finnhub_ruby'
15
+
16
+ instance = FinnhubRuby::IsinChangeInfo.new(
17
+ at_date: null,
18
+ old_isin: null,
19
+ new_isin: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # FinnhubRuby::MutualFundEet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **isin** | **String** | ISIN. | [optional] |
8
+ | **data** | **Object** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'finnhub_ruby'
14
+
15
+ instance = FinnhubRuby::MutualFundEet.new(
16
+ isin: null,
17
+ data: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # FinnhubRuby::MutualFundEetPai
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **isin** | **String** | ISIN. | [optional] |
8
+ | **data** | **Object** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'finnhub_ruby'
14
+
15
+ instance = FinnhubRuby::MutualFundEetPai.new(
16
+ isin: null,
17
+ data: null
18
+ )
19
+ ```
20
+
@@ -11,6 +11,7 @@
11
11
  | **share** | **Float** | Number of shares. | [optional] |
12
12
  | **percent** | **Float** | Portfolio's percent | [optional] |
13
13
  | **value** | **Float** | Market value | [optional] |
14
+ | **asset_type** | **String** | Asset type. Can be 1 of the following values: <code>Equity</code>, <code>ETP</code>, <code>Fund</code>, <code>Bond</code>, <code>Other</code> or empty. | [optional] |
14
15
 
15
16
  ## Example
16
17
 
@@ -24,7 +25,8 @@ instance = FinnhubRuby::MutualFundHoldingsData.new(
24
25
  cusip: null,
25
26
  share: null,
26
27
  percent: null,
27
- value: null
28
+ value: null,
29
+ asset_type: null
28
30
  )
29
31
  ```
30
32
 
@@ -0,0 +1,22 @@
1
+ # FinnhubRuby::PriceMetrics
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **symbol** | **String** | Symbol of the company. | [optional] |
8
+ | **at_date** | **String** | Data date. | [optional] |
9
+ | **data** | **Object** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'finnhub_ruby'
15
+
16
+ instance = FinnhubRuby::PriceMetrics.new(
17
+ symbol: null,
18
+ at_date: null,
19
+ data: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,60 @@
1
+ # FinnhubRuby::SearchBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **query** | **String** | Search query | |
8
+ | **isins** | **String** | List of isin to search, comma separated (Max: 50). | [optional] |
9
+ | **cusips** | **String** | List of cusip to search, comma separated (Max: 50). | [optional] |
10
+ | **ciks** | **String** | List of SEC Center Index Key to search, comma separated (Max: 50). | [optional] |
11
+ | **sedar_ids** | **String** | List of SEDAR issuer number to search, comma separated (Max: 50). | [optional] |
12
+ | **ch_ids** | **String** | List of Companies House number to search, comma separated (Max: 50). | [optional] |
13
+ | **symbols** | **String** | List of symbols to search, comma separated (Max: 50). | [optional] |
14
+ | **sedols** | **String** | List of sedols to search, comma separated (Max: 50). | [optional] |
15
+ | **sources** | **String** | List of sources to search, comma separated (Max: 50). Look at <code>/filter</code> endpoint to see all available values. | [optional] |
16
+ | **forms** | **String** | List of forms to search, comma separated (Max: 50). Look at <code>/filter</code> endpoint to see all available values. | [optional] |
17
+ | **gics** | **String** | List of gics to search, comma separated (Max: 50). Look at <code>/filter</code> endpoint to see all available values. | [optional] |
18
+ | **naics** | **String** | List of sources to search, comma separated (Max: 50). Look at <code>/filter</code> endpoint to see all available values. | [optional] |
19
+ | **exhibits** | **String** | List of exhibits to search, comma separated (Max: 50). Look at <code>/filter</code> endpoint to see all available values. | [optional] |
20
+ | **exchanges** | **String** | List of exchanges to search, comma separated (Max: 50). Look at <code>/filter</code> endpoint to see all available values. | [optional] |
21
+ | **countries** | **String** | List of sources to search, comma separated (Max: 50). Look at <code>/filter</code> endpoint to see all available values. | [optional] |
22
+ | **acts** | **String** | List of SEC's exchanges act to search, comma separated. Look at <code>/filter</code> endpoint to see all available values. | [optional] |
23
+ | **caps** | **String** | List of market capitalization to search, comma separated. Look at <code>/filter</code> endpoint to see all available values. | [optional] |
24
+ | **from_date** | **String** | Search from date in format: YYYY-MM-DD, default from the last 2 years | [optional] |
25
+ | **to_date** | **String** | Search to date in format: YYYY-MM-DD, default to today | [optional] |
26
+ | **page** | **String** | Use for pagination, default to page 1 | [optional] |
27
+ | **sort** | **String** | Sort result by, default: sortMostRecent. Look at <code>/filter</code> endpoint to see all available values. | [optional] |
28
+ | **highlighted** | **Boolean** | Enable highlight in returned filings. If enabled, only return 10 results each time | [optional] |
29
+
30
+ ## Example
31
+
32
+ ```ruby
33
+ require 'finnhub_ruby'
34
+
35
+ instance = FinnhubRuby::SearchBody.new(
36
+ query: null,
37
+ isins: null,
38
+ cusips: null,
39
+ ciks: null,
40
+ sedar_ids: null,
41
+ ch_ids: null,
42
+ symbols: null,
43
+ sedols: null,
44
+ sources: null,
45
+ forms: null,
46
+ gics: null,
47
+ naics: null,
48
+ exhibits: null,
49
+ exchanges: null,
50
+ countries: null,
51
+ acts: null,
52
+ caps: null,
53
+ from_date: null,
54
+ to_date: null,
55
+ page: null,
56
+ sort: null,
57
+ highlighted: null
58
+ )
59
+ ```
60
+