finnhub_ruby 1.1.13 → 1.1.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e36670eda77a8ce542ba847a4d42bd58794eb8fca5bc7d1e7b48fed9a18e1c58
4
- data.tar.gz: 826059c874f10b755cf306dad7f9031230008bfaca31a9c0239637022bc1a5b5
3
+ metadata.gz: da30940be0c21631a723ce3fefafb49bf48d79bad357b9a95d6b44124aea729a
4
+ data.tar.gz: b17728b586b1368112477733e416f0d5d196688a243549255c17fb8ea2a8aaa1
5
5
  SHA512:
6
- metadata.gz: 9e102598fafad86d9af44c1aed2e16dea8a7fe57d0befa3a50769a4ff94c61f0b439e4350de3d653339514df2c1a9425ece648d5ef56cda1bd39774c51cffd0c
7
- data.tar.gz: 7be63933d8e423c86778349f13c843bba4bb6dd4bd860a5932675631069f86aae75b85e78540b43f2d0c83057615e1974cf624ed15a919b959eff2bb44e006fd
6
+ metadata.gz: 224c15f4a06ec436c4569f47d2000a13185e52f02bf2763311e00d63523006609fbc09db5f08068c3fa41fcb05c0e7205ba961a9e37fc32f58b6a9f1322e2426
7
+ data.tar.gz: e1d0cde8725213b7bf9c6b09b17d5ed1768be82c2a8b602038b9f14f2add4f73235170737aeaca4aa0aab0a8c0e0e0d7a7224b0174bbc8ce4a531468a87e338c
data/docs/DefaultApi.md CHANGED
@@ -44,6 +44,7 @@ All URIs are relative to *https://finnhub.io/api/v1*
44
44
  | [**fund_ownership**](DefaultApi.md#fund_ownership) | **GET** /stock/fund-ownership | Fund Ownership |
45
45
  | [**indices_constituents**](DefaultApi.md#indices_constituents) | **GET** /index/constituents | Indices Constituents |
46
46
  | [**indices_historical_constituents**](DefaultApi.md#indices_historical_constituents) | **GET** /index/historical-constituents | Indices Historical Constituents |
47
+ | [**insider_sentiment**](DefaultApi.md#insider_sentiment) | **GET** /stock/insider-sentiment | Insider Sentiment |
47
48
  | [**insider_transactions**](DefaultApi.md#insider_transactions) | **GET** /stock/insider-transactions | Insider Transactions |
48
49
  | [**international_filings**](DefaultApi.md#international_filings) | **GET** /stock/international-filings | International Filings |
49
50
  | [**investment_themes**](DefaultApi.md#investment_themes) | **GET** /stock/investment-theme | Investment Themes (Thematic Investing) |
@@ -1930,7 +1931,8 @@ api_instance = FinnhubRuby::DefaultApi.new
1930
1931
  opts = {
1931
1932
  symbol: 'symbol_example', # String | ETF symbol.
1932
1933
  isin: 'isin_example', # String | ETF isin.
1933
- skip: 789 # Integer | Skip the first n results. You can use this parameter to query historical constituents data. The latest result is returned if skip=0 or not set.
1934
+ skip: 789, # Integer | Skip the first n results. You can use this parameter to query historical constituents data. The latest result is returned if skip=0 or not set.
1935
+ date: 'date_example' # String | Query holdings by date. You can use either this param or <code>skip</code> param, not both.
1934
1936
  }
1935
1937
 
1936
1938
  begin
@@ -1967,6 +1969,7 @@ end
1967
1969
  | **symbol** | **String** | ETF symbol. | [optional] |
1968
1970
  | **isin** | **String** | ETF isin. | [optional] |
1969
1971
  | **skip** | **Integer** | Skip the first n results. You can use this parameter to query historical constituents data. The latest result is returned if skip&#x3D;0 or not set. | [optional] |
1972
+ | **date** | **String** | Query holdings by date. You can use either this param or &lt;code&gt;skip&lt;/code&gt; param, not both. | [optional] |
1970
1973
 
1971
1974
  ### Return type
1972
1975
 
@@ -2947,7 +2950,7 @@ end
2947
2950
 
2948
2951
  Indices Historical Constituents
2949
2952
 
2950
- Get full history of index's constituents including symbols and dates of joining and leaving the Index. Currently support <code>^GSPC (S&P 500)</code>, <code>^NDX (Nasdaq 100)</code>, <code>^DJI (Dow Jones)</code>
2953
+ Get full history of index's constituents including symbols and dates of joining and leaving the Index. Currently support <code>^GSPC</code>, <code>^NDX</code>, <code>^DJI</code>
2951
2954
 
2952
2955
  ### Examples
2953
2956
 
@@ -3012,6 +3015,81 @@ end
3012
3015
  - **Accept**: application/json
3013
3016
 
3014
3017
 
3018
+ ## insider_sentiment
3019
+
3020
+ > <InsiderSentiments> insider_sentiment(symbol, from, to)
3021
+
3022
+ Insider Sentiment
3023
+
3024
+ Get insider sentiment data for US companies calculated using method discussed <a href=\"https://medium.com/@stock-api/finnhub-insiders-sentiment-analysis-cc43f9f64b3a\" target=\"_blank\">here</a>. The MSPR ranges from -100 for the most negative to 100 for the most positive which can signal price changes in the coming 30-90 days.
3025
+
3026
+ ### Examples
3027
+
3028
+ ```ruby
3029
+ require 'time'
3030
+ require 'finnhub_ruby'
3031
+ # setup authorization
3032
+ FinnhubRuby.configure do |config|
3033
+ # Configure API key authorization: api_key
3034
+ config.api_key['api_key'] = 'YOUR API KEY'
3035
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3036
+ # config.api_key_prefix['api_key'] = 'Bearer'
3037
+ end
3038
+
3039
+ api_instance = FinnhubRuby::DefaultApi.new
3040
+ symbol = 'symbol_example' # String | Symbol of the company: AAPL.
3041
+ from = Date.parse('2013-10-20') # Date | From date: 2020-03-15.
3042
+ to = Date.parse('2013-10-20') # Date | To date: 2020-03-16.
3043
+
3044
+ begin
3045
+ # Insider Sentiment
3046
+ result = api_instance.insider_sentiment(symbol, from, to)
3047
+ p result
3048
+ rescue FinnhubRuby::ApiError => e
3049
+ puts "Error when calling DefaultApi->insider_sentiment: #{e}"
3050
+ end
3051
+ ```
3052
+
3053
+ #### Using the insider_sentiment_with_http_info variant
3054
+
3055
+ This returns an Array which contains the response data, status code and headers.
3056
+
3057
+ > <Array(<InsiderSentiments>, Integer, Hash)> insider_sentiment_with_http_info(symbol, from, to)
3058
+
3059
+ ```ruby
3060
+ begin
3061
+ # Insider Sentiment
3062
+ data, status_code, headers = api_instance.insider_sentiment_with_http_info(symbol, from, to)
3063
+ p status_code # => 2xx
3064
+ p headers # => { ... }
3065
+ p data # => <InsiderSentiments>
3066
+ rescue FinnhubRuby::ApiError => e
3067
+ puts "Error when calling DefaultApi->insider_sentiment_with_http_info: #{e}"
3068
+ end
3069
+ ```
3070
+
3071
+ ### Parameters
3072
+
3073
+ | Name | Type | Description | Notes |
3074
+ | ---- | ---- | ----------- | ----- |
3075
+ | **symbol** | **String** | Symbol of the company: AAPL. | |
3076
+ | **from** | **Date** | From date: 2020-03-15. | |
3077
+ | **to** | **Date** | To date: 2020-03-16. | |
3078
+
3079
+ ### Return type
3080
+
3081
+ [**InsiderSentiments**](InsiderSentiments.md)
3082
+
3083
+ ### Authorization
3084
+
3085
+ [api_key](../README.md#api_key)
3086
+
3087
+ ### HTTP request headers
3088
+
3089
+ - **Content-Type**: Not defined
3090
+ - **Accept**: application/json
3091
+
3092
+
3015
3093
  ## insider_transactions
3016
3094
 
3017
3095
  > <InsiderTransactions> insider_transactions(symbol, opts)
@@ -4867,7 +4945,7 @@ end
4867
4945
 
4868
4946
  Stock Symbol
4869
4947
 
4870
- List supported stocks. We use the following symbology to identify stocks on Finnhub <code>Exchange_Ticker.Exchange_Code</code>. A list of supported exchange codes can be found <a href=\"https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp=sharing\" target=\"_blank\">here</a>. A list of supported CFD Indices can be found <a href=\"https://docs.google.com/spreadsheets/d/1BAbIXBgl405fj0oHeEyRFEu8mW4QD1PhvtaBATLoR14/edit?usp=sharing\" target=\"_blank\">here</a>.
4948
+ List supported stocks. We use the following symbology to identify stocks on Finnhub <code>Exchange_Ticker.Exchange_Code</code>. A list of supported exchange codes can be found <a href=\"https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp=sharing\" target=\"_blank\">here</a>.
4871
4949
 
4872
4950
  ### Examples
4873
4951
 
@@ -4946,7 +5024,7 @@ end
4946
5024
 
4947
5025
  Tick Data
4948
5026
 
4949
- <p>Get historical tick data for global exchanges. You can send the request directly to our tick server at <a href=\"https://tick.finnhub.io/\">https://tick.finnhub.io/</a> with the same path and parameters or get redirected there if you call our main server.</p><p>For US market, you can visit our bulk download page in the Dashboard <a target=\"_blank\" href=\"/dashboard/download\",>here</a> to speed up the download process.</p><table class=\"table table-hover\"> <thead> <tr> <th>Exchange</th> <th>Segment</th> <th>Delay</th> </tr> </thead> <tbody> <tr> <td class=\"text-blue\">US CTA/UTP</th> <td>Full SIP</td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">TSX</th> <td><ul><li>TSX</li><li>TSX Venture</li><li>Index</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">LSE</th> <td><ul><li>London Stock Exchange (L)</li><li>LSE International (L)</li><li>LSE European (L)</li></ul></td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">Euronext</th> <td><ul> <li>Euronext Paris (PA)</li> <li>Euronext Amsterdam (AS)</li> <li>Euronext Lisbon (LS)</li> <li>Euronext Brussels (BR)</li> <li>Euronext Oslo (OL)</li> <li>Euronext London (LN)</li> <li>Euronext Dublin (IR)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">Deutsche Börse</th> <td><ul> <li>Frankfurt (F)</li> <li>Xetra (DE)</li> <li>Duesseldorf (DU)</li> <li>Hamburg (HM)</li> <li>Berlin (BE)</li> <li>Hanover (HA)</li> <li>Stoxx (SX)</li> <li>TradeGate (TG)</li> <li>Zertifikate (SC)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">Nasdaq Nordic & Baltic</th> <td> <ul> <li>Copenhagen (CO)</li> <li>Stockholm (ST)</li> <li>Helsinki (HE)</li> <li>Iceland (IC)</li> <li>Riga (RG)</li> <li>Tallinn (TL)</li> <li>Vilnius(VS)</li> <li>Fixed Income</li> <li>Derivatives</li> <li>Commodities</li></ul></td> <td>End-of-day</td> </tr> </tbody> </table>
5027
+ <p>Get historical tick data for global exchanges. You can send the request directly to our tick server at <a href=\"https://tick.finnhub.io/\">https://tick.finnhub.io/</a> with the same path and parameters or get redirected there if you call our main server.</p><p>For US market, you can visit our bulk download page in the Dashboard <a target=\"_blank\" href=\"/dashboard/download\",>here</a> to speed up the download process.</p><table class=\"table table-hover\"> <thead> <tr> <th>Exchange</th> <th>Segment</th> <th>Delay</th> </tr> </thead> <tbody> <tr> <td class=\"text-blue\">US CTA/UTP</th> <td>Full SIP</td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">TSX</th> <td><ul><li>TSX</li><li>TSX Venture</li><li>Index</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">LSE</th> <td><ul><li>London Stock Exchange (L)</li><li>LSE International (L)</li><li>LSE European (L)</li></ul></td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">Euronext</th> <td><ul> <li>Euronext Paris (PA)</li> <li>Euronext Amsterdam (AS)</li> <li>Euronext Lisbon (LS)</li> <li>Euronext Brussels (BR)</li> <li>Euronext Oslo (OL)</li> <li>Euronext London (LN)</li> <li>Euronext Dublin (IR)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">Deutsche Börse</th> <td><ul> <li>Frankfurt (F)</li> <li>Xetra (DE)</li> <li>Duesseldorf (DU)</li> <li>Hamburg (HM)</li> <li>Berlin (BE)</li> <li>Hanover (HA)</li> <li>Stoxx (SX)</li> <li>TradeGate (TG)</li> <li>Zertifikate (SC)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> </tbody> </table>
4950
5028
 
4951
5029
  ### Examples
4952
5030
 
@@ -5173,7 +5251,7 @@ end
5173
5251
 
5174
5252
  Supply Chain Relationships
5175
5253
 
5176
- <p>This endpoint provides an overall map of public companies' key customers and suppliers. The data offers a deeper look into a company's supply chain and how products are created. The data will help investors manage risk, limit exposure or generate alpha-generating ideas and trading insights.</p><p>We currently cover data for S&P500 and Nasdaq 100 companies.</p>
5254
+ <p>This endpoint provides an overall map of public companies' key customers and suppliers. The data offers a deeper look into a company's supply chain and how products are created. The data will help investors manage risk, limit exposure or generate alpha-generating ideas and trading insights.</p>
5177
5255
 
5178
5256
  ### Examples
5179
5257
 
@@ -5542,7 +5620,7 @@ end
5542
5620
 
5543
5621
  Earnings Call Transcripts List
5544
5622
 
5545
- List earnings call transcripts' metadata. This endpoint is available for US, UK and Canadian companies.
5623
+ List earnings call transcripts' metadata. This endpoint is available for US, UK, European, Australian and Canadian companies.
5546
5624
 
5547
5625
  ### Examples
5548
5626
 
@@ -0,0 +1,20 @@
1
+ # FinnhubRuby::InsiderSentiments
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **symbol** | **String** | Symbol of the company. | [optional] |
8
+ | **data** | [**Array&lt;InsiderSentimentsData&gt;**](InsiderSentimentsData.md) | Array of sentiment data. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'finnhub_ruby'
14
+
15
+ instance = FinnhubRuby::InsiderSentiments.new(
16
+ symbol: null,
17
+ data: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # FinnhubRuby::InsiderSentimentsData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **symbol** | **String** | Symbol. | [optional] |
8
+ | **year** | **Integer** | Year. | [optional] |
9
+ | **month** | **Integer** | Month. | [optional] |
10
+ | **change** | **Integer** | Net buying/selling from all insiders&#39; transactions. | [optional] |
11
+ | **mspr** | **Float** | Monthly share purchase ratio. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'finnhub_ruby'
17
+
18
+ instance = FinnhubRuby::InsiderSentimentsData.new(
19
+ symbol: null,
20
+ year: null,
21
+ month: null,
22
+ change: null,
23
+ mspr: null
24
+ )
25
+ ```
26
+
@@ -24,7 +24,7 @@
24
24
  | **worksite_postal_code** | **String** | Worksite postal code. | [optional] |
25
25
  | **wage_range_from** | **Float** | Wage range from. | [optional] |
26
26
  | **wage_range_to** | **Float** | Wage range to. | [optional] |
27
- | **wave_unit_of_pay** | **String** | Wage unit of pay. | [optional] |
27
+ | **wage_unit_of_pay** | **String** | Wage unit of pay. | [optional] |
28
28
  | **wage_level** | **String** | Wage level. | [optional] |
29
29
  | **h1b_dependent** | **String** | H1B dependent flag. | [optional] |
30
30
 
@@ -54,7 +54,7 @@ instance = FinnhubRuby::VisaApplication.new(
54
54
  worksite_postal_code: null,
55
55
  wage_range_from: null,
56
56
  wage_range_to: null,
57
- wave_unit_of_pay: null,
57
+ wage_unit_of_pay: null,
58
58
  wage_level: null,
59
59
  h1b_dependent: null
60
60
  )
Binary file
@@ -1676,6 +1676,7 @@ module FinnhubRuby
1676
1676
  # @option opts [String] :symbol ETF symbol.
1677
1677
  # @option opts [String] :isin ETF isin.
1678
1678
  # @option opts [Integer] :skip Skip the first n results. You can use this parameter to query historical constituents data. The latest result is returned if skip&#x3D;0 or not set.
1679
+ # @option opts [String] :date Query holdings by date. You can use either this param or &lt;code&gt;skip&lt;/code&gt; param, not both.
1679
1680
  # @return [ETFsHoldings]
1680
1681
  def etfs_holdings(opts = {})
1681
1682
  data, _status_code, _headers = etfs_holdings_with_http_info(opts)
@@ -1688,6 +1689,7 @@ module FinnhubRuby
1688
1689
  # @option opts [String] :symbol ETF symbol.
1689
1690
  # @option opts [String] :isin ETF isin.
1690
1691
  # @option opts [Integer] :skip Skip the first n results. You can use this parameter to query historical constituents data. The latest result is returned if skip&#x3D;0 or not set.
1692
+ # @option opts [String] :date Query holdings by date. You can use either this param or &lt;code&gt;skip&lt;/code&gt; param, not both.
1691
1693
  # @return [Array<(ETFsHoldings, Integer, Hash)>] ETFsHoldings data, response status code and response headers
1692
1694
  def etfs_holdings_with_http_info(opts = {})
1693
1695
  if @api_client.config.debugging
@@ -1701,6 +1703,7 @@ module FinnhubRuby
1701
1703
  query_params[:'symbol'] = opts[:'symbol'] if !opts[:'symbol'].nil?
1702
1704
  query_params[:'isin'] = opts[:'isin'] if !opts[:'isin'].nil?
1703
1705
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
1706
+ query_params[:'date'] = opts[:'date'] if !opts[:'date'].nil?
1704
1707
 
1705
1708
  # header parameters
1706
1709
  header_params = opts[:header_params] || {}
@@ -2607,7 +2610,7 @@ module FinnhubRuby
2607
2610
  end
2608
2611
 
2609
2612
  # Indices Historical Constituents
2610
- # Get full history of index's constituents including symbols and dates of joining and leaving the Index. Currently support <code>^GSPC (S&P 500)</code>, <code>^NDX (Nasdaq 100)</code>, <code>^DJI (Dow Jones)</code>
2613
+ # Get full history of index's constituents including symbols and dates of joining and leaving the Index. Currently support <code>^GSPC</code>, <code>^NDX</code>, <code>^DJI</code>
2611
2614
  # @param symbol [String] symbol
2612
2615
  # @param [Hash] opts the optional parameters
2613
2616
  # @return [IndicesHistoricalConstituents]
@@ -2617,7 +2620,7 @@ module FinnhubRuby
2617
2620
  end
2618
2621
 
2619
2622
  # Indices Historical Constituents
2620
- # Get full history of index&#39;s constituents including symbols and dates of joining and leaving the Index. Currently support &lt;code&gt;^GSPC (S&amp;P 500)&lt;/code&gt;, &lt;code&gt;^NDX (Nasdaq 100)&lt;/code&gt;, &lt;code&gt;^DJI (Dow Jones)&lt;/code&gt;
2623
+ # Get full history of index&#39;s constituents including symbols and dates of joining and leaving the Index. Currently support &lt;code&gt;^GSPC&lt;/code&gt;, &lt;code&gt;^NDX&lt;/code&gt;, &lt;code&gt;^DJI&lt;/code&gt;
2621
2624
  # @param symbol [String] symbol
2622
2625
  # @param [Hash] opts the optional parameters
2623
2626
  # @return [Array<(IndicesHistoricalConstituents, Integer, Hash)>] IndicesHistoricalConstituents data, response status code and response headers
@@ -2670,6 +2673,84 @@ module FinnhubRuby
2670
2673
  return data, status_code, headers
2671
2674
  end
2672
2675
 
2676
+ # Insider Sentiment
2677
+ # Get insider sentiment data for US companies calculated using method discussed <a href=\"https://medium.com/@stock-api/finnhub-insiders-sentiment-analysis-cc43f9f64b3a\" target=\"_blank\">here</a>. The MSPR ranges from -100 for the most negative to 100 for the most positive which can signal price changes in the coming 30-90 days.
2678
+ # @param symbol [String] Symbol of the company: AAPL.
2679
+ # @param from [Date] From date: 2020-03-15.
2680
+ # @param to [Date] To date: 2020-03-16.
2681
+ # @param [Hash] opts the optional parameters
2682
+ # @return [InsiderSentiments]
2683
+ def insider_sentiment(symbol, from, to, opts = {})
2684
+ data, _status_code, _headers = insider_sentiment_with_http_info(symbol, from, to, opts)
2685
+ data
2686
+ end
2687
+
2688
+ # Insider Sentiment
2689
+ # Get insider sentiment data for US companies calculated using method discussed &lt;a href&#x3D;\&quot;https://medium.com/@stock-api/finnhub-insiders-sentiment-analysis-cc43f9f64b3a\&quot; target&#x3D;\&quot;_blank\&quot;&gt;here&lt;/a&gt;. The MSPR ranges from -100 for the most negative to 100 for the most positive which can signal price changes in the coming 30-90 days.
2690
+ # @param symbol [String] Symbol of the company: AAPL.
2691
+ # @param from [Date] From date: 2020-03-15.
2692
+ # @param to [Date] To date: 2020-03-16.
2693
+ # @param [Hash] opts the optional parameters
2694
+ # @return [Array<(InsiderSentiments, Integer, Hash)>] InsiderSentiments data, response status code and response headers
2695
+ def insider_sentiment_with_http_info(symbol, from, to, opts = {})
2696
+ if @api_client.config.debugging
2697
+ @api_client.config.logger.debug 'Calling API: DefaultApi.insider_sentiment ...'
2698
+ end
2699
+ # verify the required parameter 'symbol' is set
2700
+ if @api_client.config.client_side_validation && symbol.nil?
2701
+ fail ArgumentError, "Missing the required parameter 'symbol' when calling DefaultApi.insider_sentiment"
2702
+ end
2703
+ # verify the required parameter 'from' is set
2704
+ if @api_client.config.client_side_validation && from.nil?
2705
+ fail ArgumentError, "Missing the required parameter 'from' when calling DefaultApi.insider_sentiment"
2706
+ end
2707
+ # verify the required parameter 'to' is set
2708
+ if @api_client.config.client_side_validation && to.nil?
2709
+ fail ArgumentError, "Missing the required parameter 'to' when calling DefaultApi.insider_sentiment"
2710
+ end
2711
+ # resource path
2712
+ local_var_path = '/stock/insider-sentiment'
2713
+
2714
+ # query parameters
2715
+ query_params = opts[:query_params] || {}
2716
+ query_params[:'symbol'] = symbol
2717
+ query_params[:'from'] = from
2718
+ query_params[:'to'] = to
2719
+
2720
+ # header parameters
2721
+ header_params = opts[:header_params] || {}
2722
+ # HTTP header 'Accept' (if needed)
2723
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2724
+
2725
+ # form parameters
2726
+ form_params = opts[:form_params] || {}
2727
+
2728
+ # http body (model)
2729
+ post_body = opts[:debug_body]
2730
+
2731
+ # return_type
2732
+ return_type = opts[:debug_return_type] || 'InsiderSentiments'
2733
+
2734
+ # auth_names
2735
+ auth_names = opts[:debug_auth_names] || ['api_key']
2736
+
2737
+ new_options = opts.merge(
2738
+ :operation => :"DefaultApi.insider_sentiment",
2739
+ :header_params => header_params,
2740
+ :query_params => query_params,
2741
+ :form_params => form_params,
2742
+ :body => post_body,
2743
+ :auth_names => auth_names,
2744
+ :return_type => return_type
2745
+ )
2746
+
2747
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2748
+ if @api_client.config.debugging
2749
+ @api_client.config.logger.debug "API called: DefaultApi#insider_sentiment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2750
+ end
2751
+ return data, status_code, headers
2752
+ end
2753
+
2673
2754
  # Insider Transactions
2674
2755
  # Company insider transactions data sourced from <code>Form 3,4,5</code>. This endpoint only covers US companies at the moment. Limit to 100 transactions per API call.
2675
2756
  # @param symbol [String] Symbol of the company: AAPL. Leave this param blank to get the latest transactions.
@@ -4380,7 +4461,7 @@ module FinnhubRuby
4380
4461
  end
4381
4462
 
4382
4463
  # Stock Symbol
4383
- # List supported stocks. We use the following symbology to identify stocks on Finnhub <code>Exchange_Ticker.Exchange_Code</code>. A list of supported exchange codes can be found <a href=\"https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp=sharing\" target=\"_blank\">here</a>. A list of supported CFD Indices can be found <a href=\"https://docs.google.com/spreadsheets/d/1BAbIXBgl405fj0oHeEyRFEu8mW4QD1PhvtaBATLoR14/edit?usp=sharing\" target=\"_blank\">here</a>.
4464
+ # List supported stocks. We use the following symbology to identify stocks on Finnhub <code>Exchange_Ticker.Exchange_Code</code>. A list of supported exchange codes can be found <a href=\"https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp=sharing\" target=\"_blank\">here</a>.
4384
4465
  # @param exchange [String] Exchange you want to get the list of symbols from. List of exchange codes can be found &lt;a href&#x3D;\&quot;https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp&#x3D;sharing\&quot; target&#x3D;\&quot;_blank\&quot;&gt;here&lt;/a&gt;.
4385
4466
  # @param [Hash] opts the optional parameters
4386
4467
  # @option opts [String] :mic Filter by MIC code.
@@ -4393,7 +4474,7 @@ module FinnhubRuby
4393
4474
  end
4394
4475
 
4395
4476
  # Stock Symbol
4396
- # List supported stocks. We use the following symbology to identify stocks on Finnhub &lt;code&gt;Exchange_Ticker.Exchange_Code&lt;/code&gt;. A list of supported exchange codes can be found &lt;a href&#x3D;\&quot;https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp&#x3D;sharing\&quot; target&#x3D;\&quot;_blank\&quot;&gt;here&lt;/a&gt;. A list of supported CFD Indices can be found &lt;a href&#x3D;\&quot;https://docs.google.com/spreadsheets/d/1BAbIXBgl405fj0oHeEyRFEu8mW4QD1PhvtaBATLoR14/edit?usp&#x3D;sharing\&quot; target&#x3D;\&quot;_blank\&quot;&gt;here&lt;/a&gt;.
4477
+ # List supported stocks. We use the following symbology to identify stocks on Finnhub &lt;code&gt;Exchange_Ticker.Exchange_Code&lt;/code&gt;. A list of supported exchange codes can be found &lt;a href&#x3D;\&quot;https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp&#x3D;sharing\&quot; target&#x3D;\&quot;_blank\&quot;&gt;here&lt;/a&gt;.
4397
4478
  # @param exchange [String] Exchange you want to get the list of symbols from. List of exchange codes can be found &lt;a href&#x3D;\&quot;https://docs.google.com/spreadsheets/d/1I3pBxjfXB056-g_JYf_6o3Rns3BV2kMGG1nCatb91ls/edit?usp&#x3D;sharing\&quot; target&#x3D;\&quot;_blank\&quot;&gt;here&lt;/a&gt;.
4398
4479
  # @param [Hash] opts the optional parameters
4399
4480
  # @option opts [String] :mic Filter by MIC code.
@@ -4453,7 +4534,7 @@ module FinnhubRuby
4453
4534
  end
4454
4535
 
4455
4536
  # Tick Data
4456
- # <p>Get historical tick data for global exchanges. You can send the request directly to our tick server at <a href=\"https://tick.finnhub.io/\">https://tick.finnhub.io/</a> with the same path and parameters or get redirected there if you call our main server.</p><p>For US market, you can visit our bulk download page in the Dashboard <a target=\"_blank\" href=\"/dashboard/download\",>here</a> to speed up the download process.</p><table class=\"table table-hover\"> <thead> <tr> <th>Exchange</th> <th>Segment</th> <th>Delay</th> </tr> </thead> <tbody> <tr> <td class=\"text-blue\">US CTA/UTP</th> <td>Full SIP</td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">TSX</th> <td><ul><li>TSX</li><li>TSX Venture</li><li>Index</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">LSE</th> <td><ul><li>London Stock Exchange (L)</li><li>LSE International (L)</li><li>LSE European (L)</li></ul></td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">Euronext</th> <td><ul> <li>Euronext Paris (PA)</li> <li>Euronext Amsterdam (AS)</li> <li>Euronext Lisbon (LS)</li> <li>Euronext Brussels (BR)</li> <li>Euronext Oslo (OL)</li> <li>Euronext London (LN)</li> <li>Euronext Dublin (IR)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">Deutsche Börse</th> <td><ul> <li>Frankfurt (F)</li> <li>Xetra (DE)</li> <li>Duesseldorf (DU)</li> <li>Hamburg (HM)</li> <li>Berlin (BE)</li> <li>Hanover (HA)</li> <li>Stoxx (SX)</li> <li>TradeGate (TG)</li> <li>Zertifikate (SC)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">Nasdaq Nordic & Baltic</th> <td> <ul> <li>Copenhagen (CO)</li> <li>Stockholm (ST)</li> <li>Helsinki (HE)</li> <li>Iceland (IC)</li> <li>Riga (RG)</li> <li>Tallinn (TL)</li> <li>Vilnius(VS)</li> <li>Fixed Income</li> <li>Derivatives</li> <li>Commodities</li></ul></td> <td>End-of-day</td> </tr> </tbody> </table>
4537
+ # <p>Get historical tick data for global exchanges. You can send the request directly to our tick server at <a href=\"https://tick.finnhub.io/\">https://tick.finnhub.io/</a> with the same path and parameters or get redirected there if you call our main server.</p><p>For US market, you can visit our bulk download page in the Dashboard <a target=\"_blank\" href=\"/dashboard/download\",>here</a> to speed up the download process.</p><table class=\"table table-hover\"> <thead> <tr> <th>Exchange</th> <th>Segment</th> <th>Delay</th> </tr> </thead> <tbody> <tr> <td class=\"text-blue\">US CTA/UTP</th> <td>Full SIP</td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">TSX</th> <td><ul><li>TSX</li><li>TSX Venture</li><li>Index</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">LSE</th> <td><ul><li>London Stock Exchange (L)</li><li>LSE International (L)</li><li>LSE European (L)</li></ul></td> <td>15 minute</td> </tr> <tr> <td class=\"text-blue\">Euronext</th> <td><ul> <li>Euronext Paris (PA)</li> <li>Euronext Amsterdam (AS)</li> <li>Euronext Lisbon (LS)</li> <li>Euronext Brussels (BR)</li> <li>Euronext Oslo (OL)</li> <li>Euronext London (LN)</li> <li>Euronext Dublin (IR)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> <tr> <td class=\"text-blue\">Deutsche Börse</th> <td><ul> <li>Frankfurt (F)</li> <li>Xetra (DE)</li> <li>Duesseldorf (DU)</li> <li>Hamburg (HM)</li> <li>Berlin (BE)</li> <li>Hanover (HA)</li> <li>Stoxx (SX)</li> <li>TradeGate (TG)</li> <li>Zertifikate (SC)</li> <li>Index</li> <li>Warrant</li></ul></td> <td>End-of-day</td> </tr> </tbody> </table>
4457
4538
  # @param symbol [String] Symbol.
4458
4539
  # @param date [Date] Date: 2020-04-02.
4459
4540
  # @param limit [Integer] Limit number of ticks returned. Maximum value: &lt;code&gt;25000&lt;/code&gt;
@@ -4466,7 +4547,7 @@ module FinnhubRuby
4466
4547
  end
4467
4548
 
4468
4549
  # Tick Data
4469
- # &lt;p&gt;Get historical tick data for global exchanges. You can send the request directly to our tick server at &lt;a href&#x3D;\&quot;https://tick.finnhub.io/\&quot;&gt;https://tick.finnhub.io/&lt;/a&gt; with the same path and parameters or get redirected there if you call our main server.&lt;/p&gt;&lt;p&gt;For US market, you can visit our bulk download page in the Dashboard &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;/dashboard/download\&quot;,&gt;here&lt;/a&gt; to speed up the download process.&lt;/p&gt;&lt;table class&#x3D;\&quot;table table-hover\&quot;&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Exchange&lt;/th&gt; &lt;th&gt;Segment&lt;/th&gt; &lt;th&gt;Delay&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;US CTA/UTP&lt;/th&gt; &lt;td&gt;Full SIP&lt;/td&gt; &lt;td&gt;15 minute&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;TSX&lt;/th&gt; &lt;td&gt;&lt;ul&gt;&lt;li&gt;TSX&lt;/li&gt;&lt;li&gt;TSX Venture&lt;/li&gt;&lt;li&gt;Index&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;End-of-day&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;LSE&lt;/th&gt; &lt;td&gt;&lt;ul&gt;&lt;li&gt;London Stock Exchange (L)&lt;/li&gt;&lt;li&gt;LSE International (L)&lt;/li&gt;&lt;li&gt;LSE European (L)&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;15 minute&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;Euronext&lt;/th&gt; &lt;td&gt;&lt;ul&gt; &lt;li&gt;Euronext Paris (PA)&lt;/li&gt; &lt;li&gt;Euronext Amsterdam (AS)&lt;/li&gt; &lt;li&gt;Euronext Lisbon (LS)&lt;/li&gt; &lt;li&gt;Euronext Brussels (BR)&lt;/li&gt; &lt;li&gt;Euronext Oslo (OL)&lt;/li&gt; &lt;li&gt;Euronext London (LN)&lt;/li&gt; &lt;li&gt;Euronext Dublin (IR)&lt;/li&gt; &lt;li&gt;Index&lt;/li&gt; &lt;li&gt;Warrant&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;End-of-day&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;Deutsche Börse&lt;/th&gt; &lt;td&gt;&lt;ul&gt; &lt;li&gt;Frankfurt (F)&lt;/li&gt; &lt;li&gt;Xetra (DE)&lt;/li&gt; &lt;li&gt;Duesseldorf (DU)&lt;/li&gt; &lt;li&gt;Hamburg (HM)&lt;/li&gt; &lt;li&gt;Berlin (BE)&lt;/li&gt; &lt;li&gt;Hanover (HA)&lt;/li&gt; &lt;li&gt;Stoxx (SX)&lt;/li&gt; &lt;li&gt;TradeGate (TG)&lt;/li&gt; &lt;li&gt;Zertifikate (SC)&lt;/li&gt; &lt;li&gt;Index&lt;/li&gt; &lt;li&gt;Warrant&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;End-of-day&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;Nasdaq Nordic &amp; Baltic&lt;/th&gt; &lt;td&gt; &lt;ul&gt; &lt;li&gt;Copenhagen (CO)&lt;/li&gt; &lt;li&gt;Stockholm (ST)&lt;/li&gt; &lt;li&gt;Helsinki (HE)&lt;/li&gt; &lt;li&gt;Iceland (IC)&lt;/li&gt; &lt;li&gt;Riga (RG)&lt;/li&gt; &lt;li&gt;Tallinn (TL)&lt;/li&gt; &lt;li&gt;Vilnius(VS)&lt;/li&gt; &lt;li&gt;Fixed Income&lt;/li&gt; &lt;li&gt;Derivatives&lt;/li&gt; &lt;li&gt;Commodities&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;End-of-day&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;
4550
+ # &lt;p&gt;Get historical tick data for global exchanges. You can send the request directly to our tick server at &lt;a href&#x3D;\&quot;https://tick.finnhub.io/\&quot;&gt;https://tick.finnhub.io/&lt;/a&gt; with the same path and parameters or get redirected there if you call our main server.&lt;/p&gt;&lt;p&gt;For US market, you can visit our bulk download page in the Dashboard &lt;a target&#x3D;\&quot;_blank\&quot; href&#x3D;\&quot;/dashboard/download\&quot;,&gt;here&lt;/a&gt; to speed up the download process.&lt;/p&gt;&lt;table class&#x3D;\&quot;table table-hover\&quot;&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Exchange&lt;/th&gt; &lt;th&gt;Segment&lt;/th&gt; &lt;th&gt;Delay&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;US CTA/UTP&lt;/th&gt; &lt;td&gt;Full SIP&lt;/td&gt; &lt;td&gt;15 minute&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;TSX&lt;/th&gt; &lt;td&gt;&lt;ul&gt;&lt;li&gt;TSX&lt;/li&gt;&lt;li&gt;TSX Venture&lt;/li&gt;&lt;li&gt;Index&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;End-of-day&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;LSE&lt;/th&gt; &lt;td&gt;&lt;ul&gt;&lt;li&gt;London Stock Exchange (L)&lt;/li&gt;&lt;li&gt;LSE International (L)&lt;/li&gt;&lt;li&gt;LSE European (L)&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;15 minute&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;Euronext&lt;/th&gt; &lt;td&gt;&lt;ul&gt; &lt;li&gt;Euronext Paris (PA)&lt;/li&gt; &lt;li&gt;Euronext Amsterdam (AS)&lt;/li&gt; &lt;li&gt;Euronext Lisbon (LS)&lt;/li&gt; &lt;li&gt;Euronext Brussels (BR)&lt;/li&gt; &lt;li&gt;Euronext Oslo (OL)&lt;/li&gt; &lt;li&gt;Euronext London (LN)&lt;/li&gt; &lt;li&gt;Euronext Dublin (IR)&lt;/li&gt; &lt;li&gt;Index&lt;/li&gt; &lt;li&gt;Warrant&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;End-of-day&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class&#x3D;\&quot;text-blue\&quot;&gt;Deutsche Börse&lt;/th&gt; &lt;td&gt;&lt;ul&gt; &lt;li&gt;Frankfurt (F)&lt;/li&gt; &lt;li&gt;Xetra (DE)&lt;/li&gt; &lt;li&gt;Duesseldorf (DU)&lt;/li&gt; &lt;li&gt;Hamburg (HM)&lt;/li&gt; &lt;li&gt;Berlin (BE)&lt;/li&gt; &lt;li&gt;Hanover (HA)&lt;/li&gt; &lt;li&gt;Stoxx (SX)&lt;/li&gt; &lt;li&gt;TradeGate (TG)&lt;/li&gt; &lt;li&gt;Zertifikate (SC)&lt;/li&gt; &lt;li&gt;Index&lt;/li&gt; &lt;li&gt;Warrant&lt;/li&gt;&lt;/ul&gt;&lt;/td&gt; &lt;td&gt;End-of-day&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;
4470
4551
  # @param symbol [String] Symbol.
4471
4552
  # @param date [Date] Date: 2020-04-02.
4472
4553
  # @param limit [Integer] Limit number of ticks returned. Maximum value: &lt;code&gt;25000&lt;/code&gt;
@@ -4694,7 +4775,7 @@ module FinnhubRuby
4694
4775
  end
4695
4776
 
4696
4777
  # Supply Chain Relationships
4697
- # <p>This endpoint provides an overall map of public companies' key customers and suppliers. The data offers a deeper look into a company's supply chain and how products are created. The data will help investors manage risk, limit exposure or generate alpha-generating ideas and trading insights.</p><p>We currently cover data for S&P500 and Nasdaq 100 companies.</p>
4778
+ # <p>This endpoint provides an overall map of public companies' key customers and suppliers. The data offers a deeper look into a company's supply chain and how products are created. The data will help investors manage risk, limit exposure or generate alpha-generating ideas and trading insights.</p>
4698
4779
  # @param symbol [String] Symbol.
4699
4780
  # @param [Hash] opts the optional parameters
4700
4781
  # @return [SupplyChainRelationships]
@@ -4704,7 +4785,7 @@ module FinnhubRuby
4704
4785
  end
4705
4786
 
4706
4787
  # Supply Chain Relationships
4707
- # &lt;p&gt;This endpoint provides an overall map of public companies&#39; key customers and suppliers. The data offers a deeper look into a company&#39;s supply chain and how products are created. The data will help investors manage risk, limit exposure or generate alpha-generating ideas and trading insights.&lt;/p&gt;&lt;p&gt;We currently cover data for S&amp;P500 and Nasdaq 100 companies.&lt;/p&gt;
4788
+ # &lt;p&gt;This endpoint provides an overall map of public companies&#39; key customers and suppliers. The data offers a deeper look into a company&#39;s supply chain and how products are created. The data will help investors manage risk, limit exposure or generate alpha-generating ideas and trading insights.&lt;/p&gt;
4708
4789
  # @param symbol [String] Symbol.
4709
4790
  # @param [Hash] opts the optional parameters
4710
4791
  # @return [Array<(SupplyChainRelationships, Integer, Hash)>] SupplyChainRelationships data, response status code and response headers
@@ -5053,7 +5134,7 @@ module FinnhubRuby
5053
5134
  end
5054
5135
 
5055
5136
  # Earnings Call Transcripts List
5056
- # List earnings call transcripts' metadata. This endpoint is available for US, UK and Canadian companies.
5137
+ # List earnings call transcripts' metadata. This endpoint is available for US, UK, European, Australian and Canadian companies.
5057
5138
  # @param symbol [String] Company symbol: AAPL. Leave empty to list the latest transcripts
5058
5139
  # @param [Hash] opts the optional parameters
5059
5140
  # @return [EarningsCallTranscriptsList]
@@ -5063,7 +5144,7 @@ module FinnhubRuby
5063
5144
  end
5064
5145
 
5065
5146
  # Earnings Call Transcripts List
5066
- # List earnings call transcripts&#39; metadata. This endpoint is available for US, UK and Canadian companies.
5147
+ # List earnings call transcripts&#39; metadata. This endpoint is available for US, UK, European, Australian and Canadian companies.
5067
5148
  # @param symbol [String] Company symbol: AAPL. Leave empty to list the latest transcripts
5068
5149
  # @param [Hash] opts the optional parameters
5069
5150
  # @return [Array<(EarningsCallTranscriptsList, Integer, Hash)>] EarningsCallTranscriptsList data, response status code and response headers
@@ -0,0 +1,231 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FinnhubRuby
17
+ class InsiderSentiments
18
+ # Symbol of the company.
19
+ attr_accessor :symbol
20
+
21
+ # Array of sentiment data.
22
+ attr_accessor :data
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'symbol' => :'symbol',
28
+ :'data' => :'data'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'symbol' => :'String',
41
+ :'data' => :'Array<InsiderSentimentsData>'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ if (!attributes.is_a?(Hash))
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FinnhubRuby::InsiderSentiments` initialize method"
56
+ end
57
+
58
+ # check to see if the attribute exists and convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h|
60
+ if (!self.class.attribute_map.key?(k.to_sym))
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FinnhubRuby::InsiderSentiments`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ end
63
+ h[k.to_sym] = v
64
+ }
65
+
66
+ if attributes.key?(:'symbol')
67
+ self.symbol = attributes[:'symbol']
68
+ end
69
+
70
+ if attributes.key?(:'data')
71
+ if (value = attributes[:'data']).is_a?(Array)
72
+ self.data = value
73
+ end
74
+ end
75
+ end
76
+
77
+ # Show invalid properties with the reasons. Usually used together with valid?
78
+ # @return Array for valid properties with the reasons
79
+ def list_invalid_properties
80
+ invalid_properties = Array.new
81
+ invalid_properties
82
+ end
83
+
84
+ # Check to see if the all the properties in the model are valid
85
+ # @return true if the model is valid
86
+ def valid?
87
+ true
88
+ end
89
+
90
+ # Checks equality by comparing each attribute.
91
+ # @param [Object] Object to be compared
92
+ def ==(o)
93
+ return true if self.equal?(o)
94
+ self.class == o.class &&
95
+ symbol == o.symbol &&
96
+ data == o.data
97
+ end
98
+
99
+ # @see the `==` method
100
+ # @param [Object] Object to be compared
101
+ def eql?(o)
102
+ self == o
103
+ end
104
+
105
+ # Calculates hash code according to all attributes.
106
+ # @return [Integer] Hash code
107
+ def hash
108
+ [symbol, data].hash
109
+ end
110
+
111
+ # Builds the object from hash
112
+ # @param [Hash] attributes Model attributes in the form of hash
113
+ # @return [Object] Returns the model itself
114
+ def self.build_from_hash(attributes)
115
+ new.build_from_hash(attributes)
116
+ end
117
+
118
+ # Builds the object from hash
119
+ # @param [Hash] attributes Model attributes in the form of hash
120
+ # @return [Object] Returns the model itself
121
+ def build_from_hash(attributes)
122
+ return nil unless attributes.is_a?(Hash)
123
+ self.class.openapi_types.each_pair do |key, type|
124
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
125
+ self.send("#{key}=", nil)
126
+ elsif type =~ /\AArray<(.*)>/i
127
+ # check to ensure the input is an array given that the attribute
128
+ # is documented as an array but the input is not
129
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
130
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
131
+ end
132
+ elsif !attributes[self.class.attribute_map[key]].nil?
133
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
134
+ end
135
+ end
136
+
137
+ self
138
+ end
139
+
140
+ # Deserializes the data based on type
141
+ # @param string type Data type
142
+ # @param string value Value to be deserialized
143
+ # @return [Object] Deserialized data
144
+ def _deserialize(type, value)
145
+ case type.to_sym
146
+ when :Time
147
+ Time.parse(value)
148
+ when :Date
149
+ Date.parse(value)
150
+ when :String
151
+ value.to_s
152
+ when :Integer
153
+ value.to_i
154
+ when :Float
155
+ value.to_f
156
+ when :Boolean
157
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
158
+ true
159
+ else
160
+ false
161
+ end
162
+ when :Object
163
+ # generic object (usually a Hash), return directly
164
+ value
165
+ when /\AArray<(?<inner_type>.+)>\z/
166
+ inner_type = Regexp.last_match[:inner_type]
167
+ value.map { |v| _deserialize(inner_type, v) }
168
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
169
+ k_type = Regexp.last_match[:k_type]
170
+ v_type = Regexp.last_match[:v_type]
171
+ {}.tap do |hash|
172
+ value.each do |k, v|
173
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
174
+ end
175
+ end
176
+ else # model
177
+ # models (e.g. Pet) or oneOf
178
+ klass = FinnhubRuby.const_get(type)
179
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
180
+ end
181
+ end
182
+
183
+ # Returns the string representation of the object
184
+ # @return [String] String presentation of the object
185
+ def to_s
186
+ to_hash.to_s
187
+ end
188
+
189
+ # to_body is an alias to to_hash (backward compatibility)
190
+ # @return [Hash] Returns the object in the form of hash
191
+ def to_body
192
+ to_hash
193
+ end
194
+
195
+ # Returns the object in the form of hash
196
+ # @return [Hash] Returns the object in the form of hash
197
+ def to_hash
198
+ hash = {}
199
+ self.class.attribute_map.each_pair do |attr, param|
200
+ value = self.send(attr)
201
+ if value.nil?
202
+ is_nullable = self.class.openapi_nullable.include?(attr)
203
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
204
+ end
205
+
206
+ hash[param] = _to_hash(value)
207
+ end
208
+ hash
209
+ end
210
+
211
+ # Outputs non-array value in the form of hash
212
+ # For object, use to_hash. Otherwise, just return the value
213
+ # @param [Object] value Any valid value
214
+ # @return [Hash] Returns the value in the form of hash
215
+ def _to_hash(value)
216
+ if value.is_a?(Array)
217
+ value.compact.map { |v| _to_hash(v) }
218
+ elsif value.is_a?(Hash)
219
+ {}.tap do |hash|
220
+ value.each { |k, v| hash[k] = _to_hash(v) }
221
+ end
222
+ elsif value.respond_to? :to_hash
223
+ value.to_hash
224
+ else
225
+ value
226
+ end
227
+ end
228
+
229
+ end
230
+
231
+ end
@@ -0,0 +1,259 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FinnhubRuby
17
+ class InsiderSentimentsData
18
+ # Symbol.
19
+ attr_accessor :symbol
20
+
21
+ # Year.
22
+ attr_accessor :year
23
+
24
+ # Month.
25
+ attr_accessor :month
26
+
27
+ # Net buying/selling from all insiders' transactions.
28
+ attr_accessor :change
29
+
30
+ # Monthly share purchase ratio.
31
+ attr_accessor :mspr
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'symbol' => :'symbol',
37
+ :'year' => :'year',
38
+ :'month' => :'month',
39
+ :'change' => :'change',
40
+ :'mspr' => :'mspr'
41
+ }
42
+ end
43
+
44
+ # Returns all the JSON keys this model knows about
45
+ def self.acceptable_attributes
46
+ attribute_map.values
47
+ end
48
+
49
+ # Attribute type mapping.
50
+ def self.openapi_types
51
+ {
52
+ :'symbol' => :'String',
53
+ :'year' => :'Integer',
54
+ :'month' => :'Integer',
55
+ :'change' => :'Integer',
56
+ :'mspr' => :'Float'
57
+ }
58
+ end
59
+
60
+ # List of attributes with nullable: true
61
+ def self.openapi_nullable
62
+ Set.new([
63
+ ])
64
+ end
65
+
66
+ # Initializes the object
67
+ # @param [Hash] attributes Model attributes in the form of hash
68
+ def initialize(attributes = {})
69
+ if (!attributes.is_a?(Hash))
70
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FinnhubRuby::InsiderSentimentsData` initialize method"
71
+ end
72
+
73
+ # check to see if the attribute exists and convert string to symbol for hash key
74
+ attributes = attributes.each_with_object({}) { |(k, v), h|
75
+ if (!self.class.attribute_map.key?(k.to_sym))
76
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FinnhubRuby::InsiderSentimentsData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
77
+ end
78
+ h[k.to_sym] = v
79
+ }
80
+
81
+ if attributes.key?(:'symbol')
82
+ self.symbol = attributes[:'symbol']
83
+ end
84
+
85
+ if attributes.key?(:'year')
86
+ self.year = attributes[:'year']
87
+ end
88
+
89
+ if attributes.key?(:'month')
90
+ self.month = attributes[:'month']
91
+ end
92
+
93
+ if attributes.key?(:'change')
94
+ self.change = attributes[:'change']
95
+ end
96
+
97
+ if attributes.key?(:'mspr')
98
+ self.mspr = attributes[:'mspr']
99
+ end
100
+ end
101
+
102
+ # Show invalid properties with the reasons. Usually used together with valid?
103
+ # @return Array for valid properties with the reasons
104
+ def list_invalid_properties
105
+ invalid_properties = Array.new
106
+ invalid_properties
107
+ end
108
+
109
+ # Check to see if the all the properties in the model are valid
110
+ # @return true if the model is valid
111
+ def valid?
112
+ true
113
+ end
114
+
115
+ # Checks equality by comparing each attribute.
116
+ # @param [Object] Object to be compared
117
+ def ==(o)
118
+ return true if self.equal?(o)
119
+ self.class == o.class &&
120
+ symbol == o.symbol &&
121
+ year == o.year &&
122
+ month == o.month &&
123
+ change == o.change &&
124
+ mspr == o.mspr
125
+ end
126
+
127
+ # @see the `==` method
128
+ # @param [Object] Object to be compared
129
+ def eql?(o)
130
+ self == o
131
+ end
132
+
133
+ # Calculates hash code according to all attributes.
134
+ # @return [Integer] Hash code
135
+ def hash
136
+ [symbol, year, month, change, mspr].hash
137
+ end
138
+
139
+ # Builds the object from hash
140
+ # @param [Hash] attributes Model attributes in the form of hash
141
+ # @return [Object] Returns the model itself
142
+ def self.build_from_hash(attributes)
143
+ new.build_from_hash(attributes)
144
+ end
145
+
146
+ # Builds the object from hash
147
+ # @param [Hash] attributes Model attributes in the form of hash
148
+ # @return [Object] Returns the model itself
149
+ def build_from_hash(attributes)
150
+ return nil unless attributes.is_a?(Hash)
151
+ self.class.openapi_types.each_pair do |key, type|
152
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
153
+ self.send("#{key}=", nil)
154
+ elsif type =~ /\AArray<(.*)>/i
155
+ # check to ensure the input is an array given that the attribute
156
+ # is documented as an array but the input is not
157
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
158
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
159
+ end
160
+ elsif !attributes[self.class.attribute_map[key]].nil?
161
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
162
+ end
163
+ end
164
+
165
+ self
166
+ end
167
+
168
+ # Deserializes the data based on type
169
+ # @param string type Data type
170
+ # @param string value Value to be deserialized
171
+ # @return [Object] Deserialized data
172
+ def _deserialize(type, value)
173
+ case type.to_sym
174
+ when :Time
175
+ Time.parse(value)
176
+ when :Date
177
+ Date.parse(value)
178
+ when :String
179
+ value.to_s
180
+ when :Integer
181
+ value.to_i
182
+ when :Float
183
+ value.to_f
184
+ when :Boolean
185
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
186
+ true
187
+ else
188
+ false
189
+ end
190
+ when :Object
191
+ # generic object (usually a Hash), return directly
192
+ value
193
+ when /\AArray<(?<inner_type>.+)>\z/
194
+ inner_type = Regexp.last_match[:inner_type]
195
+ value.map { |v| _deserialize(inner_type, v) }
196
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
197
+ k_type = Regexp.last_match[:k_type]
198
+ v_type = Regexp.last_match[:v_type]
199
+ {}.tap do |hash|
200
+ value.each do |k, v|
201
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
202
+ end
203
+ end
204
+ else # model
205
+ # models (e.g. Pet) or oneOf
206
+ klass = FinnhubRuby.const_get(type)
207
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
208
+ end
209
+ end
210
+
211
+ # Returns the string representation of the object
212
+ # @return [String] String presentation of the object
213
+ def to_s
214
+ to_hash.to_s
215
+ end
216
+
217
+ # to_body is an alias to to_hash (backward compatibility)
218
+ # @return [Hash] Returns the object in the form of hash
219
+ def to_body
220
+ to_hash
221
+ end
222
+
223
+ # Returns the object in the form of hash
224
+ # @return [Hash] Returns the object in the form of hash
225
+ def to_hash
226
+ hash = {}
227
+ self.class.attribute_map.each_pair do |attr, param|
228
+ value = self.send(attr)
229
+ if value.nil?
230
+ is_nullable = self.class.openapi_nullable.include?(attr)
231
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
232
+ end
233
+
234
+ hash[param] = _to_hash(value)
235
+ end
236
+ hash
237
+ end
238
+
239
+ # Outputs non-array value in the form of hash
240
+ # For object, use to_hash. Otherwise, just return the value
241
+ # @param [Object] value Any valid value
242
+ # @return [Hash] Returns the value in the form of hash
243
+ def _to_hash(value)
244
+ if value.is_a?(Array)
245
+ value.compact.map { |v| _to_hash(v) }
246
+ elsif value.is_a?(Hash)
247
+ {}.tap do |hash|
248
+ value.each { |k, v| hash[k] = _to_hash(v) }
249
+ end
250
+ elsif value.respond_to? :to_hash
251
+ value.to_hash
252
+ else
253
+ value
254
+ end
255
+ end
256
+
257
+ end
258
+
259
+ end
@@ -76,7 +76,7 @@ module FinnhubRuby
76
76
  attr_accessor :wage_range_to
77
77
 
78
78
  # Wage unit of pay.
79
- attr_accessor :wave_unit_of_pay
79
+ attr_accessor :wage_unit_of_pay
80
80
 
81
81
  # Wage level.
82
82
  attr_accessor :wage_level
@@ -107,7 +107,7 @@ module FinnhubRuby
107
107
  :'worksite_postal_code' => :'worksitePostalCode',
108
108
  :'wage_range_from' => :'wageRangeFrom',
109
109
  :'wage_range_to' => :'wageRangeTo',
110
- :'wave_unit_of_pay' => :'waveUnitOfPay',
110
+ :'wage_unit_of_pay' => :'wageUnitOfPay',
111
111
  :'wage_level' => :'wageLevel',
112
112
  :'h1b_dependent' => :'h1bDependent'
113
113
  }
@@ -141,7 +141,7 @@ module FinnhubRuby
141
141
  :'worksite_postal_code' => :'String',
142
142
  :'wage_range_from' => :'Float',
143
143
  :'wage_range_to' => :'Float',
144
- :'wave_unit_of_pay' => :'String',
144
+ :'wage_unit_of_pay' => :'String',
145
145
  :'wage_level' => :'String',
146
146
  :'h1b_dependent' => :'String'
147
147
  }
@@ -248,8 +248,8 @@ module FinnhubRuby
248
248
  self.wage_range_to = attributes[:'wage_range_to']
249
249
  end
250
250
 
251
- if attributes.key?(:'wave_unit_of_pay')
252
- self.wave_unit_of_pay = attributes[:'wave_unit_of_pay']
251
+ if attributes.key?(:'wage_unit_of_pay')
252
+ self.wage_unit_of_pay = attributes[:'wage_unit_of_pay']
253
253
  end
254
254
 
255
255
  if attributes.key?(:'wage_level')
@@ -299,7 +299,7 @@ module FinnhubRuby
299
299
  worksite_postal_code == o.worksite_postal_code &&
300
300
  wage_range_from == o.wage_range_from &&
301
301
  wage_range_to == o.wage_range_to &&
302
- wave_unit_of_pay == o.wave_unit_of_pay &&
302
+ wage_unit_of_pay == o.wage_unit_of_pay &&
303
303
  wage_level == o.wage_level &&
304
304
  h1b_dependent == o.h1b_dependent
305
305
  end
@@ -313,7 +313,7 @@ module FinnhubRuby
313
313
  # Calculates hash code according to all attributes.
314
314
  # @return [Integer] Hash code
315
315
  def hash
316
- [year, quarter, symbol, case_number, case_status, received_date, visa_class, job_title, soc_code, full_time_position, begin_date, end_date, employer_name, worksite_address, worksite_city, worksite_county, worksite_state, worksite_postal_code, wage_range_from, wage_range_to, wave_unit_of_pay, wage_level, h1b_dependent].hash
316
+ [year, quarter, symbol, case_number, case_status, received_date, visa_class, job_title, soc_code, full_time_position, begin_date, end_date, employer_name, worksite_address, worksite_city, worksite_county, worksite_state, worksite_postal_code, wage_range_from, wage_range_to, wage_unit_of_pay, wage_level, h1b_dependent].hash
317
317
  end
318
318
 
319
319
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1
11
11
  =end
12
12
 
13
13
  module FinnhubRuby
14
- VERSION = '1.1.13'
14
+ VERSION = '1.1.14'
15
15
  end
data/lib/finnhub_ruby.rb CHANGED
@@ -79,6 +79,8 @@ require 'finnhub_ruby/models/index_historical_constituent'
79
79
  require 'finnhub_ruby/models/indicator'
80
80
  require 'finnhub_ruby/models/indices_constituents'
81
81
  require 'finnhub_ruby/models/indices_historical_constituents'
82
+ require 'finnhub_ruby/models/insider_sentiments'
83
+ require 'finnhub_ruby/models/insider_sentiments_data'
82
84
  require 'finnhub_ruby/models/insider_transactions'
83
85
  require 'finnhub_ruby/models/international_filing'
84
86
  require 'finnhub_ruby/models/investment_theme_portfolio'
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::InsiderSentimentsData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::InsiderSentimentsData do
21
+ let(:instance) { FinnhubRuby::InsiderSentimentsData.new }
22
+
23
+ describe 'test an instance of InsiderSentimentsData' do
24
+ it 'should create an instance of InsiderSentimentsData' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::InsiderSentimentsData)
26
+ end
27
+ end
28
+ describe 'test attribute "symbol"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "year"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "month"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "change"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "mspr"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Finnhub API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FinnhubRuby::InsiderSentiments
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FinnhubRuby::InsiderSentiments do
21
+ let(:instance) { FinnhubRuby::InsiderSentiments.new }
22
+
23
+ describe 'test an instance of InsiderSentiments' do
24
+ it 'should create an instance of InsiderSentiments' do
25
+ expect(instance).to be_instance_of(FinnhubRuby::InsiderSentiments)
26
+ end
27
+ end
28
+ describe 'test attribute "symbol"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "data"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finnhub_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.13
4
+ version: 1.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-22 00:00:00.000000000 Z
11
+ date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -126,6 +126,8 @@ files:
126
126
  - docs/Indicator.md
127
127
  - docs/IndicesConstituents.md
128
128
  - docs/IndicesHistoricalConstituents.md
129
+ - docs/InsiderSentiments.md
130
+ - docs/InsiderSentimentsData.md
129
131
  - docs/InsiderTransactions.md
130
132
  - docs/InternationalFiling.md
131
133
  - docs/InvestmentThemePortfolio.md
@@ -182,6 +184,7 @@ files:
182
184
  - finnhub_ruby-1.1.10.gem
183
185
  - finnhub_ruby-1.1.11.gem
184
186
  - finnhub_ruby-1.1.12.gem
187
+ - finnhub_ruby-1.1.13.gem
185
188
  - finnhub_ruby-1.1.7.gem
186
189
  - finnhub_ruby-1.1.8.gem
187
190
  - finnhub_ruby-1.1.9.gem
@@ -259,6 +262,8 @@ files:
259
262
  - lib/finnhub_ruby/models/indicator.rb
260
263
  - lib/finnhub_ruby/models/indices_constituents.rb
261
264
  - lib/finnhub_ruby/models/indices_historical_constituents.rb
265
+ - lib/finnhub_ruby/models/insider_sentiments.rb
266
+ - lib/finnhub_ruby/models/insider_sentiments_data.rb
262
267
  - lib/finnhub_ruby/models/insider_transactions.rb
263
268
  - lib/finnhub_ruby/models/international_filing.rb
264
269
  - lib/finnhub_ruby/models/investment_theme_portfolio.rb
@@ -391,6 +396,8 @@ files:
391
396
  - spec/models/indicator_spec.rb
392
397
  - spec/models/indices_constituents_spec.rb
393
398
  - spec/models/indices_historical_constituents_spec.rb
399
+ - spec/models/insider_sentiments_data_spec.rb
400
+ - spec/models/insider_sentiments_spec.rb
394
401
  - spec/models/insider_transactions_spec.rb
395
402
  - spec/models/international_filing_spec.rb
396
403
  - spec/models/investment_theme_portfolio_spec.rb
@@ -536,12 +543,14 @@ test_files:
536
543
  - spec/models/etf_profile_data_spec.rb
537
544
  - spec/models/country_metadata_spec.rb
538
545
  - spec/models/news_sentiment_spec.rb
546
+ - spec/models/insider_sentiments_data_spec.rb
539
547
  - spec/models/forex_candles_spec.rb
540
548
  - spec/models/dividends2_info_spec.rb
541
549
  - spec/models/tick_data_spec.rb
542
550
  - spec/models/mutual_fund_country_exposure_data_spec.rb
543
551
  - spec/models/fund_ownership_info_spec.rb
544
552
  - spec/models/etfs_profile_spec.rb
553
+ - spec/models/insider_sentiments_spec.rb
545
554
  - spec/models/financials_as_reported_spec.rb
546
555
  - spec/models/mutual_fund_holdings_data_spec.rb
547
556
  - spec/models/ebitda_estimates_spec.rb