Commit Graph

1092 Commits

Author SHA1 Message Date
Joe Schr
5dcf75f648 exchange: replace OperationalException with logger.error message 2024-05-29 19:52:37 +02:00
Joe Schr
4629362a60 Fixing merge error 2024-05-29 19:46:27 +02:00
Joe Schr
bf3eeeb0fc Use .exception instead of .error for trace logging 2024-05-29 19:46:27 +02:00
Joe Schr
32f931ca25 Revert "refresh_latest_trades: remove "-cached" from trades pair files"
This reverts commit 839827c0d7.
2024-05-29 19:46:27 +02:00
Matthias
d0eb55a0be Small type fixes 2024-05-18 16:45:49 +02:00
Matthias
a92178dd60 load_cached_leverage_tiers should allow a remote cache period 2024-05-16 19:11:51 +02:00
Joe Schr
0460ce45ff ruff format: exchange/trades_load 2024-05-16 14:28:30 +02:00
Joe Schr
f99e8f18bc refresh_latest_trades: removes TODO 2024-05-16 14:10:08 +02:00
Joe Schr
839827c0d7 refresh_latest_trades: remove "-cached" from trades pair files 2024-05-16 14:08:02 +02:00
Joe Schr
a56faf503b ruff format: orderflow / public trades 2024-05-15 17:09:32 +02:00
Joe Schr
b9035da981 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-05-15 14:43:00 +02:00
Joe Schr
dd432ffbde cleanup ruff and isort errors 2024-05-14 17:28:07 +02:00
Matthias
a9732c6195 Fix odd formatting by ruff format 2024-05-13 07:10:25 +02:00
Matthias
e4e8c3967c ruff format: exchange class 2024-05-13 07:10:25 +02:00
Matthias
a8eabd0b2e Update remaining files with new import sorting 2024-05-13 07:10:24 +02:00
Joe Schr
56b07386ae fix _now_is_time_to_refresh_trades so it checks for latest fetched trades 2024-05-08 15:12:42 +02:00
Matthias
3f9019a1ad Don't use coro directly 2024-05-05 19:55:02 +02:00
Matthias
cc534c5000 switch from arrow to humanize 2024-04-21 15:29:16 +02:00
Matthias
0c99ff7f66 Fix more default arg usages 2024-04-20 09:26:50 +02:00
Matthias
a078088ea3 Fix some more default argument usage in exchange classes 2024-04-20 09:24:51 +02:00
Matthias
31f6030c67 Reduce some mutable default argument usage 2024-04-20 09:22:28 +02:00
Christian Clauss
99b4767bf4 Fix typos discovered by codespell 2024-04-18 22:51:25 +02:00
Matthias
65654a4a44 Update ccxt exception handlers
OperationFailed is the new NetworkError

