Commit Graph

12647 Commits

Author SHA1 Message Date
Matthias
6b98bfe9b7 Simplify output 2024-07-06 11:42:40 +02:00
Matthias
7a67771e46 feat: include orderbook / fetchTicker to exchange_has
this will ensure one of the "get price" methods is available.
2024-07-06 10:55:10 +02:00
Matthias
bfe18573f3 Improve wording for list-exchanges command 2024-07-06 10:52:03 +02:00
Matthias
4a4e6bc952 chore: fix flake8-builtins overrides 2024-07-05 08:51:23 +02:00
Matthias
deeabbca12 chore: Don't override builtins 2024-07-05 08:51:20 +02:00
Matthias
8d9825ac95 chore: noqa S404
we're using static parameters with subpross, so it should be safe.
2024-07-05 08:25:24 +02:00
Matthias
ab0fd461ed chore: Replace np.NAN with np.nan
properly implements what #10402 tried to do.
2024-07-05 08:18:36 +02:00
Matthias
cd8bd9038e fix: Reassign "options" on market reload
Ensures that all data is available after init or reload.
2024-07-04 18:12:14 +02:00
Matthias
7c697d4ded fix: Validate trades for fee
We can't rely on the "trades" subarray from the order
to contain everything we need
As such, we need to ensure that required properties are present and not None.

closes #10398
2024-07-04 16:38:12 +02:00
Matthias
a0a5ccc445 Merge branch 'develop' into ci/ccxt.pro 2024-07-04 12:08:36 +02:00
xmatthias
01506a2ad3 chore: update pre-commit hooks 2024-07-04 03:12:01 +00:00
Matthias
b58e412982 feat: Add "DEX" output for list- exchanges subcommand 2024-07-03 13:34:00 +02:00
Matthias
7209b2e71a Merge branch 'develop' into ci/ccxt.pro 2024-07-03 13:13:13 +02:00
Matthias
d8eb6e59fa Fix missing import 2024-07-03 12:01:22 +02:00
Matthias
e5a453a1f3 Improve clarity on argument definition 2024-07-03 12:01:13 +02:00
Matthias
44c9358ac1 Simplify argparse imports 2024-07-03 11:55:55 +02:00
Matthias
0f1894037d Increased Args typehint 2024-07-03 11:51:11 +02:00
Matthias
dcb442f1df Fix / Improve supported options for lookahead-analysis 2024-07-03 11:42:44 +02:00
Matthias
f294aafbf5
Merge pull request #10352 from freqtrade/feat/pairlist_bt_check
Feat/pairlist_bt_check
2024-07-03 09:58:45 +02:00
Matthias
a800152a43 Update gzip open mode to text mode
It's slightly faster this way, as json files are text anyway.
2024-07-03 09:19:23 +02:00
Matthias
11798ae018 chore: update version to 2024.7-dev 2024-06-30 09:42:08 +00:00
konradbeck
1c4e809f84
Update telegram.py
The help command doesn't have consistent formatting.

