Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from freqtrade:develop #377

Merged
merged 3,306 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3306 commits
Select commit Hold shift + click to select a range
8736728
chore: remove unused import
xmatthias Sep 29, 2024
39c582d
tests: move protection-validation test to protection test file
xmatthias Sep 29, 2024
f77fedb
chore: move available_protections constant to test file (it's only us…
xmatthias Sep 29, 2024
8a742ce
chore: bump version to 2024.10-dev
xmatthias Sep 29, 2024
4785194
chore(deps): bump mkdocs-material in the mkdocs group
dependabot[bot] Sep 30, 2024
4ef87e3
chore(deps): bump tensorboard from 2.17.1 to 2.18.0
dependabot[bot] Sep 30, 2024
30945dc
chore(deps): bump uvicorn from 0.30.6 to 0.31.0
dependabot[bot] Sep 30, 2024
4180420
chore(deps): bump ccxt from 4.4.6 to 4.4.9
dependabot[bot] Sep 30, 2024
8cc928c
chore(deps-dev): bump ruff from 0.6.7 to 0.6.8
dependabot[bot] Sep 30, 2024
b0b866e
Merge pull request #10723 from freqtrade/remove/deprecated_protection…
xmatthias Sep 30, 2024
773bf76
feat(hyperliquid): Remove precision override
xmatthias Sep 30, 2024
2a25ac9
Merge pull request #10726 from freqtrade/dependabot/pip/develop/mkdoc…
xmatthias Sep 30, 2024
1fb0f2f
chore(deps): bump pymdown-extensions from 10.10.1 to 10.11.1
dependabot[bot] Sep 30, 2024
131c6e7
Merge pull request #10727 from freqtrade/dependabot/pip/develop/tenso…
xmatthias Sep 30, 2024
b883377
Merge pull request #10731 from freqtrade/dependabot/pip/develop/uvico…
xmatthias Sep 30, 2024
da76007
Merge pull request #10732 from freqtrade/dependabot/pip/develop/ccxt-…
xmatthias Sep 30, 2024
a740883
chore(deps): bump aiohttp from 3.10.5 to 3.10.8
dependabot[bot] Sep 30, 2024
ebefefa
Merge pull request #10733 from freqtrade/dependabot/pip/develop/ruff-…
xmatthias Sep 30, 2024
2bf79a5
Merge pull request #10729 from freqtrade/dependabot/pip/develop/pymdo…
xmatthias Sep 30, 2024
cdcb21b
Merge pull request #10730 from freqtrade/dependabot/pip/develop/aioht…
xmatthias Sep 30, 2024
915591c
chore: update pre-commit hooks
xmatthias Oct 1, 2024
a0f00d0
Merge pull request #10734 from freqtrade/update/pre-commit-hooks
xmatthias Oct 1, 2024
cd63abb
chore: update documentation to mention 3.10+ compat
xmatthias Oct 1, 2024
757ae65
chore: remove pointless conditional (we can't hit this point)
xmatthias Oct 1, 2024
878043e
chore: drop 3.9 support from setup.sh
xmatthias Oct 1, 2024
682980b
chore: drop 3.9 support from setup.ps1
xmatthias Oct 1, 2024
0cd051c
chore: update conditional check for python version
xmatthias Oct 1, 2024
e975062
chore: don't run CI on 3.9
xmatthias Oct 1, 2024
bede816
chore: remove conditional requirements
xmatthias Oct 1, 2024
a92532c
chore: Remove now pointless helper function
xmatthias Oct 1, 2024
f9c8b7f
chore: fix ps syntax error
xmatthias Oct 1, 2024
98f4bf2
chore: remove Ta-lib binaries for 3.9
xmatthias Oct 1, 2024
d8c6c76
Merge pull request #10735 from freqtrade/maint/3.9_removal
xmatthias Oct 1, 2024
d2bc47c
tests: fix test-data setup for usdt trades
xmatthias Oct 1, 2024
bf2d046
tests: fix test-data setup for btc test trades
xmatthias Oct 1, 2024
84d43db
Correct admonition indent
xzmeng Oct 1, 2024
9538c49
chore(deps): bump python
dependabot[bot] Oct 2, 2024
ad578bb
Merge pull request #10739 from freqtrade/dependabot/docker/python-3.1…
xmatthias Oct 2, 2024
c3ad3ff
Merge pull request #10737 from xzmeng/fix-doc
xmatthias Oct 2, 2024
1ad177f
feat: add liquidation_price update support for cross mode
xmatthias Aug 24, 2024
b69f598
refactor: move more code into cross conditional
xmatthias Aug 24, 2024
3de740b
feat: create shared method for liquidation price update
xmatthias Aug 24, 2024
0560567
test: add test for liquidation_price update function
xmatthias Aug 25, 2024
ec79b0b
feat: update dry-run calculation params to be more generic
xmatthias Aug 29, 2024
82bc327
test: Update binance test for new approach
xmatthias Aug 29, 2024
0c0bb29
chore: add other_trades param to liquidation_price calls
xmatthias Aug 29, 2024
c316d27
refactor: move exception handler into helper function
xmatthias Aug 30, 2024
5358f2f
feat: allow liquidation-price update without trades for cross mode
xmatthias Aug 30, 2024
45e75f3
chore: improve arguments to get_liquidation_price
xmatthias Aug 30, 2024
1473abf
refactor: rename dry-liquidation parameter
xmatthias Aug 31, 2024
0d59193
test: update binance test
xmatthias Aug 31, 2024
ac8bc7d
fix: use "other trades" logic for binance cross calc
xmatthias Aug 31, 2024
8bf3142
chore: simplify call to liquidation price for cross futures
xmatthias Aug 31, 2024
fe7a883
feat: add method to fetch binance funding fees
xmatthias Aug 31, 2024
319e8d7
feat: use proper trade objects for liquidation calc
xmatthias Aug 31, 2024
4d40ffe
fix: allow setting 0 as liquidation price
xmatthias Aug 31, 2024
cba6bd6
fix: use t.leverage, not trade.leverage for cross liq calculations
xmatthias Aug 31, 2024
36ae564
feat: update liquidation price on startup
xmatthias Aug 31, 2024
c5525d3
feat: support backtesting with cross configuration
xmatthias Sep 5, 2024
abe01f8
feat: implement liquidation price update on all order fills
xmatthias Sep 5, 2024
9bdee1b
feat: improve typing of fetch_funding_rates
xmatthias Sep 6, 2024
86721b8
chore: improve import logic
xmatthias Oct 2, 2024
9ba0c54
chore: cleanup test code
xmatthias Oct 2, 2024
a0912ad
tests: update ccxt compat test
xmatthias Oct 2, 2024
fe270bd
Merge pull request #10741 from freqtrade/feat/improve_liquidation_logic
xmatthias Oct 2, 2024
5fa96c9
chore: update pre-commit hooks
xmatthias Oct 3, 2024
48a8d7d
Postpone imports on demand
xzmeng Oct 3, 2024
9c28a6f
Add test
xzmeng Oct 3, 2024
137db2c
Merge pull request #10745 from freqtrade/update/binance-leverage-tiers
xmatthias Oct 3, 2024
66605e9
Merge branch 'develop' into startup-time
xzmeng Oct 4, 2024
e6dedee
Split freqtrade.system into a package
xzmeng Oct 4, 2024
0fe772e
Eliminate unnecessary TYPE_CHECKING
xzmeng Oct 4, 2024
9036141
Eliminate unnecessary lazy import
xzmeng Oct 4, 2024
30a273c
Revert lazy import requests
xzmeng Oct 4, 2024
852a190
Fix test
xzmeng Oct 4, 2024
f889c24
Fix test
xzmeng Oct 4, 2024
7db0e3a
chore: remove obsolete version check
xmatthias Oct 4, 2024
74b8dca
chore: update to modern typing syntax
xmatthias Oct 4, 2024
65bbf7b
chore: update commands to modern typing syntax
xmatthias Oct 4, 2024
43236c1
chore: update config to modern typing syntax
xmatthias Oct 4, 2024
6601127
chore: update config to modern typing syntax
xmatthias Oct 4, 2024
ed7eb01
chore: update data to modern typing syntax
xmatthias Oct 4, 2024
d1b9990
chore: update edge config to modern typing syntax
xmatthias Oct 4, 2024
f369151
chore: update exchange config to modern typing syntax
xmatthias Oct 4, 2024
96f737f
chore: update freqai to modern typing syntax
xmatthias Oct 4, 2024
c5ed876
chore: update types config to modern typing syntax
xmatthias Oct 4, 2024
2e69e38
chore: update optimize to modern typing syntax
xmatthias Oct 4, 2024
e9a6ba0
chore: update persistence to modern typing syntax
xmatthias Oct 4, 2024
d8e41fa
chore: update plugins to modern typing syntax
xmatthias Oct 4, 2024
b8bbf3b
chore: update resolvers to modern typing syntax
xmatthias Oct 4, 2024
1d4658e
chore: update rpc to modern typing syntax
xmatthias Oct 4, 2024
acc40c7
chore: update strategy to modern typing syntax
xmatthias Oct 4, 2024
8ec5dd6
chore: update to modern typing syntax
xmatthias Oct 4, 2024
628983d
chore: update ft_client to modern typing syntax
xmatthias Oct 4, 2024
2e0a597
chore: update tests to modern typing syntax
xmatthias Oct 4, 2024
cf6c41f
chore: remove no longer required imports
xmatthias Oct 4, 2024
4c3c2ea
chore: update ruff target version to 3.9
xmatthias Oct 4, 2024
67690c9
Fix setup.py
xzmeng Oct 4, 2024
e2adfe9
Merge pull request #10749 from xzmeng/fix-setuppy
xmatthias Oct 4, 2024
27a3274
chore: improve behavior by validating earlier
xmatthias Oct 5, 2024
1ad4f0c
chore: re-export from system module
xmatthias Oct 5, 2024
3fe97e1
chore: Remove __futures__ import and corresponding ruff skips
xmatthias Oct 5, 2024
092275a
refactor: move config deployment to it's own file
xmatthias Oct 5, 2024
24c09d0
refactor: move ui deployment to it's own file
xmatthias Oct 5, 2024
672a23d
chore: revert changes to btanalysis - they have no impact
xmatthias Oct 5, 2024
ed5c929
chore: remove rapidjson from "default" imports
xmatthias Oct 5, 2024
aa2c150
chore: fix missed dependencies for deploy_ui
xmatthias Oct 5, 2024
b885c3d
Merge pull request #10746 from xzmeng/startup-time
xmatthias Oct 6, 2024
2b1fc87
Merge branch 'develop' into maint/bump_ruff_minpython
xmatthias Oct 6, 2024
78e9eac
chore: Fix remaining violations after merge
xmatthias Oct 6, 2024
e703fec
Merge pull request #10748 from freqtrade/maint/bump_ruff_minpython
xmatthias Oct 6, 2024
9ffd0ad
add is_number check
stash86 Oct 7, 2024
6461271
chore(deps-dev): bump types-python-dateutil in the types group
dependabot[bot] Oct 7, 2024
278404f
chore(deps-dev): bump ruff from 0.6.8 to 0.6.9
dependabot[bot] Oct 7, 2024
fca39a7
chore(deps): bump ccxt from 4.4.9 to 4.4.14
dependabot[bot] Oct 7, 2024
34e7362
chore(deps-dev): bump pre-commit from 3.8.0 to 4.0.0
dependabot[bot] Oct 7, 2024
58fccad
chore(deps): bump aiohttp from 3.10.8 to 3.10.9
dependabot[bot] Oct 7, 2024
ec6d9ec
chore(deps): bump humanize from 4.10.0 to 4.11.0
dependabot[bot] Oct 7, 2024
7c9e677
chore(deps): bump rich from 13.8.1 to 13.9.2
dependabot[bot] Oct 7, 2024
4000794
chore(deps): bump pymdown-extensions from 10.11.1 to 10.11.2
dependabot[bot] Oct 7, 2024
6993a65
chore(deps): bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3
dependabot[bot] Oct 7, 2024
b9caed4
Merge pull request #10760 from freqtrade/dependabot/pip/develop/ruff-…
xmatthias Oct 7, 2024
03b76f3
Merge pull request #10761 from freqtrade/dependabot/pip/develop/ccxt-…
xmatthias Oct 7, 2024
90d8dfc
Merge pull request #10762 from freqtrade/dependabot/pip/develop/pre-c…
xmatthias Oct 7, 2024
3c6711c
Merge pull request #10763 from freqtrade/dependabot/pip/develop/aioht…
xmatthias Oct 7, 2024
eeed65b
chore: Bump pre-commit types-python-dateutil
xmatthias Oct 7, 2024
9a53724
Merge pull request #10764 from freqtrade/dependabot/pip/develop/human…
xmatthias Oct 7, 2024
f81ab8e
Merge pull request #10765 from freqtrade/dependabot/pip/develop/rich-…
xmatthias Oct 7, 2024
b320358
Merge pull request #10766 from freqtrade/dependabot/pip/develop/pymdo…
xmatthias Oct 7, 2024
a00032d
Merge pull request #10768 from freqtrade/dependabot/github_actions/de…
xmatthias Oct 7, 2024
fe8eabd
Merge pull request #10759 from freqtrade/dependabot/pip/develop/types…
xmatthias Oct 7, 2024
52304b3
feat: Allow strategies to not define enter_long
xmatthias Oct 7, 2024
5693039
tests: Add test-column to ensure string columns won't regress
xmatthias Oct 7, 2024
271375d
Merge pull request #10758 from stash86/recursive-str
xmatthias Oct 7, 2024
b2d6c5b
chore: update pre-commit hooks
xmatthias Oct 8, 2024
ddeb649
Merge pull request #10770 from freqtrade/update/pre-commit-hooks
xmatthias Oct 8, 2024
92b2a6f
fix: Support mps device where available
xmatthias Oct 8, 2024
a71ed3e
chore: update pre-commit hooks
xmatthias Oct 10, 2024
d72f45a
Merge pull request #10776 from freqtrade/update/binance-leverage-tiers
xmatthias Oct 10, 2024
4b582b9
fix(bybit): Override fetchOrder to false for spot markets
xmatthias Oct 10, 2024
35b81a2
Initial work on strategy dev docs
froggleston Oct 11, 2024
48740f5
docs: add new document to index
xmatthias Oct 12, 2024
aa8cefc
fix: minor missing statement in detail backtest fallback
xmatthias Oct 12, 2024
bd7f038
chore: improve clarity of argument name
xmatthias Oct 12, 2024
883122a
refactor: Simplify backtest code slightly
xmatthias Oct 12, 2024
2756a1f
chore: improve statement sequence for improved short circuiting
xmatthias Oct 12, 2024
d503724
chore: improve backtest comment
xmatthias Oct 12, 2024
4cd4660
Remove setup.py
xzmeng Oct 13, 2024
7bbed17
chore(deps): bump mkdocs-material in the mkdocs group
dependabot[bot] Oct 14, 2024
a772e1f
chore(deps): bump uvicorn from 0.31.0 to 0.31.1
dependabot[bot] Oct 14, 2024
64a7ab6
chore(deps-dev): bump time-machine from 2.15.0 to 2.16.0
dependabot[bot] Oct 14, 2024
83fcc92
chore(deps-dev): bump pre-commit from 4.0.0 to 4.0.1
dependabot[bot] Oct 14, 2024
2415275
chore(deps): bump bottleneck from 1.4.0 to 1.4.1
dependabot[bot] Oct 14, 2024
2098e69
chore(deps): bump aiohttp from 3.10.9 to 3.10.10
dependabot[bot] Oct 14, 2024
42fcdb3
Merge pull request #10789 from freqtrade/dependabot/pip/develop/mkdoc…
xmatthias Oct 14, 2024
5418237
Merge pull request #10790 from freqtrade/dependabot/pip/develop/uvico…
xmatthias Oct 14, 2024
ae70902
Merge pull request #10792 from freqtrade/dependabot/pip/develop/time-…
xmatthias Oct 14, 2024
3a190a1
chore(deps): bump fastapi from 0.115.0 to 0.115.2
dependabot[bot] Oct 14, 2024
d1d6a30
Merge pull request #10795 from freqtrade/dependabot/pip/develop/pre-c…
xmatthias Oct 14, 2024
eef6966
Merge pull request #10796 from freqtrade/dependabot/pip/develop/bottl…
xmatthias Oct 14, 2024
753a88c
Merge pull request #10797 from freqtrade/dependabot/pip/develop/aioht…
xmatthias Oct 14, 2024
cdbfbb5
chore(deps): bump ccxt from 4.4.14 to 4.4.17
dependabot[bot] Oct 14, 2024
256815e
Merge pull request #10793 from freqtrade/dependabot/pip/develop/fasta…
xmatthias Oct 14, 2024
33d98df
Merge pull request #10791 from freqtrade/dependabot/pip/develop/ccxt-…
xmatthias Oct 14, 2024
0c1c750
Add and dependency groups
xzmeng Oct 14, 2024
8c2f841
Update 101 and customisation docs
froggleston Oct 14, 2024
c72cf64
Americanize *sigh*
froggleston Oct 14, 2024
c9b31c6
docs: improved wording for developer docs
xmatthias Oct 14, 2024
a8e8517
Minor typo
froggleston Oct 14, 2024
b209548
Merge pull request #10783 from xzmeng/remove-setuppy
xmatthias Oct 15, 2024
8b1de5d
Update docs/freqtrade-101.md
froggleston Oct 15, 2024
60f54f1
Improve 101 docs
froggleston Oct 15, 2024
9209d11
Add new hyperopt loss function
bearvar Oct 16, 2024
5b2b2d1
chore: update pre-commit hooks
xmatthias Oct 17, 2024
aaeaa02
Merge pull request #10807 from freqtrade/update/binance-leverage-tiers
xmatthias Oct 17, 2024
121bdba
Update and rename hyperopt_loss_complex.py to hyperopt_loss_multi_met…
bearvar Oct 17, 2024
6eac798
Rename ComplexHyperOptLoss to MultiMetricHyperOptLoss. Add it to test…
bearvar Oct 17, 2024
5786046
Edit PF_CONST to show it can be decimal.
bearvar Oct 17, 2024
78bf40e
Edit EXPECTANCY_CONST to show it can be decimal.
bearvar Oct 17, 2024
efc689a
chore: update macos version to new images
xmatthias Oct 17, 2024
a40a2f9
chore: attempt to speed up CI
xmatthias Oct 18, 2024
e47042d
Merge pull request #10773 from freqtrade/fix/freqai_m3
xmatthias Oct 18, 2024
3914abd
Merge pull request #10808 from freqtrade/update_macos_images
xmatthias Oct 18, 2024
9b7acf3
docs: rename file to strategy-101
xmatthias Oct 18, 2024
43b6cb9
docs: Update 101 docs
xmatthias Oct 18, 2024
9e1af0d
delete market change when deleting backtest result
xzmeng Oct 19, 2024
c6fe8ae
feat: add lbank candle limit parameters
xmatthias Oct 19, 2024
549b0f8
feat: delete all files when deleting a backtest result
xmatthias Oct 19, 2024
102d44a
chore: improve lbank comment message
xmatthias Oct 19, 2024
660af7e
chore: Fix test failure, sort imports
xmatthias Oct 19, 2024
1a85dc9
chore: Update to new code standard
xmatthias Oct 19, 2024
e9d9ebf
docs: Update documentation for MultiMetricHyperOptLoss
xmatthias Oct 19, 2024
0a91189
chore: remove unused kwargs
xmatthias Oct 19, 2024
6a5feac
tests: Skip binanceus websocket tests
xmatthias Oct 19, 2024
d56f46e
Merge pull request #10805 from bearvar/ComplexHyperOptLoss
xmatthias Oct 19, 2024
9b16cc6
Merge pull request #10810 from xzmeng/delete-market-change
xmatthias Oct 19, 2024
6d16978
chore: remove mypy override for telegram module
xmatthias Oct 20, 2024
1183517
chore: remove non-needed type_checking import
xmatthias Oct 20, 2024
607167e
fix: improve resilience of ft_rest_client
xmatthias Oct 20, 2024
0a5549e
docs: add canonical_version
xmatthias Oct 20, 2024
51dd7fa
chore: ensure empty leverage tiers files don't cause an exception
xmatthias Oct 20, 2024
3518a41
chore: minor typing fix
xmatthias Oct 20, 2024
60439c7
chore: enhanced pyright configuration
xmatthias Oct 20, 2024
b75ff4b
Adjust docs based on review
froggleston Oct 20, 2024
306db6d
chore(deps-dev): bump types-requests in the types group
dependabot[bot] Oct 21, 2024
c818003
chore(deps): bump mkdocs-material in the mkdocs group
dependabot[bot] Oct 21, 2024
d02b1f0
chore(deps): bump uvicorn from 0.31.1 to 0.32.0
dependabot[bot] Oct 21, 2024
24499c5
chore(deps): bump bottleneck from 1.4.1 to 1.4.2
dependabot[bot] Oct 21, 2024
83f285c
chore(deps-dev): bump mypy from 1.11.2 to 1.12.1
dependabot[bot] Oct 21, 2024
88c49a9
chore(deps-dev): bump ruff from 0.6.9 to 0.7.0
dependabot[bot] Oct 21, 2024
0f978bb
chore(deps): bump cryptography from 42.0.8 to 43.0.3
dependabot[bot] Oct 21, 2024
93afe00
chore(deps): bump torch from 2.2.2 to 2.5.0
dependabot[bot] Oct 21, 2024
0843f09
chore(deps): bump orjson from 3.10.7 to 3.10.9
dependabot[bot] Oct 21, 2024
e3bdf89
chore: bump pre-commit types-requests
xmatthias Oct 21, 2024
41a4c7c
chore: improve type safety
xmatthias Oct 21, 2024
4f0380b
Merge pull request #10779 from froggleston/frog-strat101-docs-1
xmatthias Oct 21, 2024
c9246bf
Merge pull request #10815 from freqtrade/dependabot/pip/develop/mkdoc…
xmatthias Oct 21, 2024
9465723
Merge pull request #10816 from freqtrade/dependabot/pip/develop/uvico…
xmatthias Oct 21, 2024
1761d0e
chore(deps): bump psutil from 6.0.0 to 6.1.0
dependabot[bot] Oct 21, 2024
196e82d
Merge pull request #10819 from freqtrade/dependabot/pip/develop/bottl…
xmatthias Oct 21, 2024
9b1999b
Merge pull request #10821 from freqtrade/dependabot/pip/develop/ruff-…
xmatthias Oct 21, 2024
4307065
Merge pull request #10823 from freqtrade/dependabot/pip/develop/crypt…
xmatthias Oct 21, 2024
a29a697
chore(deps): bump ccxt from 4.4.17 to 4.4.20
dependabot[bot] Oct 21, 2024
d9ea898
chore(deps): bump sqlalchemy from 2.0.35 to 2.0.36
dependabot[bot] Oct 21, 2024
2f98d2a
Merge pull request #10825 from freqtrade/dependabot/pip/develop/orjso…
xmatthias Oct 21, 2024
dbbdb7c
Merge pull request #10818 from freqtrade/dependabot/pip/develop/psuti…
xmatthias Oct 21, 2024
0ea9240
Merge pull request #10822 from freqtrade/dependabot/pip/develop/ccxt-…
xmatthias Oct 21, 2024
d781ee0
Merge pull request #10814 from freqtrade/dependabot/pip/develop/types…
xmatthias Oct 21, 2024
7adc505
Merge branch 'develop' into dependabot/pip/develop/mypy-1.12.1
xmatthias Oct 21, 2024
f100ad1
chore: fix whitespace error after merge
xmatthias Oct 21, 2024
336111f
chore: update sqlalchemy pre-commit
xmatthias Oct 21, 2024
a3f8a4f
Merge pull request #10817 from freqtrade/dependabot/pip/develop/sqlal…
xmatthias Oct 21, 2024
c6a43b0
Merge pull request #10820 from freqtrade/dependabot/pip/develop/mypy-…
xmatthias Oct 21, 2024
186f2a8
chore: update pre-commit hooks
xmatthias Oct 22, 2024
d9766bf
Merge pull request #10829 from freqtrade/update/pre-commit-hooks
xmatthias Oct 22, 2024
9ad32fd
fix: improved defaultHyperoptLoss alias
xmatthias Oct 21, 2024
8b8b5cf
feat: add list-hyperoptloss subcommand
xmatthias Oct 21, 2024
033643c
docs: add documentation for list-hyperoptloss
xmatthias Oct 21, 2024
1d5d704
chore: improve test imports
xmatthias Oct 21, 2024
faac205
tests: add test for list-hyperoptloss
xmatthias Oct 22, 2024
0bf30aa
feat: add hyperopt-loss api endpoint
xmatthias Oct 22, 2024
0de3c69
test: add test for api/hyperopt-loss
xmatthias Oct 22, 2024
46db0bc
feat: rename endpoint to be better aligned
xmatthias Oct 22, 2024
667d08d
refactor: extract pairlist_api from background_tasks file
xmatthias Oct 23, 2024
11cef55
test: update mock to new pairlist location
xmatthias Oct 23, 2024
661d366
Merge pull request #10824 from freqtrade/dependabot/pip/develop/torch…
xmatthias Oct 23, 2024
5b4043d
chore: use Class for parse_timerange
xmatthias Oct 24, 2024
3d9cbf5
chore: improve import sorting
xmatthias Oct 24, 2024
3d9514d
chore: update pre-commit hooks
xmatthias Oct 24, 2024
c9ae5e1
Merge pull request #10834 from freqtrade/update/binance-leverage-tiers
xmatthias Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 0 additions & 22 deletions .devcontainer/Dockerfile

This file was deleted.

54 changes: 28 additions & 26 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,44 @@
{
"name": "freqtrade Develop",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"image": "ghcr.io/freqtrade/freqtrade-devcontainer:latest",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8080
],
"mounts": [
"source=freqtrade-bashhistory,target=/home/ftuser/commandhistory,type=volume"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/freqtrade,type=bind,consistency=cached",
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "ftuser",

"onCreateCommand": "pip install --user -e .",
"postCreateCommand": "freqtrade create-userdir --userdir user_data/",

"workspaceFolder": "/workspaces/freqtrade",
"customizations": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"[markdown]": {
"files.trimTrailingWhitespace": false,
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"[markdown]": {
"files.trimTrailingWhitespace": false
},
"python.pythonPath": "/usr/local/bin/python",
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff"
}
},
"python.pythonPath": "/usr/local/bin/python",
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker",
"vscode-icons-team.vscode-icons",
],
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker",
"vscode-icons-team.vscode-icons",
"github.vscode-github-actions",
],
}
}
}
21 changes: 21 additions & 0 deletions .github/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM freqtradeorg/freqtrade:develop_freqairl

