coinsignal 1.4.19__cp312-cp312-macosx_10_13_universal2.whl → 1.5.1__cp312-cp312-macosx_10_13_universal2.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.
Potentially problematic release.
This version of coinsignal might be problematic. Click here for more details.
- coinsignal/__init__.py +1 -1
- coinsignal/_ext.so +0 -0
- coinsignal/data.py +5 -3
- coinsignal/label.py +1 -1
- coinsignal/model.py +4 -3
- coinsignal/parallel.py +5 -5
- coinsignal/tools.py +3 -0
- {coinsignal-1.4.19.dist-info → coinsignal-1.5.1.dist-info}/METADATA +1 -1
- coinsignal-1.5.1.dist-info/RECORD +13 -0
- coinsignal-1.4.19.dist-info/RECORD +0 -13
- {coinsignal-1.4.19.dist-info → coinsignal-1.5.1.dist-info}/WHEEL +0 -0
- {coinsignal-1.4.19.dist-info → coinsignal-1.5.1.dist-info}/top_level.txt +0 -0
coinsignal/__init__.py
CHANGED
coinsignal/_ext.so
CHANGED
|
Binary file
|
coinsignal/data.py
CHANGED
|
@@ -19,13 +19,15 @@ DEFAULT_DATA_PARAMS_DICT = {
|
|
|
19
19
|
'rule': '',
|
|
20
20
|
'count': 0
|
|
21
21
|
},
|
|
22
|
-
'
|
|
22
|
+
'feeds': [],
|
|
23
|
+
'sources': [],
|
|
24
|
+
'mapping': ''
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
|
|
26
28
|
def read_data_to_features_map(data_dir, date, look_back_days, look_ahead_days, data_params_dict):
|
|
27
|
-
features_map,
|
|
28
|
-
return features_map,
|
|
29
|
+
features_map, data_issues = _data.read_data_to_features_map(data_dir, date, look_back_days, look_ahead_days, data_params_dict)
|
|
30
|
+
return features_map, data_issues
|
|
29
31
|
|
|
30
32
|
def transform_features_map_to_full_features_df(features_map):
|
|
31
33
|
full_features_df = _data.transform_features_map_to_full_features_df(features_map)
|
coinsignal/label.py
CHANGED
|
@@ -26,7 +26,7 @@ DEFAULT_RETURN_PARAMS_DICT = {
|
|
|
26
26
|
'half_life': 0,
|
|
27
27
|
'duration_vlimits': None,
|
|
28
28
|
'duration_qlimits': [0, 1],
|
|
29
|
-
'
|
|
29
|
+
'is_duration_clipped': False,
|
|
30
30
|
'is_funding_adjusting': False,
|
|
31
31
|
'is_horizon_adjusting': False,
|
|
32
32
|
'is_discrete': False,
|
coinsignal/model.py
CHANGED
coinsignal/parallel.py
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
import _ext.parallel as _parallel
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
def
|
|
16
|
-
|
|
17
|
-
return
|
|
15
|
+
def prepare_daily_full_features_df(data_dir, date, look_back_days, look_ahead_days, constants_dict, data_params_dict, feature_params_dict, return_params_dict, sampler_params_dict, N, n_completed, progress_update_event):
|
|
16
|
+
full_features_df, mft_full_features_df, mft_feature_plan, data_issues = _parallel.prepare_daily_full_features_df(data_dir, date, look_back_days, look_ahead_days, constants_dict, data_params_dict, feature_params_dict, return_params_dict, sampler_params_dict, N, n_completed, progress_update_event)
|
|
17
|
+
return full_features_df, mft_full_features_df, mft_feature_plan, data_issues
|
|
18
18
|
|
|
19
19
|
def prepare_full_features_df(data_dir, start_date, end_date, look_back_days, look_ahead_days, constants_dict, data_params_dict, feature_params_dict, return_params_dict, sampler_params_dict):
|
|
20
|
-
full_features_df, mft_full_features_df, mft_feature_plan,
|
|
21
|
-
return full_features_df, mft_full_features_df, mft_feature_plan,
|
|
20
|
+
full_features_df, mft_full_features_df, mft_feature_plan, data_issues = _parallel.prepare_full_features_df(prepare_daily_full_features_df, data_dir, start_date, end_date, look_back_days, look_ahead_days, constants_dict, data_params_dict, feature_params_dict, return_params_dict, sampler_params_dict)
|
|
21
|
+
return full_features_df, mft_full_features_df, mft_feature_plan, data_issues
|
coinsignal/tools.py
CHANGED
|
@@ -110,6 +110,9 @@ def copy_scripts(current_dir, output_dir, model_name, random_seed, scripts_folde
|
|
|
110
110
|
else:
|
|
111
111
|
copy_scripts(f'{current_dir}/{f}', output_dir, model_name, random_seed, f'{scripts_folder}/{f}')
|
|
112
112
|
|
|
113
|
+
def report_and_save_data_issues(output_dir, model_name, data_issues):
|
|
114
|
+
_tools.report_and_save_data_issues(output_dir, model_name, data_issues)
|
|
115
|
+
|
|
113
116
|
def validate_and_save_features(output_dir, model_name, full_features_df, mft_full_features_df, mft_feature_plan):
|
|
114
117
|
comparison_df = _tools.validate_and_save_features(output_dir, model_name, full_features_df, mft_full_features_df, mft_feature_plan)
|
|
115
118
|
return comparison_df
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
coinsignal-1.5.1.dist-info/METADATA,sha256=lpnogK9DLiOqpjphURRkEC2F2u23ErSelY3q3plYW78,626
|
|
2
|
+
coinsignal-1.5.1.dist-info/WHEEL,sha256=_N1vyLgwJ10g4JxFsp-IfU42zGJgf-DUqwfdbV1YvEM,115
|
|
3
|
+
coinsignal-1.5.1.dist-info/top_level.txt,sha256=8xBBVxKSVz2DM3nreUe-A7OGl7vCbK-3njdPu-JtUjw,11
|
|
4
|
+
coinsignal/__init__.py,sha256=KOOJQl7cKZg0j6VxP3bgH3bOeI5bcaVN75WEEfQ0A_o,269
|
|
5
|
+
coinsignal/_ext.so,sha256=35JFTvJzE4QmxzLO9L00S7NwoIBPsbYiK7z6iVhDIms,4780360
|
|
6
|
+
coinsignal/data.py,sha256=GCFUZIFoI6ZenCFaixjuX5cNuJXCZ22CWFLpWunYNxs,1103
|
|
7
|
+
coinsignal/feature.py,sha256=kgBVCBXZWBLauptusI5p2Sof0DXJXo7jjq5YZivnaEc,1012
|
|
8
|
+
coinsignal/label.py,sha256=Aw6LmwQEqfPHm_CfKkU8BhDkmWZ8xdw3vkVoFLZtzzE,1238
|
|
9
|
+
coinsignal/model.py,sha256=gA0vpIMqPaikyY2sWCvpMO9h3XwkzHfuNPpbXaXxldY,2164
|
|
10
|
+
coinsignal/parallel.py,sha256=vrIygqKyx6ToN4bcU9JYQPhF3DpQ0uR5UrmgjB4IkJI,1654
|
|
11
|
+
coinsignal/sampler.py,sha256=3fRBUk2kFBZ_3ef6WdFYx0Hk2Sz1Cq8nB9PV4MFek7I,758
|
|
12
|
+
coinsignal/tools.py,sha256=A5iJZ7BtSN2qitE-ifOE7bqmhM08LPT6LNELkd-eAB0,4632
|
|
13
|
+
coinsignal-1.5.1.dist-info/RECORD,,
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
coinsignal-1.4.19.dist-info/METADATA,sha256=8hPfP-doXXEPicUPw_RfxplRYkd-Ja7CtajRY0HTREs,627
|
|
2
|
-
coinsignal-1.4.19.dist-info/WHEEL,sha256=_N1vyLgwJ10g4JxFsp-IfU42zGJgf-DUqwfdbV1YvEM,115
|
|
3
|
-
coinsignal-1.4.19.dist-info/top_level.txt,sha256=8xBBVxKSVz2DM3nreUe-A7OGl7vCbK-3njdPu-JtUjw,11
|
|
4
|
-
coinsignal/__init__.py,sha256=CKj35kmJROnrHGfWqxKrNnmjv_W88YHWfNy0yN7Z7F8,270
|
|
5
|
-
coinsignal/_ext.so,sha256=JXOXpg8AzbcU_Znh4OIXmjpl3iZwycqI_vZBFaTcEis,4162744
|
|
6
|
-
coinsignal/data.py,sha256=VUC5aC2yVFdzFhHHF01hdjGmUOUU9KxNx13rggj3cMM,1077
|
|
7
|
-
coinsignal/feature.py,sha256=kgBVCBXZWBLauptusI5p2Sof0DXJXo7jjq5YZivnaEc,1012
|
|
8
|
-
coinsignal/label.py,sha256=cUdZm7iEhpsMYP3xs-6qEZs_9NKSMQ5KH8P4oJ-GBJQ,1236
|
|
9
|
-
coinsignal/model.py,sha256=9rwBVZJsy9gif0uVVu9iAfHuo7ZoPv70GCPGj36SfwA,2137
|
|
10
|
-
coinsignal/parallel.py,sha256=KKLRUc_LGqSfcfuhHi1vUGyJZHPhsvHbn6imQs1_6JQ,1592
|
|
11
|
-
coinsignal/sampler.py,sha256=3fRBUk2kFBZ_3ef6WdFYx0Hk2Sz1Cq8nB9PV4MFek7I,758
|
|
12
|
-
coinsignal/tools.py,sha256=l4nGZtcXUE5DiUx_yfcniu5klDASI3FgoLwHDJ83oxI,4485
|
|
13
|
-
coinsignal-1.4.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|