Merge branch 'develop' into fix/freqai_torch

This commit is contained in:
Matthias
2026-03-25 12:31:28 +01:00
3 changed files with 6 additions and 6 deletions
+2 -1
View File
@@ -336,8 +336,9 @@ jobs:
python-version: "${{ matrix.python-version }}" python-version: "${{ matrix.python-version }}"
- name: Build distribution - name: Build distribution
# TODO: remove hard-pin on build 1.4.0 once https://github.com/pypa/build/issues/1004 is resolved.
run: | run: |
uv pip install -U build uv pip install -U build==1.4.0
python -m build --sdist --wheel python -m build --sdist --wheel
- name: Upload artifacts 📦 - name: Upload artifacts 📦
+1 -1
View File
@@ -33,7 +33,7 @@ class AwesomeStrategy(IStrategy):
trade_entry_type = trade.get_custom_data(key='entry_type') trade_entry_type = trade.get_custom_data(key='entry_type')
if trade_entry_type is None: if trade_entry_type is None:
trade_entry_type = 'breakout' if 'entry_1' in trade.enter_tag else 'dip' trade_entry_type = 'breakout' if 'entry_1' in trade.enter_tag else 'dip'
elif fills > 1: elif len(fills) > 1:
trade_entry_type = 'buy_up' trade_entry_type = 'buy_up'
trade.set_custom_data(key='entry_type', value=trade_entry_type) trade.set_custom_data(key='entry_type', value=trade_entry_type)
return super().bot_loop_start(**kwargs) return super().bot_loop_start(**kwargs)
+3 -4
View File
@@ -23,9 +23,8 @@ def test_pip_audit_no_vulnerabilities():
Run pip-audit to check for known security vulnerabilities. Run pip-audit to check for known security vulnerabilities.
This test will fail if any vulnerabilities are detected in the installed packages. This test will fail if any vulnerabilities are detected in the installed packages.
Note: Document ignores here if vulnerabilities are acceptable.
Note: CVE-2025-53000 (nbconvert Windows vulnerability) is ignored as it only affects
Windows platforms and is a known acceptable risk for this project.
""" """
# Get the project root directory # Get the project root directory
project_root = Path(__file__).parent.parent project_root = Path(__file__).parent.parent
@@ -35,8 +34,8 @@ def test_pip_audit_no_vulnerabilities():
"pip_audit", "pip_audit",
# "--format=json", # "--format=json",
"--progress-spinner=off", "--progress-spinner=off",
"--ignore-vuln", # "--ignore-vuln",
"CVE-2025-53000", # "CVE-2025-53000",
"--skip-editable", "--skip-editable",
] ]