eodhd.rb 0.19.2 → 0.19.3
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 +4 -4
- data/CHANGELOG +176 -134
- data/lib/Eodhd/VERSION.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf9f799dd630f653d4eabbde725b6eda7345f00c4ded60708a1d973ffad84035
|
|
4
|
+
data.tar.gz: 7fa8162ea63990980612bd56ea1b665783017da8a5faa2bbb61e7eb8942e16d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0413f143de4c4653d932b7949cc0bef9e2d7c0eee72a118067edbbe437169f19276beaa862ee5678d0aeaf9a85e169c2ebdaa2eef0be5cd2ab04cf590df7cdf7
|
|
7
|
+
data.tar.gz: 645045d3b3fdb3c2a33ea41e36af1c4bf7ee52b4d15ae15b99741317cefe802e051f5614a3a336f5bc790de66e1d43f696284f1edb4795f22de2e74dd13f4daa
|
data/CHANGELOG
CHANGED
|
@@ -1,134 +1,176 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## 20260821
|
|
4
|
+
|
|
5
|
+
0.19.3: Rewrite the CHANGELOG in the form changelogger writes.
|
|
6
|
+
|
|
7
|
+
1. ~ CHANGELOG: The Keep a Changelog form, `## [version] - date, summary` over `- ` bullets, --> the form the rest of these gems use: a `## YYYYMMDD` heading per date, newest first, holding each of that date's versions as a summary line over numbered items. No item was reworded, dropped or reordered, and all 111 are still here.
|
|
8
|
+
2. ~ CHANGELOG: 20260719 carried three headings, for 0.18.1, 0.19.0 and 0.19.1, so one day's work read as three; 20251005 carried two, for 0.16.0 and 0.17.0. One heading each now, the versions under them in the same order they were in.
|
|
9
|
+
3. ~ CHANGELOG: The version summaries are the commit subjects, which three of them had not been: 0.19.2 read "populate the .gitignore" against a commit saying `~ .gitignore: + current default contents`, 0.19.1 likewise, and 0.19.0 differed in case. Every other repo here keeps the two identical, which is what makes a summary checkable against something.
|
|
10
|
+
4. ~ CHANGELOG: /# eodhd.rb\/CHANGELOG/# CHANGELOG/, the file's own name being no part of what it records.
|
|
11
|
+
5. ~ Eodhd/VERSION: /0.19.2/0.19.3/
|
|
12
|
+
|
|
13
|
+
0.19.2: ~ .gitignore: + current default contents
|
|
14
|
+
|
|
15
|
+
1. ~ .gitignore: + current default contents. The file held only its filename comment, having been committed that way.
|
|
16
|
+
2. ~ Eodhd/VERSION: /0.19.1/0.19.2/
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## 20260719
|
|
20
|
+
|
|
21
|
+
0.19.1: ~ README.md: + a blank line before each code fence.
|
|
22
|
+
|
|
23
|
+
1. ~ README.md: + a blank line before each code fence, without which the highlighting does not render.
|
|
24
|
+
2. ~ Eodhd/VERSION: /0.19.0/0.19.1/
|
|
25
|
+
|
|
26
|
+
0.19.0: Complete the fundamentals model wrapping.
|
|
27
|
+
|
|
28
|
+
1. + Eodhd::Fundamentals::Financials::BalanceSheet::Entry: Typed entry for a balance sheet period (64 fields).
|
|
29
|
+
2. + Eodhd::Fundamentals::Financials::IncomeStatement::Entry: Typed entry for an income statement period (34 fields).
|
|
30
|
+
3. + Eodhd::Fundamentals::Financials::CashFlow::Entry: Typed entry for a cash flow period (32 fields).
|
|
31
|
+
4. + Eodhd::Fundamentals::Earnings::AnnualEntry
|
|
32
|
+
5. + Eodhd::Fundamentals::Earnings::HistoryEntry
|
|
33
|
+
6. + Eodhd::Fundamentals::Earnings::TrendEntry
|
|
34
|
+
7. + Eodhd::Fundamentals::Holders::Institution: Typed entry for an institutional holder.
|
|
35
|
+
8. + Eodhd::Fundamentals::Holders::Fund: Typed entry for a fund holder.
|
|
36
|
+
9. + Eodhd::Fundamentals::InsiderTransaction: Typed entry for an insider transaction.
|
|
37
|
+
10. + Eodhd::Fundamentals::OutstandingShares::Entry: Typed entry for an outstanding shares data point.
|
|
38
|
+
11. + Eodhd::Fundamentals::OutstandingShares: Wraps annual and quarterly OutstandingShares::Entry arrays.
|
|
39
|
+
12. + Eodhd::Fundamentals::Financials::BalanceSheet
|
|
40
|
+
13. + Eodhd::Fundamentals::Financials::IncomeStatement
|
|
41
|
+
14. + Eodhd::Fundamentals::Financials::CashFlow
|
|
42
|
+
15. ~ Eodhd::Fundamentals::Financials: Build BalanceSheet/IncomeStatement/CashFlow instead of the shared Statement.
|
|
43
|
+
16. ~ Eodhd::Fundamentals::Financials::BalanceSheet#yearly, #quarterly: Now sorted arrays of typed entries, was raw hashes.
|
|
44
|
+
17. ~ Eodhd::Fundamentals::Earnings#annual, #history, #trend: Now sorted arrays of typed entries, was raw hashes.
|
|
45
|
+
18. ~ Eodhd::Fundamentals::Holders#institutions, #funds: Now arrays of typed entries, was raw hashes.
|
|
46
|
+
19. ~ Eodhd::Fundamentals#insider_transactions: Now a sorted array of InsiderTransaction, was a raw hash.
|
|
47
|
+
20. ~ Eodhd::Fundamentals#outstanding_shares: Now an OutstandingShares object, was a raw hash.
|
|
48
|
+
21. + test/Eodhd/Fundamentals_test.rb: Cover the newly wrapped entry types and collections.
|
|
49
|
+
22. - Eodhd::Fundamentals::Financials::Statement: Replaced by the three per-statement classes.
|
|
50
|
+
23. ~ Eodhd/VERSION: /0.18.1/0.19.0/
|
|
51
|
+
|
|
52
|
+
0.18.1: urlencode helper naming consistency
|
|
53
|
+
|
|
54
|
+
1. /Thoran::String::UrlEncode#url_encode/Thoran::String::Urlencode#urlencode/ (url_encode kept as an alias).
|
|
55
|
+
2. /Thoran::Hash::XWwwFormUrlEncode#x_www_form_url_encode/Thoran::Hash::XWwwFormUrlencode#x_www_form_urlencode/ (x_www_form_url_encode kept as an alias).
|
|
56
|
+
3. ~ lib/Hash/x_www_form_urlencode.rb: Renamed urlencode require path.
|
|
57
|
+
4. ~ eodhd.rb.gemspec: - spec.date (RubyGems stamps the build date); tidy spec.require_paths placement.
|
|
58
|
+
5. ~ Eodhd/VERSION: /0.18.0/0.18.1/
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## 20260320
|
|
62
|
+
|
|
63
|
+
0.18.0: + fundamentals endpoint
|
|
64
|
+
|
|
65
|
+
1. + Eodhd::Fundamentals: Model for fundamental data with typed sub-objects.
|
|
66
|
+
2. + Eodhd::Fundamentals::General
|
|
67
|
+
3. + Eodhd::Fundamentals::Highlights
|
|
68
|
+
4. + Eodhd::Fundamentals::Valuation
|
|
69
|
+
5. + Eodhd::Fundamentals::SharesStats
|
|
70
|
+
6. + Eodhd::Fundamentals::Technicals
|
|
71
|
+
7. + Eodhd::Fundamentals::SplitsDividends
|
|
72
|
+
8. + Eodhd::Fundamentals::AnalystRatings
|
|
73
|
+
9. + Eodhd::Fundamentals::Holders
|
|
74
|
+
10. + Eodhd::Fundamentals::ESGScores
|
|
75
|
+
11. + Eodhd::Fundamentals::Earnings
|
|
76
|
+
12. + Eodhd::Fundamentals::Financials
|
|
77
|
+
13. + Eodhd::Fundamentals::Financials::Statement
|
|
78
|
+
14. + Eodhd::Client#fundamentals: Fetch fundamental data for a symbol.
|
|
79
|
+
15. + Eodhd#fundamentals: Facade method for fundamental data.
|
|
80
|
+
16. + test/Eodhd/Fundamentals_test.rb
|
|
81
|
+
17. ~ test/Eodhd/Client_test.rb: + tests for fundamentals endpoint.
|
|
82
|
+
18. ~ test/Eodhd_test.rb: + test for fundamentals facade method.
|
|
83
|
+
19. ~ test/helper.rb: + require 'minitest/mock' for minitest 6 compatibility.
|
|
84
|
+
20. ~ Eodhd: Move initialize, web_socket, stream to private.
|
|
85
|
+
21. ~ Eodhd: + safe navigation (&.) on exchange and exchange_symbol across all methods.
|
|
86
|
+
22. ~ Eodhd#intraday: + exchange_symbol argument.
|
|
87
|
+
23. ~ Eodhd#intraday: - default exchange_code of 'US'
|
|
88
|
+
24. ~ test/: Reorganise test files into test/Eodhd/ subdirectory.
|
|
89
|
+
25. - test/test_all.rb: Previously replaced by Rakefile.
|
|
90
|
+
26. /CHANGELOG.txt/CHANGELOG/
|
|
91
|
+
27. + LICENSE: MIT License.
|
|
92
|
+
28. ~ README.md: Rewrite with intraday, fundamentals, and WebSocket documentation.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## 20251005
|
|
96
|
+
|
|
97
|
+
0.17.0: + intraday endpoint
|
|
98
|
+
|
|
99
|
+
1. + Eodhd::Intraday: Model for intraday data.
|
|
100
|
+
2. + Eodhd::Client#intraday: Fetch intraday data for US stocks.
|
|
101
|
+
3. + Eodhd#intraday: Facade method for intraday data.
|
|
102
|
+
4. + Eodhd::Validations#validate_interval: Validation of intraday intervals (1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w, 1mo).
|
|
103
|
+
5. ~ Eodhd::Validations#validate_arguments: + interval argument.
|
|
104
|
+
6. ~ test/validations_test.rb: + tests for validate_interval.
|
|
105
|
+
7. ~ test/client_test.rb: + tests for intraday endpoint.
|
|
106
|
+
8. ~ test/eodhd_test.rb: + tests for intraday facade method.
|
|
107
|
+
|
|
108
|
+
0.16.0: + automated tests, + DefaultLogger, fix WebSocket bugs, improve validations
|
|
109
|
+
|
|
110
|
+
1. + Eodhd::DefaultLogger: A shared logger for Client and WebSocketClient.
|
|
111
|
+
2. ~ Eodhd::Client: Use DefaultLogger.
|
|
112
|
+
3. ~ Eodhd::Client#initialize: + logger, use_default_logger arguments.
|
|
113
|
+
4. + Eodhd::Client#use_logging?
|
|
114
|
+
5. ~ Eodhd::Validations: Move validate_arguments() from Client to Validations.
|
|
115
|
+
6. ~ Eodhd::Validations: Remove ! from all validation methods (validate_exchange_code, validate_symbol, etc).
|
|
116
|
+
7. ~ Eodhd::WebSocketClient: Use DefaultLogger, add logger attribute.
|
|
117
|
+
8. ~ Eodhd::WebSocketClient#initialize: + logger, use_default_logger arguments.
|
|
118
|
+
9. + Eodhd::WebSocketClient#use_logging?: Check if logging is enabled.
|
|
119
|
+
10. ~ Eodhd::WebSocketClient::Handler: Remove duplicate logger code.
|
|
120
|
+
11. ~ Eodhd::WebSocketClient::Handler#initialize: + logger argument.
|
|
121
|
+
12. ~ Eodhd::WebSocketClient::Handler#handle_response: Fix JSON parsing with proper StandardError rescue.
|
|
122
|
+
13. ~ Eodhd::WebSocketClient::Handler#log_error: Use instance logger with use_logging? check.
|
|
123
|
+
14. + test/validations_test.rb: Comprehensive validation tests with edge cases.
|
|
124
|
+
15. + test/client_test.rb: REST client tests with VCR for all endpoints.
|
|
125
|
+
16. + test/eodhd_test.rb: Facade delegation tests.
|
|
126
|
+
17. + test/web_socket_client_test.rb: WebSocket client tests with stubbed Iodine.
|
|
127
|
+
18. + test/helper.rb: VCR configuration with WebMock.
|
|
128
|
+
19. ~ eodhd.gemspec: Add iodine as runtime dependency.
|
|
129
|
+
20. ~ .gitignore: + Gemfile.lock.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## 20250916
|
|
133
|
+
|
|
134
|
+
0.15.0: Add validations, response logging, a version constant, and CHANGELOG.
|
|
135
|
+
|
|
136
|
+
1. + Eodhd::Validations
|
|
137
|
+
2. + Eodhd::Client#validate_arguments
|
|
138
|
+
3. ~ Eodhd::Client#exchange_symbol_list: Use validate_arguments().
|
|
139
|
+
4. ~ Eodhd::Client#eod_data: Use validate_arguments().
|
|
140
|
+
5. ~ Eodhd::Client#eod_bulk_last_day: Use validate_arguments().
|
|
141
|
+
6. + Eodhd::Client#log_response
|
|
142
|
+
7. ~ Eodhd::Client#do_request: Call log_request() after construction of args.
|
|
143
|
+
8. ~ Eodhd::Client#handle_response: Use log_response().
|
|
144
|
+
9. + Eodhd::VERSION
|
|
145
|
+
10. ~ eodhd.gemspec: Use Eodhd::VERSION and update the date.
|
|
146
|
+
11. + CHANGELOG.txt
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
## 20250326
|
|
150
|
+
|
|
151
|
+
0.14.2: Remove reference to currently unused library UnixTime.
|
|
152
|
+
|
|
153
|
+
1. ~ Eodhd::WebSocketClient: - require 'UnixTime'
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
## 20250323
|
|
157
|
+
|
|
158
|
+
0.14.1: Some fixes for the WebSocketClient interface.
|
|
159
|
+
|
|
160
|
+
1. ~ Eodhd::WebSocketClient: + attr_accessor :consumer
|
|
161
|
+
2. ~ Eodhd::WebSocketClient: /attr_accessor :symbols/attr_reader :symbols/
|
|
162
|
+
3. + Eodhd::WebSocketClient#symbols=
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
## 20250321
|
|
166
|
+
|
|
167
|
+
0.14.0: Add WebSockets.
|
|
168
|
+
|
|
169
|
+
1. + Eodhd::WebSocketClient
|
|
170
|
+
2. + Eodhd#web_socket
|
|
171
|
+
3. + Eodhd#stream
|
|
172
|
+
4. + Eodhd#us_quote_stream
|
|
173
|
+
5. + Eodhd#us_trade_stream
|
|
174
|
+
6. + Eodhd#forex_stream
|
|
175
|
+
7. + Eodhd#crypto_stream
|
|
176
|
+
8. ~ Eodhd::Error: lib/Eodhd/Client.rb --> lib/Eodhd/Error.rb
|
data/lib/Eodhd/VERSION.rb
CHANGED