closes #10071
2024-04-13 11:12:10 +02:00
Matthias
e0f1b1e48e Attempt to reduce diff as much as possible 2024-04-05 06:53:48 +02:00
Matthias
843c68b072 Don't use noqa. 2024-04-05 06:41:46 +02:00
Matthias
63ac183e91 Merge branch 'develop' into feature/fetch-public-trades 2024-04-05 06:35:35 +02:00
Joe Schr
53702bfdfe fix: make until non-optional 2024-03-28 15:35:19 +01:00
Joe Schr
d226e7054c fix: remove unused stop_on_from_id 2024-03-28 15:26:28 +01:00
Matthias
7d6d3d38f7
Merge pull request #9975 from freqtrade/feat/configError
exception ConfigurationError
2024-03-21 08:38:45 +01:00
Matthias
cc7d341afc Add overrides for Exchange Support 2024-03-21 06:31:34 +01:00
Matthias
4a097bd644 More usages for ConfigurationError 2024-03-19 07:13:17 +01:00
Matthias
b5307f8281 Fix bug caused by any typing 2024-03-16 17:19:01 +01:00
Matthias
21bca95b6a Group things logically in exchange class 2024-03-16 17:05:18 +01:00
Matthias
86fe765180 Improved naming on max_trades 2024-03-16 17:01:27 +01:00
Matthias
88e25df78c Merge branch 'develop' into feature/fetch-public-trades 2024-03-16 16:34:57 +01:00
Matthias
0f3d538f6c Avoid duplicate pandas imports 2024-03-16 16:26:17 +01:00
Matthias
9a72003c74
Merge pull request #9878 from TheJoeSchr/chore/extract-timeframe-to-xyz-from-exchange-utils
chore: extract `timeframe_to_*` functions into `exchange_utils_timeframe.py`
2024-03-15 20:01:43 +01:00
Joe Schr
c12e203054 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-03-11 12:29:00 +01:00
Matthias
518b6eb565 use dt_ts to simplify exchange date math 2024-03-10 19:31:43 +01:00
Joe Schr
6c1d70df89 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-03-05 17:29:24 +01:00
Matthias
cdfeae9f90 Update merge to "left" to avoid creating non-existing mark candles 2024-02-29 07:31:22 +01:00
Matthias
e988995d71 Handle NaN funding fees
closes #9831
2024-02-29 07:22:47 +01:00
Joe Schr
b55105ec82 chore: adjust timeframe_to_* imports accordingly 2024-02-27 10:42:29 +01:00
Matthias
426e7c48e4 Update typehint for candle_cache 2024-02-26 13:54:19 +01:00
Matthias
7db2367de9 Improve ohlcv pair cache with since_ms
avoids some rare bugs in more complex configurations.
2024-02-26 13:54:19 +01:00
Matthias
392d5ae09a Use set to reduce iterations 2024-02-26 13:54:19 +01:00
Matthias
322a3a3bbd Add fetch_order_emulated to support exchanges without proper fetch_order method 2024-02-26 13:54:19 +01:00
Matthias
0f4bffca9c Remove unused import 2024-02-26 13:54:19 +01:00
Matthias
671426540e Refactor ohlcv caching to exchange class 2024-02-26 13:54:16 +01:00
Matthias
c491c2a8ee Adjust for ccxt exception hierarchy change
caused by https://github.com/ccxt/ccxt/pull/21035
2024-02-26 13:53:10 +01:00
Matthias
db83b0cdb0 Update typehint for candle_cache 2024-02-22 07:09:47 +01:00
Matthias
4cfd5d004e Improve ohlcv pair cache with since_ms
avoids some rare bugs in more complex configurations.
2024-02-22 06:38:28 +01:00
Matthias
4e87169a0c Use set to reduce iterations 2024-02-22 06:28:54 +01:00
Matthias
65af7750e6 Add fetch_order_emulated to support exchanges without proper fetch_order method 2024-02-20 06:21:03 +01:00
Matthias
51a6a7b632
Merge pull request #9821 from freqtrade/feat/volumepairlist_caching
improve volumepairlist "advanced filter mode" caching
2024-02-18 11:46:31 +01:00
Matthias
ebd439cdd1 Remove unused import 2024-02-17 16:41:10 +01:00
Matthias
bcfe7ef547 Refactor ohlcv caching to exchange class 2024-02-17 16:26:44 +01:00
Matthias
c1d7184849 Adjust for ccxt exception hierarchy change
caused by https://github.com/ccxt/ccxt/pull/21035
2024-02-15 19:20:08 +01:00
Joe Schr
7248f20938 Direct import to avoid circular import error 2024-02-13 12:00:24 +01:00
Joe Schr
bff93e31c8 Moves orderflow logic to it's own file 2024-02-12 13:45:56 +01:00
Joe Schr
d7b88194e0 Resolve various issues and comments 2024-02-12 13:45:56 +01:00
Joe Schr
6e7a536c7a Replaces public_trades_to_dataframe with trades_list_to_df 2024-02-12 13:45:56 +01:00
Joe Schr
c610c44a43 Removes unrequired drop_incomplete 2024-02-12 12:12:20 +01:00
Joe Schr
a7e4a5e2dc Removes clean_duplicate_trades 2024-02-12 12:11:52 +01:00
Joe Schr
71e36be34b Use get_historic_trades directly 2024-02-12 10:10:45 +01:00
Joe Schr
aab3c07b87 Use _max_trades_candle_limit directly 2024-02-12 10:10:36 +01:00
Joe Schr
e60b997fd0 Pass on missed argument stop_on_from_id 2024-02-12 09:38:49 +01:00
Joe Schr
e8714d52cd Removes nonsensical if gate 2024-02-12 09:31:37 +01:00
Matthias
d23079f837 improve tests slighly 2024-02-10 20:13:17 +01:00
Joe Schr
5b264d66e0 Ruff and flake fixes 2024-02-08 19:38:21 +01:00
Joe Schr
c40f3d91d4 Ruff fix 2024-02-08 19:06:43 +01:00
Joe Schr
1a0610f3e4 mypy fixes 2024-02-08 12:11:10 +01:00
Joe Schr
14fb29516a Removes unused code path 2024-02-08 11:56:57 +01:00
Joe Schr
0647ce59e7 Fix error if until is undefined 2024-02-08 11:06:15 +01:00
Joe Schr
2925a2a2fa Fix regression BaseException 2024-02-07 17:39:49 +01:00
Joe Schr
b8f92ecc52 Ruff fixes 2024-02-07 13:23:43 +01:00
Joe Schr
39ba6fe56b Ruff --fix 2024-02-07 12:48:15 +01:00
Joe Schr
b117f1b474 Fix superfluous changes 2024-02-07 12:30:50 +01:00
Joe Schr
f61c75ffcc Fix isort imports 2024-02-06 20:35:16 +01:00
Joe Schr
3ae5667684 Fix merge regression regarding _pairs_last_refresh_time 2024-02-06 20:23:10 +01:00
Joe Schr
c04cce52ea Fix unnecessary deep intend 2024-02-06 20:13:23 +01:00
TheJoeSchr
5487e02ba2
Merge branch 'develop' into feature/fetch-public-trades 2024-02-02 15:14:04 +01:00
Joe Schr
8337bf3c47 Fix typo 2024-02-02 15:12:05 +01:00
Joe Schr
6aaf5d6069 Explain why not using IDataHandler 2024-02-02 14:17:18 +01:00
Joe Schr
e405c42097 Copy trades dataframe directly instead of using deepcopy 2024-02-02 14:15:17 +01:00
Matthias
ad121c19b0 Allow <1m timeframes for utility modes 2024-02-02 06:57:12 +01:00
Joe Schr
2833169955 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-02-01 11:46:38 +01:00
Matthias
612ec38e57 Don't skip trades if the exchange doesn't do inclusive filtering 2024-01-21 16:50:49 +01:00
Matthias
c167575098 Move extracting trade pagination id to fetch_trades 2024-01-21 15:22:03 +01:00
Matthias
c333c9c5a1 Improve kraken trades pagination logic 2024-01-21 14:08:35 +01:00
Matthias
50287ce556 ensure funding_fee_timeframe is always set 2024-01-04 15:29:28 +01:00
Matthias
3c1bbd9610 Improve funding_fee_calc method structure 2024-01-04 15:23:15 +01:00
Matthias
22307913d8 Reduce caching to 5min to speed up UI refreshes in case of open orders. 2024-01-04 14:22:02 +01:00
Matthias
e722d81456 Fake order response should contain order_id 2024-01-02 09:24:00 +01:00
Matthias
10dbf47836 Improve exchange_response formatting 2024-01-02 08:53:13 +01:00
Matthias
a2160e4503 add exchange_response logging to funding_fee endpoint
help debug #9626
2024-01-01 19:33:21 +01:00
Joe Schr
18be79c906 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2023-12-18 10:34:20 +01:00
Matthias
5bbe6aacfd Remove Bittrex subclass 2023-12-18 07:15:24 +01:00
Matthias
8c5194d5e2 force-reload markets when BadSymbol appears
closes #9463
2023-11-25 15:05:56 +01:00
Matthias
67e81c9018 Fix wrong/faulty docstring 2023-11-25 13:10:45 +01:00