You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Report any bugs by opening an issue here: https://github.com/JECSand/yahoofinancials/issues
24
24
25
25
Overview
26
26
--------
27
27
A powerful financial data module used for pulling both fundamental and technical data from Yahoo Finance.
28
28
29
+
- New analytic methods in v1.20:
30
+
- get_insights()
31
+
- returns data for:
32
+
- 'instrumentInfo'
33
+
- 'companySnapshot'
34
+
- 'recommendation'
35
+
- 'sigDevs'
36
+
- 'secReports'
37
+
- get_recommendations()
38
+
39
+
- Example:
40
+
41
+
.. code-block:: python
42
+
43
+
print(YahooFinancials('C').get_recommendations())
44
+
45
+
- Example Output:
46
+
47
+
.. code-block:: javascript
48
+
49
+
{
50
+
"C": [
51
+
{
52
+
"recommendedSymbols": [
53
+
{
54
+
"score":0.239602,
55
+
"symbol":"BAC"
56
+
},
57
+
{
58
+
"score":0.225134,
59
+
"symbol":"JPM"
60
+
},
61
+
{
62
+
"score":0.167669,
63
+
"symbol":"WFC"
64
+
},
65
+
{
66
+
"score":0.145864,
67
+
"symbol":"GS"
68
+
},
69
+
{
70
+
"score":0.134071,
71
+
"symbol":"F"
72
+
}
73
+
],
74
+
"symbol":"C"
75
+
}
76
+
]
77
+
}
78
+
79
+
- As of Version 1.20, YahooFinancials supports a new optional parameter called flat_format.
80
+
- When `YahooFinancials(flat_format=True)`, financial statement data will return in a dict instead of a list. The keys of the dict will be the reporting dates.
81
+
- Default is False, to ensure backwards compatibility.
82
+
83
+
29
84
- As of Version 1.9, YahooFinancials supports optional parameters for asynchronous execution, proxies, and international requests.
30
85
31
86
.. code-block:: python
@@ -41,10 +96,6 @@ A powerful financial data module used for pulling both fundamental and technical
0 commit comments