dukascopy-python 2.0.0__tar.gz → 4.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.
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dukascopy_python
3
- Version: 2.0.0
4
- Summary: Download tick data from Dukascopy Bank SA to local cache, and simulate time-ordered price streams
3
+ Version: 4.0.0
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
7
7
 
@@ -39,7 +39,7 @@ Requires-Dist: build; extra == "dev"
39
39
  Requires-Dist: twine; extra == "dev"
40
40
  Dynamic: license-file
41
41
 
42
- # 🏦 dukascript
42
+ # 🏦 dukascopy_python
43
43
 
44
44
  Download and stream historical price data for variety of financial instruments (e.g. Forex, Commodities and Indices) from Dukascopy Bank SA. , including support for tick-level and aggregated intervals.
45
45
 
@@ -48,7 +48,7 @@ Download and stream historical price data for variety of financial instruments (
48
48
  ## 📦 Installation
49
49
 
50
50
  ```bash
51
- pip install dukascript
51
+ pip install dukascopy_python
52
52
  ```
53
53
 
54
54
  ---
@@ -59,8 +59,8 @@ pip install dukascript
59
59
 
60
60
  ```python
61
61
  from datetime import datetime, timedelta
62
- import dukascript
63
- from dukascript.instruments import INSTRUMENT_FX_MAJORS_GBP_USD
62
+ import dukascopy_python
63
+ from dukascopy_python.instruments import INSTRUMENT_FX_MAJORS_GBP_USD
64
64
  ```
65
65
 
66
66
  ---
@@ -89,7 +89,7 @@ Both `fetch` and `live_fetch` share similar parameters:
89
89
  | Parameter | Description |
90
90
  |-------------------|---------------------------------------------|
91
91
  | `interval_value` | e.g., `1` |
92
- | `time_unit` | e.g., `dukascript.TIME_UNIT_HOUR` |
92
+ | `time_unit` | e.g., `dukascopy_python.TIME_UNIT_HOUR` |
93
93
 
94
94
  ---
95
95
 
@@ -159,10 +159,10 @@ df.to_json("data.json")
159
159
  start = datetime(2025, 1, 1)
160
160
  end = datetime(2025, 2, 1)
161
161
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
162
- interval = dukascript.INTERVAL_HOUR_1
163
- offer_side = dukascript.OFFER_SIDE_BID
162
+ interval = dukascopy_python.INTERVAL_HOUR_1
163
+ offer_side = dukascopy_python.OFFER_SIDE_BID
164
164
 
165
- df = dukascript.fetch(
165
+ df = dukascopy_python.fetch(
166
166
  instrument,
167
167
  interval,
168
168
  offer_side,
@@ -182,12 +182,12 @@ now = datetime.now()
182
182
  start = datetime(now.year, now.month, now.day)
183
183
  end = start + timedelta(hours=24)
184
184
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
185
- offer_side = dukascript.OFFER_SIDE_BID
185
+ offer_side = dukascopy_python.OFFER_SIDE_BID
186
186
 
187
- iterator = dukascript.live_fetch(
187
+ iterator = dukascopy_python.live_fetch(
188
188
  instrument,
189
189
  1,
190
- dukascript.TIME_UNIT_HOUR,
190
+ dukascopy_python.TIME_UNIT_HOUR,
191
191
  offer_side,
192
192
  start,
193
193
  end,
@@ -208,12 +208,12 @@ now = datetime.now()
208
208
  start = datetime(now.year, now.month, now.day)
209
209
  end = None
210
210
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
211
- offer_side = dukascript.OFFER_SIDE_BID
211
+ offer_side = dukascopy_python.OFFER_SIDE_BID
212
212
 
213
- df_iterator = dukascript.live_fetch(
213
+ df_iterator = dukascopy_python.live_fetch(
214
214
  instrument,
215
215
  1,
216
- dukascript.TIME_UNIT_HOUR,
216
+ dukascopy_python.TIME_UNIT_HOUR,
217
217
  offer_side,
218
218
  start,
219
219
  end,
@@ -1,4 +1,4 @@
1
- # 🏦 dukascript
1
+ # 🏦 dukascopy_python
2
2
 
3
3
  Download and stream historical price data for variety of financial instruments (e.g. Forex, Commodities and Indices) from Dukascopy Bank SA. , including support for tick-level and aggregated intervals.
4
4
 
@@ -7,7 +7,7 @@ Download and stream historical price data for variety of financial instruments (
7
7
  ## 📦 Installation
8
8
 
9
9
  ```bash
10
- pip install dukascript
10
+ pip install dukascopy_python
11
11
  ```
12
12
 
13
13
  ---
@@ -18,8 +18,8 @@ pip install dukascript
18
18
 
19
19
  ```python
20
20
  from datetime import datetime, timedelta
21
- import dukascript
22
- from dukascript.instruments import INSTRUMENT_FX_MAJORS_GBP_USD
21
+ import dukascopy_python
22
+ from dukascopy_python.instruments import INSTRUMENT_FX_MAJORS_GBP_USD
23
23
  ```
24
24
 
25
25
  ---
@@ -48,7 +48,7 @@ Both `fetch` and `live_fetch` share similar parameters:
48
48
  | Parameter | Description |
49
49
  |-------------------|---------------------------------------------|
50
50
  | `interval_value` | e.g., `1` |
51
- | `time_unit` | e.g., `dukascript.TIME_UNIT_HOUR` |
51
+ | `time_unit` | e.g., `dukascopy_python.TIME_UNIT_HOUR` |
52
52
 
53
53
  ---
54
54
 
@@ -118,10 +118,10 @@ df.to_json("data.json")
118
118
  start = datetime(2025, 1, 1)
119
119
  end = datetime(2025, 2, 1)
120
120
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
121
- interval = dukascript.INTERVAL_HOUR_1
122
- offer_side = dukascript.OFFER_SIDE_BID
121
+ interval = dukascopy_python.INTERVAL_HOUR_1
122
+ offer_side = dukascopy_python.OFFER_SIDE_BID
123
123
 
124
- df = dukascript.fetch(
124
+ df = dukascopy_python.fetch(
125
125
  instrument,
126
126
  interval,
127
127
  offer_side,
@@ -141,12 +141,12 @@ now = datetime.now()
141
141
  start = datetime(now.year, now.month, now.day)
142
142
  end = start + timedelta(hours=24)
143
143
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
144
- offer_side = dukascript.OFFER_SIDE_BID
144
+ offer_side = dukascopy_python.OFFER_SIDE_BID
145
145
 
146
- iterator = dukascript.live_fetch(
146
+ iterator = dukascopy_python.live_fetch(
147
147
  instrument,
148
148
  1,
149
- dukascript.TIME_UNIT_HOUR,
149
+ dukascopy_python.TIME_UNIT_HOUR,
150
150
  offer_side,
151
151
  start,
152
152
  end,
@@ -167,12 +167,12 @@ now = datetime.now()
167
167
  start = datetime(now.year, now.month, now.day)
168
168
  end = None
169
169
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
170
- offer_side = dukascript.OFFER_SIDE_BID
170
+ offer_side = dukascopy_python.OFFER_SIDE_BID
171
171
 
172
- df_iterator = dukascript.live_fetch(
172
+ df_iterator = dukascopy_python.live_fetch(
173
173
  instrument,
174
174
  1,
175
- dukascript.TIME_UNIT_HOUR,
175
+ dukascopy_python.TIME_UNIT_HOUR,
176
176
  offer_side,
177
177
  start,
178
178
  end,
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dukascopy_python
3
- Version: 2.0.0
4
- Summary: Download tick data from Dukascopy Bank SA to local cache, and simulate time-ordered price streams
3
+ Version: 4.0.0
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
7
7
 
@@ -39,7 +39,7 @@ Requires-Dist: build; extra == "dev"
39
39
  Requires-Dist: twine; extra == "dev"
40
40
  Dynamic: license-file
41
41
 
42
- # 🏦 dukascript
42
+ # 🏦 dukascopy_python
43
43
 
44
44
  Download and stream historical price data for variety of financial instruments (e.g. Forex, Commodities and Indices) from Dukascopy Bank SA. , including support for tick-level and aggregated intervals.
45
45
 
@@ -48,7 +48,7 @@ Download and stream historical price data for variety of financial instruments (
48
48
  ## 📦 Installation
49
49
 
50
50
  ```bash
51
- pip install dukascript
51
+ pip install dukascopy_python
52
52
  ```
53
53
 
54
54
  ---
@@ -59,8 +59,8 @@ pip install dukascript
59
59
 
60
60
  ```python
61
61
  from datetime import datetime, timedelta
62
- import dukascript
63
- from dukascript.instruments import INSTRUMENT_FX_MAJORS_GBP_USD
62
+ import dukascopy_python
63
+ from dukascopy_python.instruments import INSTRUMENT_FX_MAJORS_GBP_USD
64
64
  ```
65
65
 
66
66
  ---
@@ -89,7 +89,7 @@ Both `fetch` and `live_fetch` share similar parameters:
89
89
  | Parameter | Description |
90
90
  |-------------------|---------------------------------------------|
91
91
  | `interval_value` | e.g., `1` |
92
- | `time_unit` | e.g., `dukascript.TIME_UNIT_HOUR` |
92
+ | `time_unit` | e.g., `dukascopy_python.TIME_UNIT_HOUR` |
93
93
 
94
94
  ---
95
95
 
@@ -159,10 +159,10 @@ df.to_json("data.json")
159
159
  start = datetime(2025, 1, 1)
160
160
  end = datetime(2025, 2, 1)
161
161
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
162
- interval = dukascript.INTERVAL_HOUR_1
163
- offer_side = dukascript.OFFER_SIDE_BID
162
+ interval = dukascopy_python.INTERVAL_HOUR_1
163
+ offer_side = dukascopy_python.OFFER_SIDE_BID
164
164
 
165
- df = dukascript.fetch(
165
+ df = dukascopy_python.fetch(
166
166
  instrument,
167
167
  interval,
168
168
  offer_side,
@@ -182,12 +182,12 @@ now = datetime.now()
182
182
  start = datetime(now.year, now.month, now.day)
183
183
  end = start + timedelta(hours=24)
184
184
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
185
- offer_side = dukascript.OFFER_SIDE_BID
185
+ offer_side = dukascopy_python.OFFER_SIDE_BID
186
186
 
187
- iterator = dukascript.live_fetch(
187
+ iterator = dukascopy_python.live_fetch(
188
188
  instrument,
189
189
  1,
190
- dukascript.TIME_UNIT_HOUR,
190
+ dukascopy_python.TIME_UNIT_HOUR,
191
191
  offer_side,
192
192
  start,
193
193
  end,
@@ -208,12 +208,12 @@ now = datetime.now()
208
208
  start = datetime(now.year, now.month, now.day)
209
209
  end = None
210
210
  instrument = INSTRUMENT_FX_MAJORS_GBP_USD
211
- offer_side = dukascript.OFFER_SIDE_BID
211
+ offer_side = dukascopy_python.OFFER_SIDE_BID
212
212
 
213
- df_iterator = dukascript.live_fetch(
213
+ df_iterator = dukascopy_python.live_fetch(
214
214
  instrument,
215
215
  1,
216
- dukascript.TIME_UNIT_HOUR,
216
+ dukascopy_python.TIME_UNIT_HOUR,
217
217
  offer_side,
218
218
  start,
219
219
  end,
@@ -6,8 +6,8 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "dukascopy_python"
9
- version = "2.0.0"
10
- description = "Download tick data from Dukascopy Bank SA to local cache, and simulate time-ordered price streams"
9
+ version = "4.0.0"
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 = [
13
13
  { name="Eghosa Osayande", email="osayandeeghosam@gmail.com" },