virgo-modules 0.2.4__py3-none-any.whl → 0.2.6__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.

Potentially problematic release.


This version of virgo-modules might be problematic. Click here for more details.

@@ -1383,6 +1383,12 @@ def extract_data_traintest(object_stock,features_to_search,configs, target_confi
1383
1383
  getattr(object_stock, method_to_use)(**arguments_to_use, plot = False, save_features = False)
1384
1384
  if method_to_use not in ['minmax_pricefeature']:
1385
1385
  object_stock.produce_order_features(feature_name)
1386
+ last_signal_featlist = configs.get('custom_transformations',{}).get('compute_last_signal', False)
1387
+ if last_signal_featlist:
1388
+ last_signal_featlist = last_signal_featlist
1389
+ last_signal_featlist = last_signal_featlist.split('//')
1390
+ if feature_name in last_signal_featlist:
1391
+ object_stock.compute_last_signal(feature_name, False)
1386
1392
  # geting targets
1387
1393
  object_stock.get_categorical_targets(**target_params_up)
1388
1394
  object_stock.df = object_stock.df.drop(columns = ['target_down']).rename(columns = {'target_up':'target_up_save'})
@@ -55,6 +55,7 @@ import logging
55
55
 
56
56
  from virgo_modules.src.hmm_utils import trainer_hmm
57
57
  from virgo_modules.src.transformer_utils import signal_combiner, FeatureSelector
58
+ from virgo_modules.src.transformer_utils import FeaturesEntropy, VirgoWinsorizerFeature # imported bcs some models read this module otherwise it crashed mlflow.load()
58
59
 
59
60
  def data_processing_pipeline(features_base,features_to_drop = False, lag_dict = False, combine_signals = False, discretize_columns = False, correlation = 0.77):
60
61
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: virgo-modules
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: data processing and statistical modeling using stock market data
5
5
  Home-page: https://github.com/miguelmayhem92/virgo_module
6
6
  Author: Miguel Mayhuire
@@ -5,11 +5,11 @@ virgo_modules/src/backtester.py,sha256=OhiWyzDX0PthXGuhChyWUmDN3cLkzVYe95zS4nGti
5
5
  virgo_modules/src/edge_utils.py,sha256=XN2oEOwADXF9IGNUGx0Ai8B1yDAiU2WDateLnEJh5FE,14243
6
6
  virgo_modules/src/hmm_utils.py,sha256=fFWxmh9q3rjiKRHnxNk9k7O4fDrxVxkmp3pbpLvktjc,21116
7
7
  virgo_modules/src/pull_artifacts.py,sha256=5OPrgR7pcMSdpbevDRhf0ebk7g7ZRjff4NpTIIWAKjE,1989
8
- virgo_modules/src/re_utils.py,sha256=qkNe0BCT3lxm5zAHTEDdH0Cu8ID3A8j3OB39oGFpuDQ,72790
9
- virgo_modules/src/ticketer_source.py,sha256=bm1I-a_mg80fgdH0Znx-qg0CTUxtVmkL6PWLTCeBTu8,98617
8
+ virgo_modules/src/re_utils.py,sha256=WoulQlwX7Z89P7sb4koySeqeN98hrLU8dXmjUr6ABwc,73198
9
+ virgo_modules/src/ticketer_source.py,sha256=joJUoaga5M0OOAiOJ8TFR_sGd6eckbHlN1fxLIklXSM,98785
10
10
  virgo_modules/src/transformer_utils.py,sha256=LLwKYZRq5hrPVimnq3taD0Lh-q3Bq21fy1I4Icbnxi8,7677
11
- virgo_modules-0.2.4.dist-info/LICENSE,sha256=pNgFyCYgmimaw0o6V20JupZLROycAnOA_HDDh1tX2V4,1097
12
- virgo_modules-0.2.4.dist-info/METADATA,sha256=jI0VJoMF2uIxH6wE4OIDLcOSTERnAETEqPLJecRhLb0,1428
13
- virgo_modules-0.2.4.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
14
- virgo_modules-0.2.4.dist-info/top_level.txt,sha256=ZjI-qEkDtT-8mFwGAWnXfqPOKEGlIhWRW1es1VyXc60,14
15
- virgo_modules-0.2.4.dist-info/RECORD,,
11
+ virgo_modules-0.2.6.dist-info/LICENSE,sha256=pNgFyCYgmimaw0o6V20JupZLROycAnOA_HDDh1tX2V4,1097
12
+ virgo_modules-0.2.6.dist-info/METADATA,sha256=uUAxISbSlIUZdGwJ1172pGDfTwxFE1WDmSw9PK7m-0A,1428
13
+ virgo_modules-0.2.6.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
14
+ virgo_modules-0.2.6.dist-info/top_level.txt,sha256=ZjI-qEkDtT-8mFwGAWnXfqPOKEGlIhWRW1es1VyXc60,14
15
+ virgo_modules-0.2.6.dist-info/RECORD,,