Skip to content

Commit c3ea793

Browse files
committed
Merge branch 'develop' into add-custom-roi-strategy-callback
2 parents c901f6d + 9d91a4a commit c3ea793

File tree

113 files changed

+15265
-7192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+15265
-7192
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Have you searched for similar issues before posting it?
1212
If you have discovered a bug in the bot, please [search the issue tracker](https://github.com/freqtrade/freqtrade/issues?q=is%3Aissue).
1313
If it hasn't been reported, please create a new issue.
1414
15-
Please do not use bug reports to request new features.
15+
Please do not use the bug report template to request new features.
1616
-->
1717

1818
## Describe your environment

.github/ISSUE_TEMPLATE/question.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ assignees: ''
88
---
99
<!--
1010
Have you searched for similar issues before posting it?
11-
Did you have a VERY good look at the [documentation](https://www.freqtrade.io/en/latest/) and are sure that the question is not explained there
11+
Did you have a VERY good look at the [documentation](https://www.freqtrade.io/) and are sure that the question is not explained there
1212
1313
Please do not use the question template to report bugs or to request new features.
14+
15+
Has your strategy or configuration been generated by an AI model, and is now not working?
16+
Please consult the documentation. We'll close such issues and point to the documentation.
1417
-->
1518

1619
## Describe your environment
@@ -22,4 +25,4 @@ Please do not use the question template to report bugs or to request new feature
2225

2326
## Your question
2427

25-
*Ask the question you have not been able to find an answer in the [Documentation](https://www.freqtrade.io/en/latest/)*
28+
*Ask the question you have not been able to find an answer in the [Documentation](https://www.freqtrade.io/)*

.github/workflows/binance-lev-tier-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: python build_helpers/binance_update_lev_tiers.py
3535

3636

37-
- uses: peter-evans/create-pull-request@v7
37+
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
3838
with:
3939
token: ${{ secrets.REPO_SCOPED_TOKEN }}
4040
add-paths: freqtrade/exchange/binance_leverage_tiers.json

.github/workflows/ci.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
python-version: ${{ matrix.python-version }}
3939

4040
- name: Install uv
41-
uses: astral-sh/setup-uv@v5
41+
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
4242
with:
43+
activate-environment: true
4344
enable-cache: true
4445
python-version: ${{ matrix.python-version }}
4546
cache-dependency-glob: "requirements**.txt"
@@ -144,7 +145,7 @@ jobs:
144145
mypy freqtrade scripts tests
145146
146147
- name: Discord notification
147-
uses: rjstone/discord-webhook-notify@v1
148+
uses: rjstone/discord-webhook-notify@1399c1b2d57cc05894d506d2cfdc33c5f012b993 #v1.1.1
148149
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
149150
with:
150151
severity: error
@@ -170,8 +171,9 @@ jobs:
170171
check-latest: true
171172

172173
- name: Install uv
173-
uses: astral-sh/setup-uv@v5
174+
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
174175
with:
176+
activate-environment: true
175177
enable-cache: true
176178
python-version: ${{ matrix.python-version }}
177179
cache-dependency-glob: "requirements**.txt"
@@ -270,7 +272,7 @@ jobs:
270272
mypy freqtrade scripts
271273
272274
- name: Discord notification
273-
uses: rjstone/discord-webhook-notify@v1
275+
uses: rjstone/discord-webhook-notify@1399c1b2d57cc05894d506d2cfdc33c5f012b993 #v1.1.1
274276
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
275277
with:
276278
severity: info
@@ -296,8 +298,9 @@ jobs:
296298
python-version: ${{ matrix.python-version }}
297299

298300
- name: Install uv
299-
uses: astral-sh/setup-uv@v5
301+
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
300302
with:
303+
activate-environment: true
301304
enable-cache: true
302305
python-version: ${{ matrix.python-version }}
303306
cache-dependency-glob: "requirements**.txt"
@@ -363,7 +366,7 @@ jobs:
363366
shell: powershell
364367

365368
- name: Discord notification
366-
uses: rjstone/discord-webhook-notify@v1
369+
uses: rjstone/discord-webhook-notify@1399c1b2d57cc05894d506d2cfdc33c5f012b993 #v1.1.1
367370
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
368371
with:
369372
severity: error
@@ -397,7 +400,7 @@ jobs:
397400
- uses: actions/setup-python@v5
398401
with:
399402
python-version: "3.12"
400-
- uses: pre-commit/[email protected]
403+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
401404

402405
docs-check:
403406
runs-on: ubuntu-22.04
@@ -421,7 +424,7 @@ jobs:
421424
mkdocs build
422425
423426
- name: Discord notification
424-
uses: rjstone/discord-webhook-notify@v1
427+
uses: rjstone/discord-webhook-notify@1399c1b2d57cc05894d506d2cfdc33c5f012b993 #v1.1.1
425428
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
426429
with:
427430
severity: error
@@ -431,7 +434,7 @@ jobs:
431434

432435
build-linux-online:
433436
# Run pytest with "live" checks
434-
runs-on: ubuntu-22.04
437+
runs-on: ubuntu-24.04
435438
steps:
436439
- uses: actions/checkout@v4
437440
with:
@@ -443,8 +446,9 @@ jobs:
443446
python-version: "3.12"
444447

445448
- name: Install uv
446-
uses: astral-sh/setup-uv@v5
449+
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
447450
with:
451+
activate-environment: true
448452
enable-cache: true
449453
python-version: "3.12"
450454
cache-dependency-glob: "requirements**.txt"
@@ -501,14 +505,14 @@ jobs:
501505

502506
- name: Check user permission
503507
id: check
504-
uses: scherermichael-oss/[email protected]
508+
uses: scherermichael-oss/action-has-permission@136e061bfe093832d87f090dd768e14e27a740d3 # 1.0.6
505509
with:
506510
required-permission: write
507511
env:
508512
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
509513

510514
- name: Discord notification
511-
uses: rjstone/discord-webhook-notify@v1
515+
uses: rjstone/discord-webhook-notify@1399c1b2d57cc05894d506d2cfdc33c5f012b993 #v1.1.1
512516
if: always() && steps.check.outputs.has-permission && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
513517
with:
514518
severity: info
@@ -580,7 +584,7 @@ jobs:
580584
merge-multiple: true
581585

582586
- name: Publish to PyPI (Test)
583-
uses: pypa/[email protected]
587+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
584588
with:
585589
repository-url: https://test.pypi.org/legacy/
586590

@@ -609,7 +613,7 @@ jobs:
609613
merge-multiple: true
610614

611615
- name: Publish to PyPI
612-
uses: pypa/[email protected]
616+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
613617

614618

615619
deploy-docker:
@@ -650,11 +654,11 @@ jobs:
650654
docker version -f '{{.Server.Experimental}}'
651655
652656
- name: Set up QEMU
653-
uses: docker/setup-qemu-action@v3
657+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
654658

655659
- name: Set up Docker Buildx
656660
id: buildx
657-
uses: docker/setup-buildx-action@v3
661+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 #v3.10.0
658662

659663
- name: Available platforms
660664
run: echo ${PLATFORMS}
@@ -703,7 +707,7 @@ jobs:
703707
build_helpers/publish_docker_arm64.sh
704708
705709
- name: Discord notification
706-
uses: rjstone/discord-webhook-notify@v1
710+
uses: rjstone/discord-webhook-notify@1399c1b2d57cc05894d506d2cfdc33c5f012b993 #v1.1.1
707711
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) && (github.event_name != 'schedule')
708712
with:
709713
severity: info

.github/workflows/devcontainer-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
with:
2929
persist-credentials: false
3030
- name: Login to GitHub Container Registry
31-
uses: docker/login-action@v3
31+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
3232
with:
3333
registry: ghcr.io
3434
username: ${{ github.actor }}
3535
password: ${{ secrets.GITHUB_TOKEN }}
3636
- name: Pre-build dev container image
37-
uses: devcontainers/[email protected]
37+
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.19
3838
with:
3939
subFolder: .github
4040
imageName: ghcr.io/${{ github.repository }}-devcontainer

.github/workflows/docker-update-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
persist-credentials: false
1717

1818
- name: Docker Hub Description
19-
uses: peter-evans/dockerhub-description@v4
19+
uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 # v4.0.2
2020
with:
2121
username: ${{ secrets.DOCKER_USERNAME }}
2222
password: ${{ secrets.DOCKER_PASSWORD }}

.github/workflows/pre-commit-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Run auto-update
2929
run: pre-commit autoupdate
3030

31-
- uses: peter-evans/create-pull-request@v7
31+
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
3232
with:
3333
token: ${{ secrets.REPO_SCOPED_TOKEN }}
3434
add-paths: .pre-commit-config.yaml

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343

4444
- repo: https://github.com/charliermarsh/ruff-pre-commit
4545
# Ruff version.
46-
rev: 'v0.11.5'
46+
rev: 'v0.11.9'
4747
hooks:
4848
- id: ruff
4949
- id: ruff-format
@@ -82,6 +82,6 @@ repos:
8282

8383
# Ensure github actions remain safe
8484
- repo: https://github.com/woodruffw/zizmor-pre-commit
85-
rev: v1.5.2
85+
rev: v1.7.0
8686
hooks:
8787
- id: zizmor

build_helpers/binance_update_lev_tiers.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212
proxy = os.environ.get("CI_WEB_PROXY")
1313

1414
exchange = ccxt.binance(
15-
{"apiKey": key, "secret": secret, "httpsProxy": proxy, "options": {"defaultType": "swap"}}
15+
{
16+
"apiKey": key,
17+
"secret": secret,
18+
"httpsProxy": proxy,
19+
"options": {"defaultType": "swap"},
20+
}
1621
)
1722
_ = exchange.load_markets()
1823

build_helpers/pyarrow-19.0.1-cp311-cp311-linux_armv7l.whl renamed to build_helpers/pyarrow-20.0.0-cp311-cp311-linux_armv7l.whl

16.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)