finnhub_ruby 1.0.0
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.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +201 -0
- data/README.md +164 -0
- data/Rakefile +10 -0
- data/docs/AggregateIndicators.md +19 -0
- data/docs/BasicFinancials.md +21 -0
- data/docs/Company.md +29 -0
- data/docs/CompanyExecutive.md +19 -0
- data/docs/CompanyNewsStatistics.md +21 -0
- data/docs/CompanyProfile.md +71 -0
- data/docs/CompanyProfile2.md +39 -0
- data/docs/CountryMetadata.md +27 -0
- data/docs/CovidInfo.md +23 -0
- data/docs/CryptoCandles.md +29 -0
- data/docs/CryptoSymbol.md +21 -0
- data/docs/DefaultApi.md +2662 -0
- data/docs/Development.md +23 -0
- data/docs/Dividends.md +31 -0
- data/docs/EarningEstimate.md +25 -0
- data/docs/EarningRelease.md +33 -0
- data/docs/EarningResult.md +23 -0
- data/docs/EarningsCalendar.md +17 -0
- data/docs/EarningsCallTranscripts.md +33 -0
- data/docs/EarningsCallTranscriptsList.md +19 -0
- data/docs/EarningsEstimates.md +21 -0
- data/docs/EconomicCalendar.md +17 -0
- data/docs/EconomicCode.md +23 -0
- data/docs/EconomicData.md +19 -0
- data/docs/EconomicEvent.md +31 -0
- data/docs/Estimate.md +25 -0
- data/docs/Filing.md +31 -0
- data/docs/FinancialStatements.md +19 -0
- data/docs/FinancialsAsReported.md +21 -0
- data/docs/ForexCandles.md +29 -0
- data/docs/ForexSymbol.md +21 -0
- data/docs/Forexrates.md +19 -0
- data/docs/FundOwnership.md +19 -0
- data/docs/IPOCalendar.md +17 -0
- data/docs/IPOEvent.md +31 -0
- data/docs/Indicator.md +21 -0
- data/docs/Investor.md +23 -0
- data/docs/InvestorsOwnership.md +19 -0
- data/docs/LastBidAsk.md +25 -0
- data/docs/MajorDevelopments.md +19 -0
- data/docs/News.md +33 -0
- data/docs/NewsSentiment.md +27 -0
- data/docs/PatternRecognition.md +17 -0
- data/docs/PriceTarget.md +27 -0
- data/docs/Quote.md +25 -0
- data/docs/RecommendationTrend.md +29 -0
- data/docs/Report.md +37 -0
- data/docs/RevenueEstimates.md +21 -0
- data/docs/Sentiment.md +19 -0
- data/docs/Split.md +23 -0
- data/docs/Stock.md +21 -0
- data/docs/StockCandles.md +29 -0
- data/docs/StockTranscripts.md +25 -0
- data/docs/SupportResistance.md +17 -0
- data/docs/TechnicalAnalysis.md +19 -0
- data/docs/TickData.md +31 -0
- data/docs/TranscriptContent.md +19 -0
- data/docs/TranscriptParticipant.md +19 -0
- data/docs/Trend.md +17 -0
- data/docs/UpgradeDowngrade.md +27 -0
- data/finnhub_ruby-0.0.1.gem +0 -0
- data/finnhub_ruby-0.0.2.gem +0 -0
- data/finnhub_ruby.gemspec +39 -0
- data/git_push.sh +58 -0
- data/lib/finnhub_ruby.rb +99 -0
- data/lib/finnhub_ruby/api/default_api.rb +3142 -0
- data/lib/finnhub_ruby/api_client.rb +389 -0
- data/lib/finnhub_ruby/api_error.rb +57 -0
- data/lib/finnhub_ruby/configuration.rb +248 -0
- data/lib/finnhub_ruby/models/aggregate_indicators.rb +215 -0
- data/lib/finnhub_ruby/models/basic_financials.rb +226 -0
- data/lib/finnhub_ruby/models/company.rb +267 -0
- data/lib/finnhub_ruby/models/company_executive.rb +219 -0
- data/lib/finnhub_ruby/models/company_news_statistics.rb +227 -0
- data/lib/finnhub_ruby/models/company_profile.rb +477 -0
- data/lib/finnhub_ruby/models/company_profile2.rb +317 -0
- data/lib/finnhub_ruby/models/country_metadata.rb +257 -0
- data/lib/finnhub_ruby/models/covid_info.rb +237 -0
- data/lib/finnhub_ruby/models/crypto_candles.rb +279 -0
- data/lib/finnhub_ruby/models/crypto_symbol.rb +227 -0
- data/lib/finnhub_ruby/models/development.rb +237 -0
- data/lib/finnhub_ruby/models/dividends.rb +277 -0
- data/lib/finnhub_ruby/models/earning_estimate.rb +247 -0
- data/lib/finnhub_ruby/models/earning_release.rb +287 -0
- data/lib/finnhub_ruby/models/earning_result.rb +237 -0
- data/lib/finnhub_ruby/models/earnings_calendar.rb +209 -0
- data/lib/finnhub_ruby/models/earnings_call_transcripts.rb +291 -0
- data/lib/finnhub_ruby/models/earnings_call_transcripts_list.rb +219 -0
- data/lib/finnhub_ruby/models/earnings_estimates.rb +229 -0
- data/lib/finnhub_ruby/models/economic_calendar.rb +209 -0
- data/lib/finnhub_ruby/models/economic_code.rb +237 -0
- data/lib/finnhub_ruby/models/economic_data.rb +219 -0
- data/lib/finnhub_ruby/models/economic_event.rb +277 -0
- data/lib/finnhub_ruby/models/estimate.rb +247 -0
- data/lib/finnhub_ruby/models/filing.rb +277 -0
- data/lib/finnhub_ruby/models/financial_statements.rb +219 -0
- data/lib/finnhub_ruby/models/financials_as_reported.rb +229 -0
- data/lib/finnhub_ruby/models/forex_candles.rb +279 -0
- data/lib/finnhub_ruby/models/forex_symbol.rb +227 -0
- data/lib/finnhub_ruby/models/forexrates.rb +216 -0
- data/lib/finnhub_ruby/models/fund_ownership.rb +219 -0
- data/lib/finnhub_ruby/models/indicator.rb +227 -0
- data/lib/finnhub_ruby/models/investor.rb +237 -0
- data/lib/finnhub_ruby/models/investors_ownership.rb +219 -0
- data/lib/finnhub_ruby/models/ipo_calendar.rb +209 -0
- data/lib/finnhub_ruby/models/ipo_event.rb +277 -0
- data/lib/finnhub_ruby/models/last_bid_ask.rb +247 -0
- data/lib/finnhub_ruby/models/major_developments.rb +219 -0
- data/lib/finnhub_ruby/models/news.rb +287 -0
- data/lib/finnhub_ruby/models/news_sentiment.rb +255 -0
- data/lib/finnhub_ruby/models/pattern_recognition.rb +209 -0
- data/lib/finnhub_ruby/models/price_target.rb +257 -0
- data/lib/finnhub_ruby/models/quote.rb +247 -0
- data/lib/finnhub_ruby/models/recommendation_trend.rb +267 -0
- data/lib/finnhub_ruby/models/report.rb +306 -0
- data/lib/finnhub_ruby/models/revenue_estimates.rb +229 -0
- data/lib/finnhub_ruby/models/sentiment.rb +217 -0
- data/lib/finnhub_ruby/models/split.rb +237 -0
- data/lib/finnhub_ruby/models/stock.rb +227 -0
- data/lib/finnhub_ruby/models/stock_candles.rb +279 -0
- data/lib/finnhub_ruby/models/stock_transcripts.rb +247 -0
- data/lib/finnhub_ruby/models/support_resistance.rb +209 -0
- data/lib/finnhub_ruby/models/technical_analysis.rb +216 -0
- data/lib/finnhub_ruby/models/tick_data.rb +285 -0
- data/lib/finnhub_ruby/models/transcript_content.rb +219 -0
- data/lib/finnhub_ruby/models/transcript_participant.rb +217 -0
- data/lib/finnhub_ruby/models/trend.rb +207 -0
- data/lib/finnhub_ruby/models/upgrade_downgrade.rb +257 -0
- data/lib/finnhub_ruby/version.rb +15 -0
- data/release.sh +2 -0
- data/spec/api/default_api_spec.rb +638 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/aggregate_indicators_spec.rb +47 -0
- data/spec/models/basic_financials_spec.rb +53 -0
- data/spec/models/company_executive_spec.rb +47 -0
- data/spec/models/company_news_statistics_spec.rb +53 -0
- data/spec/models/company_profile2_spec.rb +107 -0
- data/spec/models/company_profile_spec.rb +203 -0
- data/spec/models/company_spec.rb +77 -0
- data/spec/models/country_metadata_spec.rb +71 -0
- data/spec/models/covid_info_spec.rb +59 -0
- data/spec/models/crypto_candles_spec.rb +77 -0
- data/spec/models/crypto_symbol_spec.rb +53 -0
- data/spec/models/development_spec.rb +59 -0
- data/spec/models/dividends_spec.rb +83 -0
- data/spec/models/earning_estimate_spec.rb +65 -0
- data/spec/models/earning_release_spec.rb +89 -0
- data/spec/models/earning_result_spec.rb +59 -0
- data/spec/models/earnings_calendar_spec.rb +41 -0
- data/spec/models/earnings_call_transcripts_list_spec.rb +47 -0
- data/spec/models/earnings_call_transcripts_spec.rb +89 -0
- data/spec/models/earnings_estimates_spec.rb +53 -0
- data/spec/models/economic_calendar_spec.rb +41 -0
- data/spec/models/economic_code_spec.rb +59 -0
- data/spec/models/economic_data_spec.rb +47 -0
- data/spec/models/economic_event_spec.rb +83 -0
- data/spec/models/estimate_spec.rb +65 -0
- data/spec/models/filing_spec.rb +83 -0
- data/spec/models/financial_statements_spec.rb +47 -0
- data/spec/models/financials_as_reported_spec.rb +53 -0
- data/spec/models/forex_candles_spec.rb +77 -0
- data/spec/models/forex_symbol_spec.rb +53 -0
- data/spec/models/forexrates_spec.rb +47 -0
- data/spec/models/fund_ownership_spec.rb +47 -0
- data/spec/models/indicator_spec.rb +53 -0
- data/spec/models/investor_spec.rb +59 -0
- data/spec/models/investors_ownership_spec.rb +47 -0
- data/spec/models/ipo_calendar_spec.rb +41 -0
- data/spec/models/ipo_event_spec.rb +83 -0
- data/spec/models/last_bid_ask_spec.rb +65 -0
- data/spec/models/major_developments_spec.rb +47 -0
- data/spec/models/news_sentiment_spec.rb +71 -0
- data/spec/models/news_spec.rb +89 -0
- data/spec/models/pattern_recognition_spec.rb +41 -0
- data/spec/models/price_target_spec.rb +71 -0
- data/spec/models/quote_spec.rb +65 -0
- data/spec/models/recommendation_trend_spec.rb +77 -0
- data/spec/models/report_spec.rb +101 -0
- data/spec/models/revenue_estimates_spec.rb +53 -0
- data/spec/models/sentiment_spec.rb +47 -0
- data/spec/models/split_spec.rb +59 -0
- data/spec/models/stock_candles_spec.rb +77 -0
- data/spec/models/stock_spec.rb +53 -0
- data/spec/models/stock_transcripts_spec.rb +65 -0
- data/spec/models/support_resistance_spec.rb +41 -0
- data/spec/models/technical_analysis_spec.rb +47 -0
- data/spec/models/tick_data_spec.rb +83 -0
- data/spec/models/transcript_content_spec.rb +47 -0
- data/spec/models/transcript_participant_spec.rb +47 -0
- data/spec/models/trend_spec.rb +41 -0
- data/spec/models/upgrade_downgrade_spec.rb +71 -0
- data/spec/spec_helper.rb +111 -0
- data/test.rb +139 -0
- metadata +364 -0
data/docs/ForexSymbol.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# FinnhubRuby::ForexSymbol
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**description** | **String** | Symbol description | [optional]
|
8
|
+
**display_symbol** | **String** | Display symbol name. | [optional]
|
9
|
+
**symbol** | **String** | Unique symbol used to identify this symbol used in <code>/forex/candle</code> endpoint. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'FinnhubRuby'
|
15
|
+
|
16
|
+
instance = FinnhubRuby::ForexSymbol.new(description: null,
|
17
|
+
display_symbol: null,
|
18
|
+
symbol: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/Forexrates.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# FinnhubRuby::Forexrates
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**base** | **String** | Base currency. | [optional]
|
8
|
+
**quote** | [**Object**](.md) | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'FinnhubRuby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::Forexrates.new(base: null,
|
16
|
+
quote: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# FinnhubRuby::FundOwnership
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Symbol of the company. | [optional]
|
8
|
+
**ownership** | **Array<Object>** | Array of investors with detailed information about their holdings. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'FinnhubRuby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::FundOwnership.new(symbol: null,
|
16
|
+
ownership: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/IPOCalendar.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# FinnhubRuby::IPOCalendar
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**ipo_calendar** | **Array<Object>** | Array of IPO events. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'FinnhubRuby'
|
13
|
+
|
14
|
+
instance = FinnhubRuby::IPOCalendar.new(ipo_calendar: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/IPOEvent.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# FinnhubRuby::IPOEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Symbol. | [optional]
|
8
|
+
**date** | **Date** | IPO date. | [optional]
|
9
|
+
**exchange** | **String** | Exchange. | [optional]
|
10
|
+
**name** | **String** | Company's name. | [optional]
|
11
|
+
**status** | **String** | IPO status. Can take 1 of the following values: <code>expected</code>,<code>priced</code>,<code>withdrawn</code>,<code>filed</code> | [optional]
|
12
|
+
**price** | **String** | Projected price or price range. | [optional]
|
13
|
+
**number_of_shares** | **Integer** | Number of shares offered during the IPO. | [optional]
|
14
|
+
**total_shares_value** | **Integer** | Total shares value. | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'FinnhubRuby'
|
20
|
+
|
21
|
+
instance = FinnhubRuby::IPOEvent.new(symbol: null,
|
22
|
+
date: null,
|
23
|
+
exchange: null,
|
24
|
+
name: null,
|
25
|
+
status: null,
|
26
|
+
price: null,
|
27
|
+
number_of_shares: null,
|
28
|
+
total_shares_value: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/Indicator.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# FinnhubRuby::Indicator
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**buy** | **Integer** | Number of buy signals | [optional]
|
8
|
+
**neutral** | **Integer** | Number of neutral signals | [optional]
|
9
|
+
**sell** | **Integer** | Number of sell signals | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'FinnhubRuby'
|
15
|
+
|
16
|
+
instance = FinnhubRuby::Indicator.new(buy: null,
|
17
|
+
neutral: null,
|
18
|
+
sell: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/Investor.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# FinnhubRuby::Investor
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Investor's name. | [optional]
|
8
|
+
**share** | **Integer** | Number of shares held by the investor. | [optional]
|
9
|
+
**change** | **Integer** | Number of share changed (net buy or sell) from the last period. | [optional]
|
10
|
+
**filing_date** | **Date** | Filing date. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'FinnhubRuby'
|
16
|
+
|
17
|
+
instance = FinnhubRuby::Investor.new(name: null,
|
18
|
+
share: null,
|
19
|
+
change: null,
|
20
|
+
filing_date: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# FinnhubRuby::InvestorsOwnership
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Symbol of the company. | [optional]
|
8
|
+
**ownership** | **Array<Object>** | Array of investors with detailed information about their holdings. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'FinnhubRuby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::InvestorsOwnership.new(symbol: null,
|
16
|
+
ownership: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/LastBidAsk.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# FinnhubRuby::LastBidAsk
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**b** | **Float** | Bid price. | [optional]
|
8
|
+
**a** | **Float** | Ask price. | [optional]
|
9
|
+
**bv** | **Float** | Bid volume. | [optional]
|
10
|
+
**av** | **Float** | Ask volume. | [optional]
|
11
|
+
**t** | **Integer** | Reference UNIX timestamp in ms. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'FinnhubRuby'
|
17
|
+
|
18
|
+
instance = FinnhubRuby::LastBidAsk.new(b: null,
|
19
|
+
a: null,
|
20
|
+
bv: null,
|
21
|
+
av: null,
|
22
|
+
t: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# FinnhubRuby::MajorDevelopments
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Company symbol. | [optional]
|
8
|
+
**major_development** | **Array<Object>** | Array of major developments. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'FinnhubRuby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::MajorDevelopments.new(symbol: null,
|
16
|
+
major_development: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/News.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# FinnhubRuby::News
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**category** | **String** | News category. | [optional]
|
8
|
+
**datetime** | **Integer** | Published time in UNIX timestamp. | [optional]
|
9
|
+
**headline** | **String** | News headline. | [optional]
|
10
|
+
**id** | **Integer** | News ID. This value can be used for <code>minId</code> params to get the latest news only. | [optional]
|
11
|
+
**image** | **String** | Thumbnail image URL. | [optional]
|
12
|
+
**related** | **String** | Related stocks and companies mentioned in the article. | [optional]
|
13
|
+
**source** | **String** | News source. | [optional]
|
14
|
+
**summary** | **String** | News summary. | [optional]
|
15
|
+
**url** | **String** | URL of the original article. | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'FinnhubRuby'
|
21
|
+
|
22
|
+
instance = FinnhubRuby::News.new(category: null,
|
23
|
+
datetime: null,
|
24
|
+
headline: null,
|
25
|
+
id: null,
|
26
|
+
image: null,
|
27
|
+
related: null,
|
28
|
+
source: null,
|
29
|
+
summary: null,
|
30
|
+
url: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# FinnhubRuby::NewsSentiment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**buzz** | [**CompanyNewsStatistics**](CompanyNewsStatistics.md) | | [optional]
|
8
|
+
**company_news_score** | **Float** | News score. | [optional]
|
9
|
+
**sector_average_bullish_percent** | **Float** | Sector average bullish percent. | [optional]
|
10
|
+
**sector_average_news_score** | **Float** | Sectore average score. | [optional]
|
11
|
+
**sentiment** | [**Sentiment**](Sentiment.md) | | [optional]
|
12
|
+
**symbol** | **String** | Requested symbol. | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'FinnhubRuby'
|
18
|
+
|
19
|
+
instance = FinnhubRuby::NewsSentiment.new(buzz: null,
|
20
|
+
company_news_score: null,
|
21
|
+
sector_average_bullish_percent: null,
|
22
|
+
sector_average_news_score: null,
|
23
|
+
sentiment: null,
|
24
|
+
symbol: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# FinnhubRuby::PatternRecognition
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**points** | **Array<Object>** | Array of patterns. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'FinnhubRuby'
|
13
|
+
|
14
|
+
instance = FinnhubRuby::PatternRecognition.new(points: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/PriceTarget.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# FinnhubRuby::PriceTarget
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Company symbol. | [optional]
|
8
|
+
**target_high** | **Float** | Highes analysts' target. | [optional]
|
9
|
+
**target_low** | **Float** | Lowest analysts' target. | [optional]
|
10
|
+
**target_mean** | **Float** | Mean of all analysts' targets. | [optional]
|
11
|
+
**target_median** | **Float** | Median of all analysts' targets. | [optional]
|
12
|
+
**last_updated** | **DateTime** | Updated time of the data | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'FinnhubRuby'
|
18
|
+
|
19
|
+
instance = FinnhubRuby::PriceTarget.new(symbol: null,
|
20
|
+
target_high: null,
|
21
|
+
target_low: null,
|
22
|
+
target_mean: null,
|
23
|
+
target_median: null,
|
24
|
+
last_updated: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
data/docs/Quote.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# FinnhubRuby::Quote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**o** | **Float** | Open price of the day | [optional]
|
8
|
+
**h** | **Float** | High price of the day | [optional]
|
9
|
+
**l** | **Float** | Low price of the day | [optional]
|
10
|
+
**c** | **Float** | Current price | [optional]
|
11
|
+
**pc** | **Float** | Previous close price | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'FinnhubRuby'
|
17
|
+
|
18
|
+
instance = FinnhubRuby::Quote.new(o: null,
|
19
|
+
h: null,
|
20
|
+
l: null,
|
21
|
+
c: null,
|
22
|
+
pc: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# FinnhubRuby::RecommendationTrend
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Company symbol. | [optional]
|
8
|
+
**buy** | **Integer** | Number of recommendations that fall into the Buy category | [optional]
|
9
|
+
**hold** | **Integer** | Number of recommendations that fall into the Hold category | [optional]
|
10
|
+
**period** | **String** | Updated period | [optional]
|
11
|
+
**sell** | **Integer** | Number of recommendations that fall into the Sell category | [optional]
|
12
|
+
**strong_buy** | **Integer** | Number of recommendations that fall into the Strong Buy category | [optional]
|
13
|
+
**strong_sell** | **Integer** | Number of recommendations that fall into the Strong Sell category | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'FinnhubRuby'
|
19
|
+
|
20
|
+
instance = FinnhubRuby::RecommendationTrend.new(symbol: null,
|
21
|
+
buy: null,
|
22
|
+
hold: null,
|
23
|
+
period: null,
|
24
|
+
sell: null,
|
25
|
+
strong_buy: null,
|
26
|
+
strong_sell: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
data/docs/Report.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# FinnhubRuby::Report
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**access_number** | **String** | Access number. | [optional]
|
8
|
+
**symbol** | **String** | Symbol. | [optional]
|
9
|
+
**cik** | **String** | CIK. | [optional]
|
10
|
+
**year** | **Integer** | Year. | [optional]
|
11
|
+
**quarter** | **Integer** | Quarter. | [optional]
|
12
|
+
**form** | **String** | Form type. | [optional]
|
13
|
+
**start_date** | **DateTime** | Period start date <code>%Y-%m-%d %H:%M:%S</code>. | [optional]
|
14
|
+
**end_date** | **DateTime** | Period end date <code>%Y-%m-%d %H:%M:%S</code>. | [optional]
|
15
|
+
**filed_date** | **DateTime** | Filed date <code>%Y-%m-%d %H:%M:%S</code>. | [optional]
|
16
|
+
**accepted_date** | **DateTime** | Accepted date <code>%Y-%m-%d %H:%M:%S</code>. | [optional]
|
17
|
+
**report** | [**Object**](.md) | | [optional]
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'FinnhubRuby'
|
23
|
+
|
24
|
+
instance = FinnhubRuby::Report.new(access_number: null,
|
25
|
+
symbol: null,
|
26
|
+
cik: null,
|
27
|
+
year: null,
|
28
|
+
quarter: null,
|
29
|
+
form: null,
|
30
|
+
start_date: null,
|
31
|
+
end_date: null,
|
32
|
+
filed_date: null,
|
33
|
+
accepted_date: null,
|
34
|
+
report: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# FinnhubRuby::RevenueEstimates
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**data** | **Array<Object>** | List of estimates | [optional]
|
8
|
+
**freq** | **String** | Frequency: annual or quarterly. | [optional]
|
9
|
+
**symbol** | **String** | Company symbol. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'FinnhubRuby'
|
15
|
+
|
16
|
+
instance = FinnhubRuby::RevenueEstimates.new(data: null,
|
17
|
+
freq: null,
|
18
|
+
symbol: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|