cryptodatapy 0.2.20__tar.gz → 0.2.23__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.
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/PKG-INFO +1 -1
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/pyproject.toml +1 -1
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/exchanges/__init__.py +1 -1
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/getdata.py +0 -4
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/web/__init__.py +1 -1
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/transform/convertparams.py +18 -18
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/LICENSE +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/README.md +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/conf/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/conf/fields.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/conf/tickers.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/br_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/ca_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/cn_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/de_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/ez_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/fr_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/gb_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/get_econ_calendars.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/id_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/in_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/it_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/jp_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/kr_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/mx_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/ru_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/tr_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/datasets/us_econ_calendar.csv +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/CCXT-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/DBNomics-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/InvestPy-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/NasdaqDataLink-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/.ipynb_checkpoints/PandasDataReader-checkpoint.ipynb +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/coinmetrics_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/cryptocompare_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/datavendor.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/glassnode_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/tiingo_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/datarequest.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/exchanges/dydx.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/exchanges/exchange.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/ccxt_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/dbnomics_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/investpy_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/library.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/pandasdr_api.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/web/aqr.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/web/web.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/transform/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/transform/clean.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/transform/filter.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/transform/impute.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/transform/od.py +3 -3
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/transform/wrangle.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/util/__init__.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/util/datacatalog.py +0 -0
- {cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/util/datacredentials.py +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
|
@@ -8,7 +8,6 @@ from cryptodatapy.extract.data_vendors.tiingo_api import Tiingo
|
|
8
8
|
from cryptodatapy.extract.datarequest import DataRequest
|
9
9
|
from cryptodatapy.extract.libraries.ccxt_api import CCXT
|
10
10
|
from cryptodatapy.extract.libraries.dbnomics_api import DBnomics
|
11
|
-
from cryptodatapy.extract.libraries.investpy_api import InvestPy
|
12
11
|
from cryptodatapy.extract.libraries.pandasdr_api import PandasDataReader
|
13
12
|
from cryptodatapy.extract.web.aqr import AQR
|
14
13
|
|
@@ -90,7 +89,6 @@ class GetData:
|
|
90
89
|
"ccxt": CCXT,
|
91
90
|
"glassnode": Glassnode,
|
92
91
|
"tiingo": Tiingo,
|
93
|
-
"investpy": InvestPy,
|
94
92
|
"dbnomics": DBnomics,
|
95
93
|
"yahoo": PandasDataReader,
|
96
94
|
"fred": PandasDataReader,
|
@@ -201,7 +199,6 @@ class GetData:
|
|
201
199
|
"ccxt": CCXT,
|
202
200
|
"glassnode": Glassnode,
|
203
201
|
"tiingo": Tiingo,
|
204
|
-
"investpy": InvestPy,
|
205
202
|
"dbnomics": DBnomics,
|
206
203
|
"yahoo": PandasDataReader,
|
207
204
|
"fred": PandasDataReader,
|
@@ -269,7 +266,6 @@ class GetData:
|
|
269
266
|
"ccxt": CCXT,
|
270
267
|
"glassnode": Glassnode,
|
271
268
|
"tiingo": Tiingo,
|
272
|
-
"investpy": InvestPy,
|
273
269
|
"dbnomics": DBnomics,
|
274
270
|
"yahoo": PandasDataReader,
|
275
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/__init__.py
RENAMED
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/coinmetrics_api.py
RENAMED
File without changes
|
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/datavendor.py
RENAMED
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/glassnode_api.py
RENAMED
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/data_vendors/tiingo_api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/dbnomics_api.py
RENAMED
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/investpy_api.py
RENAMED
File without changes
|
File without changes
|
{cryptodatapy-0.2.20 → cryptodatapy-0.2.23}/src/cryptodatapy/extract/libraries/pandasdr_api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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
|
"""
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|