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/Development.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# FinnhubRuby::Development
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Company symbol. | [optional]
|
8
|
+
**datetime** | **DateTime** | Published time in <code>YYYY-MM-DD HH:MM:SS</code> format. | [optional]
|
9
|
+
**headline** | **String** | Development headline. | [optional]
|
10
|
+
**description** | **String** | Development description. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'FinnhubRuby'
|
16
|
+
|
17
|
+
instance = FinnhubRuby::Development.new(symbol: null,
|
18
|
+
datetime: null,
|
19
|
+
headline: null,
|
20
|
+
description: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/Dividends.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# FinnhubRuby::Dividends
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Symbol. | [optional]
|
8
|
+
**date** | **Date** | Ex-Dividend date. | [optional]
|
9
|
+
**amount** | **Float** | Amount in local currency. | [optional]
|
10
|
+
**adjusted_amount** | **Float** | Adjusted dividend. | [optional]
|
11
|
+
**pay_date** | **Date** | Pay date. | [optional]
|
12
|
+
**record_date** | **Date** | Record date. | [optional]
|
13
|
+
**declaration_date** | **Date** | Declaration date. | [optional]
|
14
|
+
**currency** | **String** | Currency. | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'FinnhubRuby'
|
20
|
+
|
21
|
+
instance = FinnhubRuby::Dividends.new(symbol: null,
|
22
|
+
date: null,
|
23
|
+
amount: null,
|
24
|
+
adjusted_amount: null,
|
25
|
+
pay_date: null,
|
26
|
+
record_date: null,
|
27
|
+
declaration_date: null,
|
28
|
+
currency: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# FinnhubRuby::EarningEstimate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**eps_avg** | **Float** | Average EPS estimates. | [optional]
|
8
|
+
**eps_high** | **Float** | Highest estimate. | [optional]
|
9
|
+
**eps_low** | **Float** | Lowest estimate. | [optional]
|
10
|
+
**number_analysts** | **Integer** | Number of Analysts. | [optional]
|
11
|
+
**period** | **Date** | Period. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'FinnhubRuby'
|
17
|
+
|
18
|
+
instance = FinnhubRuby::EarningEstimate.new(eps_avg: null,
|
19
|
+
eps_high: null,
|
20
|
+
eps_low: null,
|
21
|
+
number_analysts: null,
|
22
|
+
period: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# FinnhubRuby::EarningRelease
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Symbol. | [optional]
|
8
|
+
**date** | **Date** | Date. | [optional]
|
9
|
+
**hour** | **String** | Indicates whether the earnings is announced before market open(<code>bmo</code>), after market close(<code>amc</code>), or during market hour(<code>dmh</code>). | [optional]
|
10
|
+
**year** | **Integer** | Earnings year. | [optional]
|
11
|
+
**quarter** | **Integer** | Earnings quarter. | [optional]
|
12
|
+
**eps_estimate** | **Float** | EPS estimate. | [optional]
|
13
|
+
**eps_actual** | **Float** | EPS actual. | [optional]
|
14
|
+
**revenue_estimate** | **Integer** | Revenue estimate. | [optional]
|
15
|
+
**revenue_actual** | **Integer** | Revenue actual. | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'FinnhubRuby'
|
21
|
+
|
22
|
+
instance = FinnhubRuby::EarningRelease.new(symbol: null,
|
23
|
+
date: null,
|
24
|
+
hour: null,
|
25
|
+
year: null,
|
26
|
+
quarter: null,
|
27
|
+
eps_estimate: null,
|
28
|
+
eps_actual: null,
|
29
|
+
revenue_estimate: null,
|
30
|
+
revenue_actual: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# FinnhubRuby::EarningResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**actual** | **Float** | Actual earning result. | [optional]
|
8
|
+
**estimate** | **Float** | Estimated earning. | [optional]
|
9
|
+
**period** | **Date** | Reported period. | [optional]
|
10
|
+
**symbol** | **String** | Company symbol. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'FinnhubRuby'
|
16
|
+
|
17
|
+
instance = FinnhubRuby::EarningResult.new(actual: null,
|
18
|
+
estimate: null,
|
19
|
+
period: null,
|
20
|
+
symbol: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# FinnhubRuby::EarningsCalendar
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**earnings_calendar** | **Array<Object>** | Array of earnings release. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'FinnhubRuby'
|
13
|
+
|
14
|
+
instance = FinnhubRuby::EarningsCalendar.new(earnings_calendar: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# FinnhubRuby::EarningsCallTranscripts
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Company symbol. | [optional]
|
8
|
+
**transcript** | **Array<Object>** | Transcript content. | [optional]
|
9
|
+
**participant** | **Array<Object>** | Participant list | [optional]
|
10
|
+
**audio** | **String** | Audio link. | [optional]
|
11
|
+
**id** | **String** | Transcript's ID. | [optional]
|
12
|
+
**title** | **String** | Title. | [optional]
|
13
|
+
**time** | **DateTime** | Time of the event. | [optional]
|
14
|
+
**year** | **Integer** | Year of earnings result in the case of earnings call transcript. | [optional]
|
15
|
+
**quarter** | **Integer** | Quarter of earnings result in the case of earnings call transcript. | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'FinnhubRuby'
|
21
|
+
|
22
|
+
instance = FinnhubRuby::EarningsCallTranscripts.new(symbol: null,
|
23
|
+
transcript: null,
|
24
|
+
participant: null,
|
25
|
+
audio: null,
|
26
|
+
id: null,
|
27
|
+
title: null,
|
28
|
+
time: null,
|
29
|
+
year: null,
|
30
|
+
quarter: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# FinnhubRuby::EarningsCallTranscriptsList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Company symbol. | [optional]
|
8
|
+
**transcripts** | **Array<Object>** | Array of transcripts' metadata | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'FinnhubRuby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::EarningsCallTranscriptsList.new(symbol: null,
|
16
|
+
transcripts: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# FinnhubRuby::EarningsEstimates
|
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::EarningsEstimates.new(data: null,
|
17
|
+
freq: null,
|
18
|
+
symbol: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# FinnhubRuby::EconomicCalendar
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**economic_calendar** | **Array<Object>** | Array of economic events. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'FinnhubRuby'
|
13
|
+
|
14
|
+
instance = FinnhubRuby::EconomicCalendar.new(economic_calendar: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# FinnhubRuby::EconomicCode
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **String** | Finnhub economic code used to get historical data | [optional]
|
8
|
+
**country** | **String** | Country | [optional]
|
9
|
+
**name** | **String** | Indicator name | [optional]
|
10
|
+
**unit** | **String** | Unit | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'FinnhubRuby'
|
16
|
+
|
17
|
+
instance = FinnhubRuby::EconomicCode.new(code: null,
|
18
|
+
country: null,
|
19
|
+
name: null,
|
20
|
+
unit: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# FinnhubRuby::EconomicData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**data** | **Array<Object>** | Array of economic data for requested code. | [optional]
|
8
|
+
**code** | **String** | Finnhub economic code | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'FinnhubRuby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::EconomicData.new(data: null,
|
16
|
+
code: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# FinnhubRuby::EconomicEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**actual** | **Float** | Actual release | [optional]
|
8
|
+
**prev** | **Float** | Previous release | [optional]
|
9
|
+
**country** | **String** | Country | [optional]
|
10
|
+
**unit** | **String** | Unit | [optional]
|
11
|
+
**estimate** | **Float** | Estimate | [optional]
|
12
|
+
**event** | **String** | Event | [optional]
|
13
|
+
**impact** | **String** | Impact level | [optional]
|
14
|
+
**time** | **String** | Release time | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'FinnhubRuby'
|
20
|
+
|
21
|
+
instance = FinnhubRuby::EconomicEvent.new(actual: null,
|
22
|
+
prev: null,
|
23
|
+
country: null,
|
24
|
+
unit: null,
|
25
|
+
estimate: null,
|
26
|
+
event: null,
|
27
|
+
impact: null,
|
28
|
+
time: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/Estimate.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# FinnhubRuby::Estimate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**revenue_avg** | **Integer** | Average revenue estimates. | [optional]
|
8
|
+
**revenue_high** | **Integer** | Highest estimate. | [optional]
|
9
|
+
**revenue_low** | **Integer** | Lowest estimate. | [optional]
|
10
|
+
**number_analysts** | **Integer** | Number of Analysts. | [optional]
|
11
|
+
**period** | **Date** | Period. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'FinnhubRuby'
|
17
|
+
|
18
|
+
instance = FinnhubRuby::Estimate.new(revenue_avg: null,
|
19
|
+
revenue_high: null,
|
20
|
+
revenue_low: null,
|
21
|
+
number_analysts: null,
|
22
|
+
period: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/Filing.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# FinnhubRuby::Filing
|
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
|
+
**form** | **String** | Form type. | [optional]
|
11
|
+
**filed_date** | **DateTime** | Filed date <code>%Y-%m-%d %H:%M:%S</code>. | [optional]
|
12
|
+
**accepted_date** | **DateTime** | Accepted date <code>%Y-%m-%d %H:%M:%S</code>. | [optional]
|
13
|
+
**report_url** | **String** | Report's URL. | [optional]
|
14
|
+
**filing_url** | **String** | Filing's URL. | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'FinnhubRuby'
|
20
|
+
|
21
|
+
instance = FinnhubRuby::Filing.new(access_number: null,
|
22
|
+
symbol: null,
|
23
|
+
cik: null,
|
24
|
+
form: null,
|
25
|
+
filed_date: null,
|
26
|
+
accepted_date: null,
|
27
|
+
report_url: null,
|
28
|
+
filing_url: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# FinnhubRuby::FinancialStatements
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Symbol of the company. | [optional]
|
8
|
+
**financials** | **Array<Object>** | An array of map of key, value pairs containing the data for each period. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'FinnhubRuby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::FinancialStatements.new(symbol: null,
|
16
|
+
financials: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# FinnhubRuby::FinancialsAsReported
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**symbol** | **String** | Symbol | [optional]
|
8
|
+
**cik** | **String** | CIK | [optional]
|
9
|
+
**data** | **Array<Object>** | Array of filings. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'FinnhubRuby'
|
15
|
+
|
16
|
+
instance = FinnhubRuby::FinancialsAsReported.new(symbol: null,
|
17
|
+
cik: null,
|
18
|
+
data: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# FinnhubRuby::ForexCandles
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**o** | **Array<Float>** | List of open prices for returned candles. | [optional]
|
8
|
+
**h** | **Array<Float>** | List of high prices for returned candles. | [optional]
|
9
|
+
**l** | **Array<Float>** | List of low prices for returned candles. | [optional]
|
10
|
+
**c** | **Array<Float>** | List of close prices for returned candles. | [optional]
|
11
|
+
**v** | **Array<Float>** | List of volume data for returned candles. | [optional]
|
12
|
+
**t** | **Array<Float>** | List of timestamp for returned candles. | [optional]
|
13
|
+
**s** | **String** | Status of the response. This field can either be ok or no_data. | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'FinnhubRuby'
|
19
|
+
|
20
|
+
instance = FinnhubRuby::ForexCandles.new(o: null,
|
21
|
+
h: null,
|
22
|
+
l: null,
|
23
|
+
c: null,
|
24
|
+
v: null,
|
25
|
+
t: null,
|
26
|
+
s: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|