- /stop: "Description" doesn't conform to the other formatting.
- Statistics header isn't on it's own line.
2024-06-29 09:58:37 +02:00
xmatthias
5fa24163f5 chore: update pre-commit hooks 2024-06-27 03:12:21 +00:00
Matthias
282198a81c update enum value to Biased 2024-06-21 17:43:27 +02:00
Matthias
b7f180ab3f fix: Improve safety of custom_stop return validation
If the return is inf or NaN freqtrade should not fail
closes #10349
2024-06-21 16:43:07 +02:00
Matthias
dd42a79234 Remove most explicit "supports backtesting" checks 2024-06-21 14:57:57 +02:00
Matthias
ea58be2705 Classify individual pairlists for backtestability 2024-06-21 14:57:57 +02:00
Matthias
c1e938ccda Add "BacktestnigSupport" method to pairlists 2024-06-21 14:57:57 +02:00
Matthias
02c38f7396 Prevent data-downloads for exchanges that don't support this. 2024-06-20 18:29:17 +02:00
Matthias
776a8e43cd Add trades_has_history attribute 2024-06-20 18:24:43 +02:00
xmatthias
d5bad0ed45 chore: update pre-commit hooks 2024-06-20 03:14:42 +00:00
Matthias
b43d578bb0 Merge branch 'develop' into ci/ccxt.pro 2024-06-18 20:34:18 +02:00
Matthias
a9ebefdc37 Prevent warning on __del__ during tests 2024-06-16 09:56:03 +02:00
Matthias
2223c16d00 Load hyperparameters when calling plot_config 2024-06-16 09:52:25 +02:00
Matthias
1775d86af2 Merge branch 'develop' into ci/ccxt.pro 2024-06-14 19:46:14 +02:00
Matthias
03d2d5dc5d Update bt_output types 2024-06-13 06:43:31 +02:00
Matthias
dd469944c9 Extract per-tag subresults from main backtest_result method 2024-06-13 06:43:31 +02:00
Matthias
156eeb90b9 Output mixed tags table 2024-06-13 06:43:31 +02:00
Matthias
68b8b29089 Calculated mixed tags results 2024-06-13 06:43:31 +02:00
xmatthias
7106ff6923 chore: update pre-commit hooks 2024-06-13 03:02:25 +00:00
Matthias
1b2cfc9857 Simplify generate_tag_metrics logic 2024-06-11 19:53:22 +02:00
Matthias
2ec4449558 Use better column header for backtest output 2024-06-11 19:08:24 +02:00
Matthias
09b1b1ab94 Use "trades" wording in backtest tables 2024-06-11 07:03:47 +02:00
Matthias
90efd04617 Improve typing in backtesting 2024-06-11 06:47:23 +02:00
Matthias
f314607bb6 Update pairlists to use *args **kwargs init 2024-06-09 08:55:03 +02:00
Matthias
29e23dfdb9 Use self._ for pairlist inits 2024-06-09 08:55:03 +02:00
Matthias
2cb89996d2 Remove unused imports 2024-06-09 08:44:26 +02:00
Matthias
3b86e3e66e Fix deprecated "abstractproperty" 2024-06-09 08:44:04 +02:00
Matthias
598e461892 Remove unused __init__ method 2024-06-09 08:42:51 +02:00
Matthias
de5a5d0967 Don't use assert in non-test code. 2024-06-08 09:32:54 +02:00
Matthias
cef9c45f68 don't use plain eval 2024-06-08 09:31:50 +02:00
Matthias
2f83ff73e2 Further bandid noqa's 2024-06-08 09:27:40 +02:00
Matthias
50e4d273f4 noqa empty passes on version detection 2024-06-08 09:23:02 +02:00
Matthias
6b932133ea Log during cleanup 2024-06-08 09:20:23 +02:00
Matthias
bd8b8e8b8b Add a few bandid noqa's on acceptable use 2024-06-08 09:19:54 +02:00
Matthias
0eeaee21fb Avoid "restart" failure - reset ccxt cache 2024-06-07 19:03:28 +02:00
xmatthias
779905a8f2 chore: update pre-commit hooks 2024-06-06 03:02:43 +00:00
Matthias
9da0437e3d Improve exchange_ws shutdown 2024-06-04 19:52:19 +02:00
Matthias
0f9335d242 Merge branch 'develop' into ci/ccxt.pro 2024-06-04 19:45:22 +02:00
Matthias
133dc1d343 api_async is mandatory ... 2024-06-04 19:42:04 +02:00
Matthias
a2251d045c Only load markets once
Increases startup speed by 6s on binance (from 9 to 3s).
2024-06-04 19:01:00 +02:00
Matthias
5a08d1acf9 combine _load_markets and reload_markets 2024-06-04 07:21:42 +02:00
Matthias
6913aed027 Merge branch 'develop' into ci/ccxt.pro 2024-06-01 08:48:50 +02:00
Matthias
0e44cd91d8 StrEnum was only introduced in 3.11 . . . 2024-06-01 08:43:04 +02:00
Matthias
5a0e0263d8 use StrEnum for RunMode 2024-05-31 20:36:18 +02:00
Matthias
122896f9ab Improved "task done" message 2024-05-31 07:12:02 +02:00
Matthias
8b90643f3a Don't show "exchange closed by user" exceptions 2024-05-31 07:03:40 +02:00
Matthias
12852438a5 Call connection at intervals 2024-05-31 06:52:11 +02:00
Matthias
33e61b1308 Extract connection reset from exchange_ws 2024-05-31 06:48:38 +02:00
Matthias
7e736a34dd Reduce ccxt.pro verbosity 2024-05-31 06:40:14 +02:00
Matthias
f33c4db572 Apply ruff formatting to ws branch 2024-05-31 06:40:14 +02:00
Matthias
cabd36253e Reduce level of "reuse watch result" . . . 2024-05-31 06:40:14 +02:00
Matthias
212ac2073e Don't multiply klines_last_refresh
with 1000 - it's already in ms
2024-05-31 06:40:14 +02:00
Matthias
627154cb66 improve ws "removing" condition 2024-05-31 06:40:14 +02:00
Matthias
7ec8b28be3 Re-adjust ts handling to not use time.time() 2024-05-31 06:40:14 +02:00
Matthias
765fa06daa Deepcopy ccxt ws result 2024-05-31 06:40:14 +02:00
Matthias
d5d818be8b Remove unused import 2024-05-31 06:40:14 +02:00
Matthias
ed8b9018c5 Properly handle shutdown (canceled coroutines)
This will imrove shutdown behavior
2024-05-31 06:40:14 +02:00
Matthias
68c36ce07d Fix typo 2024-05-31 06:40:14 +02:00
Matthias
b5239f06ae Improve log formatting 2024-05-31 06:40:14 +02:00
Matthias
7bc4fdca27 remove pairs from _pairs_schedules when their coroutine stops 2024-05-31 06:40:14 +02:00
Matthias
93cdf1bb54 Simplify logging 2024-05-31 06:40:14 +02:00
Matthias
554d4134ff Add humanized date to debug log 2024-05-31 06:40:14 +02:00
Matthias
45c17f2448 Reduce excessive log again 2024-05-31 06:40:14 +02:00
Matthias
ce33b031f2 Show pair for task finished 2024-05-31 06:40:14 +02:00
Matthias
fc66a12c14 Improve "stopped" messages 2024-05-31 06:40:14 +02:00
Matthias
85725b5472 Improved exception message 2024-05-31 06:40:14 +02:00
Matthias
c482b7e40f Add log for "removal" tracking 2024-05-31 06:40:14 +02:00
Matthias
80c7d4eb5f Improve debug logging 2024-05-31 06:40:14 +02:00
Matthias
d3962a7c07 Remove websocket init for non-trade modes 2024-05-31 06:40:14 +02:00
Matthias
2ade5191e6 Ensure shutdown of async exchange, fix test 2024-05-31 06:40:14 +02:00
Matthias
d42e012ec3 ws - Improve cleanup behavior 2024-05-31 06:40:14 +02:00
Matthias
9f2708247a Enable ws for bybit 2024-05-31 06:40:14 +02:00
Matthias
f324af938a Improve WS logic to assume a candle is complete if time rolled over 2024-05-31 06:40:14 +02:00
Matthias
b5dc54072e Ensure exchange objects are not undefined 2024-05-31 06:40:14 +02:00
Matthias
c61d9e0dec Reduce verbosity 2024-05-31 06:40:14 +02:00
Matthias
c0c775114e Slightly improved loggign 2024-05-31 06:40:14 +02:00
Matthias
0ec751826b Opt in binance to websocket support 2024-05-31 06:40:14 +02:00
Matthias
137ddb2ec3 Require opt-in for ws enablement to allow slow rollout 2024-05-31 06:40:14 +02:00
Matthias
f9ce0bb9ab Improve exchange formatting 2024-05-31 06:40:14 +02:00