dukascopy-python 5.0.0__py3-none-any.whl → 6.0.0__py3-none-any.whl

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.
@@ -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
 
@@ -1,4 +1,4 @@
1
- dukascopy_python/__init__.py,sha256=jL_rc3l9FhHyHDTPXaT2SCUdwei9ZqyIXoOX9YB1b8g,4442
1
+ dukascopy_python/__init__.py,sha256=gNwZhq2QPxpFO7QvmePdw1KqjGMVvpixLJrnBXaUfjU,4446
2
2
  dukascopy_python/compat/__init__.py,sha256=tO-mCbxqepv-mSeteojhVWcNYcNKMvm6Nz6azC7EwYY,12317
3
3
  dukascopy_python/compat/instruments.py,sha256=77W6bEzEIueLiNrpG84M-SZsNncer2a-koUTK96bthg,113680
4
4
  dukascopy_python/core/__init__.py,sha256=fzVJ_DSJnlZxKIdDsJ9nhFeRJC1BjuqD2dbpwGtBMtU,351
@@ -7,12 +7,12 @@ dukascopy_python/core/interfaces.py,sha256=pq7JgZKK9OBfIYMOtBGFLrnZL3YVoaR8cf1Wj
7
7
  dukascopy_python/core/logger.py,sha256=yskQSfxBkl6QlxG12h0d3TrJF8zJQx2EZmMdqVXV3xY,1225
8
8
  dukascopy_python/core/utils.py,sha256=rM8qwxy2lJUtjxSxSD5wWU9A6aG6GRYJo9inEe84-mY,4682
9
9
  dukascopy_python/impl/v1/__init__.py,sha256=UyhSQykT7l0W8wHZ2t1srkFBtIswmT9Q7wSadQuSt_o,9646
10
- dukascopy_python/impl/v2/__init__.py,sha256=H8t90ChHOXMbkUYsCOHNai39nX-CC_mleYn4dndnzDY,14709
10
+ dukascopy_python/impl/v2/__init__.py,sha256=lHIzuzP2QsLQ34Kq_dCyO-ZPEFtEvOkf7E38l5ejVVE,14702
11
11
  dukascopy_python/instruments/__init__.py,sha256=rGj51SscC3wlrs3tBpKIpWkQMiZrIWgtbnbsuLspt1Y,90
12
12
  dukascopy_python/instruments/generator.py,sha256=hO-nf5AYltdDVplOfepRpDi2fEO03FfPQiHKSUgVAPw,2334
13
13
  dukascopy_python/instruments/instruments.py,sha256=iYtyE4PYo5699I95lvZEkzdXLsjQreysB5N6S6ClmJI,551696
14
- dukascopy_python-5.0.0.dist-info/licenses/LICENSE,sha256=SA8D35cWkNTiEI71ATLBPTzWgFwjPNZLeloeBJrAJr4,1061
15
- dukascopy_python-5.0.0.dist-info/METADATA,sha256=NitSQ0Xdjj2pj6mf5BlvsxSr7UE9JAIoFp_qXErLGvE,7992
16
- dukascopy_python-5.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
17
- dukascopy_python-5.0.0.dist-info/top_level.txt,sha256=GOTWgb-YiLkIsj1bMIGHVzt1Wea3YIq0cxRYCsW_Y6E,17
18
- dukascopy_python-5.0.0.dist-info/RECORD,,
14
+ dukascopy_python-6.0.0.dist-info/licenses/LICENSE,sha256=SA8D35cWkNTiEI71ATLBPTzWgFwjPNZLeloeBJrAJr4,1061
15
+ dukascopy_python-6.0.0.dist-info/METADATA,sha256=GaxLAXDhD7caEXxRTV8Plfa9F0cy_9vvTEnaXOM30dI,8106
16
+ dukascopy_python-6.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
17
+ dukascopy_python-6.0.0.dist-info/top_level.txt,sha256=GOTWgb-YiLkIsj1bMIGHVzt1Wea3YIq0cxRYCsW_Y6E,17
18
+ dukascopy_python-6.0.0.dist-info/RECORD,,