USER root
# Install dependencies
COPY requirements-dev.txt /freqtrade/

ARG USERNAME=ftuser

RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog git ssh vim build-essential zsh \
&& apt-get clean \
&& mkdir -p /home/${USERNAME}/.vscode-server /home/${USERNAME}/.vscode-server-insiders /home/${USERNAME}/commandhistory \
&& chown ${USERNAME}:${USERNAME} -R /home/${USERNAME}/.local/ \
&& chown ${USERNAME}: -R /home/${USERNAME}/

USER ftuser

RUN pip install --user autopep8 -r docs/requirements-docs.txt -r requirements-dev.txt --no-cache-dir

# Empty the ENTRYPOINT to allow all commands
ENTRYPOINT []
12 changes: 12 additions & 0 deletions .github/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "freqtrade Dev container image builder",
"build": {
"dockerfile": "Dockerfile",
"context": "../../"
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0.0.3": {}
}
}
19 changes: 18 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
version: 2
updates:
- package-ecosystem: docker
directory: "/"
directories:
- "/"
- "/docker"
schedule:
interval: daily
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
open-pull-requests-limit: 10

- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
time: "03:00"
timezone: "Etc/UTC"
open-pull-requests-limit: 15
target-branch: develop
groups:
types:
patterns:
- "types-*"
pytest:
patterns:
- "pytest*"
mkdocs:
patterns:
- "mkdocs*"

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/binance-lev-tier-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Binance Leverage tiers update

on:
schedule:
- cron: "0 3 * * 4"
# on demand
workflow_dispatch:

permissions:
contents: read

jobs:
auto-update:
runs-on: ubuntu-latest
environment:
name: develop
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install ccxt
run: pip install ccxt

- name: Run leverage tier update
env:
CI_WEB_PROXY: ${{ secrets.CI_WEB_PROXY }}
FREQTRADE__EXCHANGE__KEY: ${{ secrets.BINANCE_EXCHANGE_KEY }}
FREQTRADE__EXCHANGE__SECRET: ${{ secrets.BINANCE_EXCHANGE_SECRET }}
run: python build_helpers/binance_update_lev_tiers.py


- uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
add-paths: freqtrade/exchange/binance_leverage_tiers.json
labels: |
Tech maintenance
Dependencies
branch: update/binance-leverage-tiers
title: Update Binance Leverage Tiers
commit-message: "chore: update pre-commit hooks"
committer: Freqtrade Bot <[email protected]>
body: Update binance leverage tiers.
delete-branch: true
Loading
Loading