dukascopy-python 5.0.0__tar.gz → 6.0.0__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.
Files changed (23) hide show
  1. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/PKG-INFO +2 -1
  2. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/README.md +1 -0
  3. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/__init__.py +2 -2
  4. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/impl/v2/__init__.py +1 -1
  5. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python.egg-info/PKG-INFO +2 -1
  6. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/pyproject.toml +1 -1
  7. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/LICENSE +0 -0
  8. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/compat/__init__.py +0 -0
  9. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/compat/instruments.py +0 -0
  10. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/core/__init__.py +0 -0
  11. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/core/http.py +0 -0
  12. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/core/interfaces.py +0 -0
  13. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/core/logger.py +0 -0
  14. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/core/utils.py +0 -0
  15. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/impl/v1/__init__.py +0 -0
  16. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/instruments/__init__.py +0 -0
  17. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/instruments/generator.py +0 -0
  18. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python/instruments/instruments.py +0 -0
  19. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python.egg-info/SOURCES.txt +0 -0
  20. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python.egg-info/dependency_links.txt +0 -0
  21. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python.egg-info/requires.txt +0 -0
  22. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/dukascopy_python.egg-info/top_level.txt +0 -0
  23. {dukascopy_python-5.0.0 → dukascopy_python-6.0.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dukascopy-python
3
- Version: 5.0.0
3
+ Version: 6.0.0
4
4
  Summary: Download and stream historical price data for variety of financial instruments (Forex, Commodities and Indices) from Dukascopy Bank SA.
5
5
  Author-email: Eghosa Osayande <osayandeeghosam@gmail.com>
6
6
  License: MIT License
@@ -39,6 +39,7 @@ Requires-Dist: twine; extra == "dev"
39
39
  Dynamic: license-file
40
40
 
41
41
  # dukascopy-python
42
+ [![PyPI Downloads](https://static.pepy.tech/badge/dukascopy-python)](https://pepy.tech/projects/dukascopy-python)
42
43
 
43
44
  Download historical financial market data from [Dukascopy Bank SA](https://www.dukascopy.com), including tick-level prices and OHLCV candles for Forex, commodities, indices, and other financial instruments.
44
45
 
@@ -1,4 +1,5 @@
1
1
  # dukascopy-python
2
+ [![PyPI Downloads](https://static.pepy.tech/badge/dukascopy-python)](https://pepy.tech/projects/dukascopy-python)
2
3
 
3
4
  Download historical financial market data from [Dukascopy Bank SA](https://www.dukascopy.com), including tick-level prices and OHLCV candles for Forex, commodities, indices, and other financial instruments.
4
5
 
@@ -41,9 +41,9 @@ def set_default_version(version: int):
41
41
 
42
42
  def _create_data_feed(
43
43
  version: int,
44
- session: requests.Session,
44
+ session: "requests.Session",
45
45
  **kw,
46
- ) -> DataFeed:
46
+ ) -> "DataFeed":
47
47
 
48
48
  if version == 1:
49
49
  from dukascopy_python.impl.v1 import DataFeedV1
@@ -241,7 +241,7 @@ class ApiV2:
241
241
  t / 1000,
242
242
  tz=timezone.utc,
243
243
  ),
244
- open=round(o),
244
+ open=o,
245
245
  high=h,
246
246
  low=l,
247
247
  close=c,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dukascopy-python
3
- Version: 5.0.0
3
+ Version: 6.0.0
4
4
  Summary: Download and stream historical price data for variety of financial instruments (Forex, Commodities and Indices) from Dukascopy Bank SA.
5
5
  Author-email: Eghosa Osayande <osayandeeghosam@gmail.com>
6
6
  License: MIT License
@@ -39,6 +39,7 @@ Requires-Dist: twine; extra == "dev"
39
39
  Dynamic: license-file
40
40
 
41
41
  # dukascopy-python
42
+ [![PyPI Downloads](https://static.pepy.tech/badge/dukascopy-python)](https://pepy.tech/projects/dukascopy-python)
42
43
 
43
44
  Download historical financial market data from [Dukascopy Bank SA](https://www.dukascopy.com), including tick-level prices and OHLCV candles for Forex, commodities, indices, and other financial instruments.
44
45
 
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "dukascopy-python"
9
- version = "5.0.0"
9
+ version = "6.0.0"
10
10
  description = "Download and stream historical price data for variety of financial instruments (Forex, Commodities and Indices) from Dukascopy Bank SA."
11
11
  readme = "README.md"
12
12
  authors = [