finnhub-python 2.4.28__tar.gz → 2.4.30__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: finnhub-python
3
- Version: 2.4.28
3
+ Version: 2.4.30
4
4
  Summary: Finnhub API
5
5
  Home-page: https://finnhub.io/docs/api
6
6
  Author: Finnhub
@@ -25,7 +25,7 @@ Dynamic: summary
25
25
 
26
26
  - API documentation: https://finnhub.io/docs/api
27
27
  - API version: 1.0.0
28
- - Package version: 2.4.25
28
+ - Package version: 2.4.30
29
29
 
30
30
  ## Installation
31
31
 
@@ -139,6 +139,7 @@ print(finnhub_client.pattern_recognition('AAPL', 'D'))
139
139
 
140
140
  # Price target
141
141
  print(finnhub_client.price_target('AAPL'))
142
+ print(finnhub_client.historical_price_target('AAPL'))
142
143
 
143
144
  # Quote
144
145
  print(finnhub_client.quote('AAPL'))
@@ -2,7 +2,7 @@
2
2
 
3
3
  - API documentation: https://finnhub.io/docs/api
4
4
  - API version: 1.0.0
5
- - Package version: 2.4.25
5
+ - Package version: 2.4.30
6
6
 
7
7
  ## Installation
8
8
 
@@ -116,6 +116,7 @@ print(finnhub_client.pattern_recognition('AAPL', 'D'))
116
116
 
117
117
  # Price target
118
118
  print(finnhub_client.price_target('AAPL'))
119
+ print(finnhub_client.historical_price_target('AAPL'))
119
120
 
120
121
  # Quote
121
122
  print(finnhub_client.quote('AAPL'))
@@ -558,4 +558,24 @@ class Client:
558
558
  "symbol": symbol,
559
559
  "freq": freq
560
560
  })
561
-
561
+
562
+ def company_fcf_estimates(self, symbol, freq=None):
563
+ return self._get("/stock/fcf-estimate", params={
564
+ "symbol": symbol,
565
+ "freq": freq
566
+ })
567
+
568
+ def company_capex_estimates(self, symbol, freq=None):
569
+ return self._get("/stock/capex-estimate", params={
570
+ "symbol": symbol,
571
+ "freq": freq
572
+ })
573
+
574
+ def company_ocf_estimates(self, symbol, freq=None):
575
+ return self._get("/stock/ocf-estimate", params={
576
+ "symbol": symbol,
577
+ "freq": freq
578
+ })
579
+
580
+ def historical_price_target(self, symbol):
581
+ return self._get("/stock/historical-price-target", params={"symbol": symbol})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: finnhub-python
3
- Version: 2.4.28
3
+ Version: 2.4.30
4
4
  Summary: Finnhub API
5
5
  Home-page: https://finnhub.io/docs/api
6
6
  Author: Finnhub
@@ -25,7 +25,7 @@ Dynamic: summary
25
25
 
26
26
  - API documentation: https://finnhub.io/docs/api
27
27
  - API version: 1.0.0
28
- - Package version: 2.4.25
28
+ - Package version: 2.4.30
29
29
 
30
30
  ## Installation
31
31
 
@@ -139,6 +139,7 @@ print(finnhub_client.pattern_recognition('AAPL', 'D'))
139
139
 
140
140
  # Price target
141
141
  print(finnhub_client.price_target('AAPL'))
142
+ print(finnhub_client.historical_price_target('AAPL'))
142
143
 
143
144
  # Quote
144
145
  print(finnhub_client.quote('AAPL'))
@@ -3,7 +3,7 @@
3
3
  from setuptools import setup, find_packages # noqa: H301
4
4
 
5
5
  NAME = "finnhub-python"
6
- VERSION = "2.4.28"
6
+ VERSION = "2.4.30"
7
7
  REQUIRES = ["requests >= 2.22.0"]
8
8
 
9
9
  with open("README.md", "r") as fh:
File without changes