Skip to content

Commit a9447e7

Browse files
committed
Merge branch 'develop' into fix_merge_informative_pair
2 parents 93b8769 + 2649ba0 commit a9447e7

File tree

113 files changed

+12819
-5488
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

+12819
-5488
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ MANIFEST.in
1414
README.md
1515
freqtrade.service
1616
freqtrade.egg-info
17+
.venv/
1718

1819
config.json*
1920
*.sqlite
20-
user_data
21+
user_data/
2122
*.log
2223

2324
.vscode
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
name: 'docker-tags'
2+
description: 'Set Docker default Tag environment variables'
3+
# inputs:
4+
outputs:
5+
BRANCH_NAME:
6+
description: 'The branch name'
7+
value: ${{ steps.tags.outputs.BRANCH_NAME }}
8+
TAG:
9+
description: 'The Docker tag'
10+
value: ${{ steps.tags.outputs.TAG }}
11+
TAG_PLOT:
12+
description: 'The Docker tag for the plot'
13+
value: ${{ steps.tags.outputs.TAG_PLOT }}
14+
TAG_FREQAI:
15+
description: 'The Docker tag for the freqai'
16+
value: ${{ steps.tags.outputs.TAG_FREQAI }}
17+
TAG_FREQAI_RL:
18+
description: 'The Docker tag for the freqai_rl'
19+
value: ${{ steps.tags.outputs.TAG_FREQAI_RL }}
20+
TAG_FREQAI_TORCH:
21+
description: 'The Docker tag for the freqai_torch'
22+
value: ${{ steps.tags.outputs.TAG_FREQAI_TORCH }}
23+
TAG_ARM:
24+
description: 'The Docker tag for the arm'
25+
value: ${{ steps.tags.outputs.TAG_ARM }}
26+
TAG_PLOT_ARM:
27+
description: 'The Docker tag for the plot arm'
28+
value: ${{ steps.tags.outputs.TAG_PLOT_ARM }}
29+
TAG_FREQAI_ARM:
30+
description: 'The Docker tag for the freqai arm'
31+
value: ${{ steps.tags.outputs.TAG_FREQAI_ARM }}
32+
TAG_FREQAI_RL_ARM:
33+
description: 'The Docker tag for the freqai_rl arm'
34+
value: ${{ steps.tags.outputs.TAG_FREQAI_RL_ARM }}
35+
TAG_PI:
36+
description: 'The Docker tag for the pi'
37+
value: ${{ steps.tags.outputs.TAG_PI }}
38+
CACHE_TAG_PI:
39+
description: 'The Docker cache tag for the pi'
40+
value: ${{ steps.tags.outputs.CACHE_TAG_PI }}
41+
runs:
42+
using: "composite"
43+
steps:
44+
- name: Extract branch name
45+
shell: bash
46+
id: tags
47+
env:
48+
BRANCH_NAME_INPUT: ${{ github.event.inputs.branch_name }}
49+
run: |
50+
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
51+
BRANCH_NAME="${BRANCH_NAME_INPUT}"
52+
else
53+
BRANCH_NAME="${GITHUB_REF##*/}"
54+
fi
55+
56+
# Replace / with _ to create a valid tag
57+
TAG=$(echo "${BRANCH_NAME}" | sed -e "s/\//_/g")
58+
TAG_PLOT=${TAG}_plot
59+
TAG_FREQAI=${TAG}_freqai
60+
TAG_FREQAI_RL=${TAG_FREQAI}rl
61+
TAG_FREQAI_TORCH=${TAG_FREQAI}torch
62+
63+
TAG_ARM=${TAG}_arm
64+
TAG_PLOT_ARM=${TAG_PLOT}_arm
65+
TAG_FREQAI_ARM=${TAG_FREQAI}_arm
66+
TAG_FREQAI_RL_ARM=${TAG_FREQAI_RL}_arm
67+
68+
TAG_PI="${TAG}_pi"
69+
70+
CACHE_TAG_PI=${CACHE_IMAGE}:${TAG_PI}_cache
71+
72+
echo "BRANCH_NAME=${BRANCH_NAME}" >> "$GITHUB_OUTPUT"
73+
echo "TAG=${TAG}" >> "$GITHUB_OUTPUT"
74+
echo "TAG_PLOT=${TAG_PLOT}" >> "$GITHUB_OUTPUT"
75+
echo "TAG_FREQAI=${TAG_FREQAI}" >> "$GITHUB_OUTPUT"
76+
echo "TAG_FREQAI_RL=${TAG_FREQAI_RL}" >> "$GITHUB_OUTPUT"
77+
echo "TAG_FREQAI_TORCH=${TAG_FREQAI_TORCH}" >> "$GITHUB_OUTPUT"
78+
echo "TAG_ARM=${TAG_ARM}" >> "$GITHUB_OUTPUT"
79+
echo "TAG_PLOT_ARM=${TAG_PLOT_ARM}" >> "$GITHUB_OUTPUT"
80+
echo "TAG_FREQAI_ARM=${TAG_FREQAI_ARM}" >> "$GITHUB_OUTPUT"
81+
echo "TAG_FREQAI_RL_ARM=${TAG_FREQAI_RL_ARM}" >> "$GITHUB_OUTPUT"
82+
echo "TAG_PI=${TAG_PI}" >> "$GITHUB_OUTPUT"
83+
84+
echo "CACHE_TAG_PI=${CACHE_TAG_PI}" >> "$GITHUB_OUTPUT"
85+
86+
cat "$GITHUB_OUTPUT"
87+
88+
- name: Save commit SHA to file
89+
shell: bash
90+
# Add commit to docker container
91+
run: |
92+
echo "${GITHUB_SHA}" > freqtrade_commit

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
persist-credentials: false
2121

22-
- uses: actions/setup-python@v5
22+
- uses: actions/setup-python@v6
2323
with:
2424
python-version: "3.12"
2525

0 commit comments

Comments
 (0)