cryptodatapy 0.2.21__py3-none-any.whl → 0.2.23__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.
- cryptodatapy/extract/exchanges/__init__.py +1 -1
- cryptodatapy/extract/getdata.py +0 -3
- cryptodatapy/extract/web/__init__.py +1 -1
- cryptodatapy/transform/convertparams.py +18 -18
- cryptodatapy/transform/od.py +3 -3
- {cryptodatapy-0.2.21.dist-info → cryptodatapy-0.2.23.dist-info}/METADATA +1 -1
- {cryptodatapy-0.2.21.dist-info → cryptodatapy-0.2.23.dist-info}/RECORD +9 -9
- {cryptodatapy-0.2.21.dist-info → cryptodatapy-0.2.23.dist-info}/WHEEL +1 -1
- {cryptodatapy-0.2.21.dist-info → cryptodatapy-0.2.23.dist-info}/LICENSE +0 -0
@@ -1,2 +1,2 @@
|
|
1
1
|
from cryptodatapy.extract.exchanges.exchange import Exchange
|
2
|
-
from cryptodatapy.extract.exchanges.dydx import Dydx
|
2
|
+
from cryptodatapy.extract.exchanges.dydx import Dydx
|
cryptodatapy/extract/getdata.py
CHANGED
@@ -89,7 +89,6 @@ class GetData:
|
|
89
89
|
"ccxt": CCXT,
|
90
90
|
"glassnode": Glassnode,
|
91
91
|
"tiingo": Tiingo,
|
92
|
-
"investpy": InvestPy,
|
93
92
|
"dbnomics": DBnomics,
|
94
93
|
"yahoo": PandasDataReader,
|
95
94
|
"fred": PandasDataReader,
|
@@ -200,7 +199,6 @@ class GetData:
|
|
200
199
|
"ccxt": CCXT,
|
201
200
|
"glassnode": Glassnode,
|
202
201
|
"tiingo": Tiingo,
|
203
|
-
"investpy": InvestPy,
|
204
202
|
"dbnomics": DBnomics,
|
205
203
|
"yahoo": PandasDataReader,
|
206
204
|
"fred": PandasDataReader,
|
@@ -268,7 +266,6 @@ class GetData:
|
|
268
266
|
"ccxt": CCXT,
|
269
267
|
"glassnode": Glassnode,
|
270
268
|
"tiingo": Tiingo,
|
271
|
-
"investpy": InvestPy,
|
272
269
|
"dbnomics": DBnomics,
|
273
270
|
"yahoo": PandasDataReader,
|
274
271
|
"fred": PandasDataReader,
|
@@ -1,2 +1,2 @@
|
|
1
1
|
from cryptodatapy.extract.web.aqr import AQR
|
2
|
-
from cryptodatapy.extract.web.web import Web
|
2
|
+
from cryptodatapy.extract.web.web import Web
|
@@ -1044,23 +1044,23 @@ class ConvertParams:
|
|
1044
1044
|
else:
|
1045
1045
|
logging.warning(f"Field {field} not available in dYdX API")
|
1046
1046
|
return {
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1047
|
+
"tickers": tickers, # List of market tickers
|
1048
|
+
"freq": freq, # Converted frequency
|
1049
|
+
"quote_ccy": self.data_req.quote_ccy,
|
1050
|
+
"exch": "dydx",
|
1051
|
+
"mkt_type": self.data_req.mkt_type,
|
1052
|
+
"mkts": markets, # Market identifiers
|
1053
|
+
"start_date": self.data_req.start_date,
|
1054
|
+
"end_date": self.data_req.end_date,
|
1055
|
+
"fields": fields, # Converted field names
|
1056
|
+
"tz": self.data_req.tz or "UTC",
|
1057
|
+
"cat": "crypto",
|
1058
|
+
"trials": self.data_req.trials,
|
1059
|
+
"pause": self.data_req.pause,
|
1060
|
+
"source_tickers": self.data_req.source_tickers,
|
1061
|
+
"source_freq": self.data_req.source_freq,
|
1062
|
+
"source_fields": self.data_req.source_fields
|
1063
|
+
}
|
1064
1064
|
|
1065
1065
|
def to_dydx(self) -> DataRequest:
|
1066
1066
|
|
@@ -1100,4 +1100,4 @@ class ConvertParams:
|
|
1100
1100
|
'funding_rate': 'nextFundingRate',
|
1101
1101
|
'oi': 'openInterest'
|
1102
1102
|
}
|
1103
|
-
return self.data_req
|
1103
|
+
return self.data_req
|
cryptodatapy/transform/od.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
from typing import Dict, Optional, Union
|
2
|
-
|
3
1
|
import numpy as np
|
4
|
-
np.float_ = np.float64
|
5
2
|
import pandas as pd
|
3
|
+
from typing import Dict, Optional, Union
|
6
4
|
from prophet import Prophet
|
7
5
|
from statsmodels.tsa.seasonal import STL, seasonal_decompose
|
8
6
|
|
7
|
+
np.float_ = np.float64
|
8
|
+
|
9
9
|
|
10
10
|
class OutlierDetection:
|
11
11
|
"""
|
@@ -33,30 +33,30 @@ cryptodatapy/extract/data_vendors/datavendor.py,sha256=eH_yIJPy5FvZhgILqpgNYYkbm
|
|
33
33
|
cryptodatapy/extract/data_vendors/glassnode_api.py,sha256=PuuJOjHztoJyFijb5XU1zm1S_2NAj7MX-wC89DL_bWQ,13103
|
34
34
|
cryptodatapy/extract/data_vendors/tiingo_api.py,sha256=AYYtVFC9gPqhUWGsHVRpEmVse6b0djGX8bCMtaiYFY0,25681
|
35
35
|
cryptodatapy/extract/datarequest.py,sha256=EPq_7itSjwoqLY1v3HLQRbiFbSMCOzFmA2xGpaM3PQc,25215
|
36
|
-
cryptodatapy/extract/exchanges/__init__.py,sha256=
|
36
|
+
cryptodatapy/extract/exchanges/__init__.py,sha256=7QUxwrUiweyv_1u_tNjOyeAFKMwJ32Z0aiJ_Gh8bMXk,114
|
37
37
|
cryptodatapy/extract/exchanges/dydx.py,sha256=Oifb4sKbPRKArdZBx9q5ob4yTFkd65n0zXiS7hga0mk,4199
|
38
38
|
cryptodatapy/extract/exchanges/exchange.py,sha256=Cicj3KS4zLbwmXX5fu89byXNwqqU4TH31GFv0zj3D4s,13010
|
39
|
-
cryptodatapy/extract/getdata.py,sha256=
|
39
|
+
cryptodatapy/extract/getdata.py,sha256=h8AA2O8br23ABQsFCFqcH8VsmioSPjWxNSFKz-pnSCo,11382
|
40
40
|
cryptodatapy/extract/libraries/__init__.py,sha256=KG2Rr3c8CcDq-nbhT-ItssqZE9U65xQXH0Wv0g86SVg,254
|
41
41
|
cryptodatapy/extract/libraries/ccxt_api.py,sha256=F4wYocKpaKngvXCZR-zTIBUOFZMGvQ_5Onw82uLCWOU,56131
|
42
42
|
cryptodatapy/extract/libraries/dbnomics_api.py,sha256=M6kPIH-hKqkmeBQb-g56dY9jatqLCtSl_MnvPblHtAc,9421
|
43
43
|
cryptodatapy/extract/libraries/investpy_api.py,sha256=qtGm3LDluXxJorvFv0w1bm1oBrcZIfE5cZSYzNYvttY,18409
|
44
44
|
cryptodatapy/extract/libraries/library.py,sha256=eU8NnQZ9luLGdIF5hms6j8VPCWc50evkREc4xdh-g1I,12301
|
45
45
|
cryptodatapy/extract/libraries/pandasdr_api.py,sha256=-62P0W0Pa98f-96nB_bDgDkPFshP8yiqKZ9VU-usv94,13696
|
46
|
-
cryptodatapy/extract/web/__init__.py,sha256=
|
46
|
+
cryptodatapy/extract/web/__init__.py,sha256=gePCHxIGxrG1atBQvp5MhNTWirztLNDQMCR4FRYujKg,90
|
47
47
|
cryptodatapy/extract/web/aqr.py,sha256=LS1D7QzG6UWkLUfDMgBFtiHpznnnAUOpec5Sx3vRGME,11875
|
48
48
|
cryptodatapy/extract/web/web.py,sha256=R1xEnHE1McxSWxp4vrTfgh9gW6FF6XDlp0gmp2NmWOM,12126
|
49
49
|
cryptodatapy/transform/__init__.py,sha256=Spb5cGJ3V_o8hgSWOSrF8J_vsSZpFk0uzW7RpkgfbFE,131
|
50
50
|
cryptodatapy/transform/clean.py,sha256=C9VypQOjdJ987TcD-qAHh7qYaoJBotvp3cWTr3ttSGM,12807
|
51
|
-
cryptodatapy/transform/convertparams.py,sha256=
|
51
|
+
cryptodatapy/transform/convertparams.py,sha256=2tXYjITMardNkf4WXPYmgvnLXTej9XdSE6JfdU4_wfk,42724
|
52
52
|
cryptodatapy/transform/filter.py,sha256=KYYyta0uREAjBkYTVyvhOCCLSKR_qPSlqj5Nl7l4iBk,9064
|
53
53
|
cryptodatapy/transform/impute.py,sha256=_0-SX5nnPrYgJYT-HKwBGNkmWXRMy9-C2oeU6VqkQp0,5537
|
54
|
-
cryptodatapy/transform/od.py,sha256=
|
54
|
+
cryptodatapy/transform/od.py,sha256=mI1oojMbfmdO9ZewL3AvMxoXuMM05Ut2oGm_ogMf2XU,30386
|
55
55
|
cryptodatapy/transform/wrangle.py,sha256=M3l3Fyc45LoUSA2lIfe27anT_4OPZESPBfWf_rI6CxA,42358
|
56
56
|
cryptodatapy/util/__init__.py,sha256=zSQ2HU2QIXzCuptJjknmrClwtQKCvIj4aNysZljIgrU,116
|
57
57
|
cryptodatapy/util/datacatalog.py,sha256=qCCX6srXvaAbVAKuA0M2y5IK_2OEx5xA3yRahDZlC-g,13157
|
58
58
|
cryptodatapy/util/datacredentials.py,sha256=CC23ocTrxr6EEqM-oreLgz5rHEDX7EmZS7DYTgoIg8Q,2752
|
59
|
-
cryptodatapy-0.2.
|
60
|
-
cryptodatapy-0.2.
|
61
|
-
cryptodatapy-0.2.
|
62
|
-
cryptodatapy-0.2.
|
59
|
+
cryptodatapy-0.2.23.dist-info/LICENSE,sha256=sw4oVq8bDjT3uMtaFebQ-xeIVP4H-bXldTs9q-Jjeks,11344
|
60
|
+
cryptodatapy-0.2.23.dist-info/METADATA,sha256=bSfD4gKvL2_iCGvKBT-JgpLhzH4ClKqIwhPYNk1jpNc,6428
|
61
|
+
cryptodatapy-0.2.23.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
62
|
+
cryptodatapy-0.2.23.dist-info/RECORD,,
|
File without changes
|