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.
- {jgtml-0.0.332/jgtml.egg-info → jgtml-0.0.335}/PKG-INFO +1 -1
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/__init__.py +1 -1
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jgtapp.py +56 -19
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/trading_orchestrator.py +1 -1
- {jgtml-0.0.332 → jgtml-0.0.335/jgtml.egg-info}/PKG-INFO +1 -1
- {jgtml-0.0.332 → jgtml-0.0.335}/pyproject.toml +1 -1
- {jgtml-0.0.332 → jgtml-0.0.335}/LICENSE +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/README.md +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/README.rst +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/AlligatorIllusionDetector.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/JGTBalanceAnalyzer.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/JGTOutputHelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/MLFRequest.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/SOHelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/SignalOrderingHelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/TideAlligatorAnalysis.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/alligator_cli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/anhelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/automated_fdb_trading_system.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/enhanced_fdb_scanner_with_illusion_detection.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/enhanced_trading_cli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/fdb_pattern_intelligence.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/fdb_scanner_2408.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/fdb_signal_quality_predictor.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jdash.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jgtml_obsds_240515_TIDE_SIGNALS.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jgtmlcli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jplt.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/jtc.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mfihelper2.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlclicommon.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlcliconstants.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlconstants.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mldatahelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlfcli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlfsvc.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mlutils.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxcli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxconstants.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxhelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/mxsvc.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/pncli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/pto250518.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ptomlf.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ptottf.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ptottfpatterns.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/realityhelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_get_files_in_ns.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_pncli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_signal_ordering_helper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/test_soh_gator_validations.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/tst_barhelper_and_pd.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/tst_jgtpov.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ttfcli.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/ttfsvc.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/unified_discovery_dataset_generator.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/xhelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml/zonehelper.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/SOURCES.txt +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/dependency_links.txt +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/entry_points.txt +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/requires.txt +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/jgtml.egg-info/top_level.txt +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/setup.cfg +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/setup.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/tests/test-calc-targets-2.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/tests/test-calc-targets.py +0 -0
- {jgtml-0.0.332 → jgtml-0.0.335}/tests/test-plot-CDS.py +0 -0
|
@@ -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
|
-
|
|
543
|
-
|
|
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
|
-
|
|
547
|
-
|
|
548
|
-
|
|
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
|
-
|
|
563
|
-
|
|
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
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
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
|
-
|
|
577
|
-
|
|
578
|
-
|
|
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
|
|
|
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
|
|
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
|