jgtml 0.0.332__tar.gz → 0.0.335__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.
Files changed (68) hide show
  1. {jgtml-0.0.332/jgtml.egg-info → jgtml-0.0.335}/PKG-INFO +1 -1
  2. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/__init__.py +1 -1
  3. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jgtapp.py +56 -19
  4. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/trading_orchestrator.py +1 -1
  5. {jgtml-0.0.332 → jgtml-0.0.335/jgtml.egg-info}/PKG-INFO +1 -1
  6. {jgtml-0.0.332 → jgtml-0.0.335}/pyproject.toml +1 -1
  7. {jgtml-0.0.332 → jgtml-0.0.335}/LICENSE +0 -0
  8. {jgtml-0.0.332 → jgtml-0.0.335}/README.md +0 -0
  9. {jgtml-0.0.332 → jgtml-0.0.335}/README.rst +0 -0
  10. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/AlligatorIllusionDetector.py +0 -0
  11. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/JGTBalanceAnalyzer.py +0 -0
  12. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/JGTOutputHelper.py +0 -0
  13. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/MLFRequest.py +0 -0
  14. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/SOHelper.py +0 -0
  15. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/SignalOrderingHelper.py +0 -0
  16. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/TideAlligatorAnalysis.py +0 -0
  17. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/alligator_cli.py +0 -0
  18. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/anhelper.py +0 -0
  19. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/automated_fdb_trading_system.py +0 -0
  20. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/enhanced_fdb_scanner_with_illusion_detection.py +0 -0
  21. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/enhanced_trading_cli.py +0 -0
  22. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/fdb_pattern_intelligence.py +0 -0
  23. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/fdb_scanner_2408.py +0 -0
  24. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/fdb_signal_quality_predictor.py +0 -0
  25. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jdash.py +0 -0
  26. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jgtml_obsds_240515_TIDE_SIGNALS.py +0 -0
  27. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jgtmlcli.py +0 -0
  28. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jplt.py +0 -0
  29. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jtc.py +0 -0
  30. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mfihelper2.py +0 -0
  31. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlclicommon.py +0 -0
  32. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlcliconstants.py +0 -0
  33. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlconstants.py +0 -0
  34. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mldatahelper.py +0 -0
  35. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlfcli.py +0 -0
  36. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlfsvc.py +0 -0
  37. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlutils.py +0 -0
  38. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxcli.py +0 -0
  39. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxconstants.py +0 -0
  40. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxhelper.py +0 -0
  41. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxsvc.py +0 -0
  42. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/pncli.py +0 -0
  43. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/pto250518.py +0 -0
  44. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ptomlf.py +0 -0
  45. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ptottf.py +0 -0
  46. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ptottfpatterns.py +0 -0
  47. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/realityhelper.py +0 -0
  48. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_get_files_in_ns.py +0 -0
  49. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_pncli.py +0 -0
  50. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_signal_ordering_helper.py +0 -0
  51. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_soh_gator_validations.py +0 -0
  52. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/tst_barhelper_and_pd.py +0 -0
  53. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/tst_jgtpov.py +0 -0
  54. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ttfcli.py +0 -0
  55. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ttfsvc.py +0 -0
  56. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/unified_discovery_dataset_generator.py +0 -0
  57. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/xhelper.py +0 -0
  58. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/zonehelper.py +0 -0
  59. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/SOURCES.txt +0 -0
  60. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/dependency_links.txt +0 -0
  61. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/entry_points.txt +0 -0
  62. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/requires.txt +0 -0
  63. {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/top_level.txt +0 -0
  64. {jgtml-0.0.332 → jgtml-0.0.335}/setup.cfg +0 -0
  65. {jgtml-0.0.332 → jgtml-0.0.335}/setup.py +0 -0
  66. {jgtml-0.0.332 → jgtml-0.0.335}/tests/test-calc-targets-2.py +0 -0
  67. {jgtml-0.0.332 → jgtml-0.0.335}/tests/test-calc-targets.py +0 -0
  68. {jgtml-0.0.332 → jgtml-0.0.335}/tests/test-plot-CDS.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jgtml
3
- Version: 0.0.332
3
+ Version: 0.0.335
4
4
  Summary: JGT Ml - Machine Learning Tools
5
5
  Home-page: https://github.com/jgwill/jgtml
6
6
  Author: GUillaume Isabelle
@@ -1,5 +1,5 @@
1
1
  # jgtml
2
- version='0.0.332'
2
+ version='0.0.335'
3
3
  import sys
4
4
  import os
5
5
 
@@ -538,14 +538,27 @@ def tide(instrument, timeframe, buysell, type='tide', quiet=False):
538
538
  # Restore original argv
539
539
  sys.argv = original_argv
540
540
 
541
- def pds(instrument, timeframe,use_full=True):
542
- use_full_arg = '--full' if use_full else ''
543
- subprocess.run([PDSCLI_PROG_NAME, '-i', instrument, '-t', timeframe, use_full_arg], check=True)
541
+ def pds(instrument, timeframe, use_full=True):
542
+ """Generate PDS data via `pdscli`."""
543
+ use_full_arg = '-uf' if use_full else '-nf'
544
+ subprocess.run([
545
+ PDSCLI_PROG_NAME,
546
+ '-i', instrument,
547
+ '-t', timeframe,
548
+ use_full_arg,
549
+ ], check=True)
544
550
 
545
- def cds(instrument, timeframe, use_fresh=False,use_full=True):
546
- use_full_arg = '--full' if use_full else ''
547
- old_or_fresh = '-old' if not use_fresh else '--fresh'
548
- subprocess.run([CDSCLI_PROG_NAME, '-i', instrument, '-t', timeframe,use_full_arg, old_or_fresh], check=True)
551
+ def cds(instrument, timeframe, use_fresh=False, use_full=True):
552
+ """Generate CDS data using `cdscli`."""
553
+ use_full_arg = '-uf' if use_full else '-nf'
554
+ old_or_fresh = '--fresh' if use_fresh else '-old'
555
+ subprocess.run([
556
+ CDSCLI_PROG_NAME,
557
+ '-i', instrument,
558
+ '-t', timeframe,
559
+ use_full_arg,
560
+ old_or_fresh,
561
+ ], check=True)
549
562
 
550
563
  def ads(instrument, timeframe, use_fresh=False,tc=True,pov=False):
551
564
  old_or_fresh = '-old' if not use_fresh else '--fresh'
@@ -558,24 +571,48 @@ def ads(instrument, timeframe, use_fresh=False,tc=True,pov=False):
558
571
  ads_cli_args.append('cp')
559
572
  subprocess.run(ads_cli_args, check=True)
560
573
 
561
- def ocds(instrument, timeframe,use_full=True):
562
- use_full_arg = '--full' if use_full else ''
563
- subprocess.run([JGTCLI_PROG_NAME, '-i', instrument, '-t', timeframe, use_full_arg, '-old'], check=True)
574
+ def ocds(instrument, timeframe, use_full=True):
575
+ """Generate old CDS data via `jgtcli`."""
576
+ use_full_arg = '-uf' if use_full else '-nf'
577
+ subprocess.run([
578
+ JGTCLI_PROG_NAME,
579
+ '-i', instrument,
580
+ '-t', timeframe,
581
+ use_full_arg,
582
+ '-old',
583
+ ], check=True)
564
584
 
565
585
 
566
- def ttf(instrument, timeframe,pn="ttf",use_fresh=False,use_full=True):
567
- use_full_arg = '--full' if use_full else ''
568
- use_fresh_arg = '-old' if not use_fresh else '--fresh'
569
-
570
- ttf_args = [TTFCLI_PROG_NAME, '-i', instrument, '-t', timeframe, use_full_arg, use_fresh_arg, '-pn', pn]
586
+ def ttf(instrument, timeframe, pn="ttf", use_fresh=False, use_full=True):
587
+ """Run TTFCLI for the specified instrument and timeframe."""
588
+ use_full_arg = '-uf' if use_full else '-nf'
589
+ use_fresh_arg = '--fresh' if use_fresh else '-old'
590
+
591
+ ttf_args = [
592
+ TTFCLI_PROG_NAME,
593
+ '-i', instrument,
594
+ '-t', timeframe,
595
+ use_full_arg,
596
+ use_fresh_arg,
597
+ '-pn', pn,
598
+ ]
571
599
  print("TTF is being ran by jgtapp with args: ", ttf_args)
572
600
  subprocess.run(ttf_args, check=True)
573
601
 
574
602
 
575
- def mlf(instrument, timeframe,pn="ttf",total_lagging_periods=5,use_fresh=False,use_full=True):
576
- use_full_arg = '--full' if use_full else ''
577
- use_fresh_arg = '-old' if not use_fresh else '--fresh'
578
- mlf_args = [MLFCLI_PROG_NAME, '-i', instrument, '-t', timeframe, use_full_arg, use_fresh_arg, '-pn', pn,'--total_lagging_periods',total_lagging_periods]
603
+ def mlf(instrument, timeframe, pn="ttf", total_lagging_periods=5, use_fresh=False, use_full=True):
604
+ """Run MLFCLI to generate FDB-based patterns."""
605
+ use_full_arg = '-uf' if use_full else '-nf'
606
+ use_fresh_arg = '--fresh' if use_fresh else '-old'
607
+ mlf_args = [
608
+ MLFCLI_PROG_NAME,
609
+ '-i', instrument,
610
+ '-t', timeframe,
611
+ use_full_arg,
612
+ use_fresh_arg,
613
+ '-pn', pn,
614
+ '--total_lagging_periods', total_lagging_periods,
615
+ ]
579
616
  subprocess.run(mlf_args, check=True)
580
617
 
581
618
 
@@ -356,4 +356,4 @@ def main():
356
356
 
357
357
 
358
358
  if __name__ == "__main__":
359
- main()
359
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jgtml
3
- Version: 0.0.332
3
+ Version: 0.0.335
4
4
  Summary: JGT Ml - Machine Learning Tools
5
5
  Home-page: https://github.com/jgwill/jgtml
6
6
  Author: GUillaume Isabelle
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "jgtml"
7
- version = "0.0.332"
7
+ version = "0.0.335"
8
8
  authors = [
9
9
  { name="Guillaume Isabelle", email="jgi@jgwill.com" },
10
10
  ]
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes