Commit Graph

13242 Commits

Author SHA1 Message Date
jainanuj94
b6702d1d32 simplify merging logic 2024-08-18 23:22:20 +05:30
jainanuj94
c3679910a4 remove additional argument 2024-08-18 23:14:21 +05:30
Stefano Ariestasia
83e0cf75c5 add startup count from strategy to the analysis 2024-08-18 23:48:11 +09:00
jainanuj94
19a2e06c0b #000 | Anuj | Merge Dfs for entry and exit in one table 2024-08-18 18:41:04 +05:30
Matthias
fd9ec438dc feat: show name, class name and eventually the replacement alias 2024-08-18 11:36:34 +02:00
Matthias
7cab973cbf feat: get new name for aliased ccxt exchanges 2024-08-18 11:36:06 +02:00
Matthias
d754a2e295 feat: improve default imports 2024-08-18 08:38:59 +02:00
Matthias
768b4e5e2b chore: Update formatting of default export sequence 2024-08-18 08:38:11 +02:00
Matthias
9408e858cd chore: use aligned quoting strategy for templtae 2024-08-17 16:43:46 +02:00
Matthias
0995164110 feat: improve formatting of generated strategy 2024-08-17 16:36:21 +02:00
Matthias
b3a042a63b feat: don't use commented typehints
Imports are correct now
2024-08-17 16:32:38 +02:00
Matthias
c2ac70ff10 feat: update base_strategy to include all imports 2024-08-17 16:30:06 +02:00
Matthias
e7b57d8dee chore: Update import for qtpylib to technical 2024-08-17 16:28:56 +02:00
Matthias
5bc8b02b0f feat: Update imports for sample strategy 2024-08-17 16:28:19 +02:00
Matthias
d6f96b2c53 chore: remove typing imports
These shouldn't be star imported, but should be explicitly imported.
2024-08-17 16:26:21 +02:00
Matthias
6c131b5648 chore: add comment to better explain imports 2024-08-17 16:25:47 +02:00
Matthias
f0a25ea485 feat: Add __all__ export to strategy's init file 2024-08-17 16:24:59 +02:00
Matthias
4ca6e61726 fix: use dynamic trading_mode for trades loading
closes #10540
2024-08-16 18:27:30 +02:00
Matthias
f341edb975 feat: Enable websocket support for okx 2024-08-15 19:54:08 +02:00
Matthias
fdad24aaac feat: add leverage to telegram's /status table 2024-08-15 17:57:00 +02:00
Matthias
34667c69d3 chore: remove leverage from /balance endpoint 2024-08-15 17:00:11 +02:00
Matthias
756fef53f9 refactor: improve live positions update 2024-08-15 17:00:08 +02:00
Matthias
d521699305 refactor: type fetch_positions response 2024-08-15 08:08:50 +02:00
Matthias
5ad23405b7 chore: align safevalue_fallback types 2024-08-15 08:06:50 +02:00
Matthias
04cdd807ba chore: improved type ordering 2024-08-15 07:30:21 +02:00
Matthias
646ed50f37 chore: improve typing for balance endpoint 2024-08-15 07:29:19 +02:00
Matthias
21c5c919ea chore: Improve typehinting for hyperopt 2024-08-15 06:50:22 +02:00
xmatthias
77b32e94f1 chore: update pre-commit hooks 2024-08-15 03:12:42 +00:00
Matthias
331159a3d8 fix: ensure handle_onexchange_order works without false warnings
futures were not properly handled in this command.

closes #10533
2024-08-14 21:18:51 +02:00
Matthias
23510c80be fix: don't auto-populate non-existing secret entries 2024-08-14 08:19:58 +02:00
Matthias
ef497beaea
Merge pull request #10484 from freqtrade/feat/trades_async
Move trades-refresh to async
2024-08-13 15:18:26 +02:00
Matthias
6ea450a4e1 chore: bitvavo uses DECIMAL_PLACES for amount rounding
closes #9560
2024-08-13 14:30:01 +02:00
Matthias
f64786543d feat: hyperliquid requires different precision modes 2024-08-13 12:21:13 +02:00
Matthias
c60e00c77f
Merge pull request #10530 from freqtrade/feat/price_precision_mode
add price_precision_mode
2024-08-13 12:20:53 +02:00
Matthias
7e502beafc
Merge pull request #10527 from freqtrade/feat/bt_generator
Backtesting - dynamic pairlist sorting
2024-08-13 09:56:19 +02:00
Matthias
aa6c30ade6 chore: fix line too long issue 2024-08-13 09:50:34 +02:00
Matthias
0b8dfa6878 chore: improved docstring for precision_mode_price 2024-08-13 09:29:36 +02:00
Matthias
cfa591838f feat: use "precision_mode_price" where applicable 2024-08-13 09:13:10 +02:00
Matthias
ac1ac0debe feat: set precision_mode_price when creating trade objects 2024-08-13 09:11:44 +02:00
Matthias
f8de46cea9 feat: Add precision_mode_price column 2024-08-13 09:09:12 +02:00
Matthias
0f820e4498 chore: Fix 3.9 syntax error 2024-08-13 07:12:57 +02:00
Matthias
2b86865b9b chore: improve wording in subcommand helptext 2024-08-13 07:02:53 +02:00
Matthias
a991c76842 feat: add test for test_list_data command 2024-08-13 06:54:35 +02:00
Matthias
d02ea3244a feat: add "trades" switch to list-data command 2024-08-13 06:46:02 +02:00
Matthias
5a9f87ac63 feat: add start_list_trades_data command to output trades data 2024-08-13 06:44:28 +02:00
Matthias
cf26635e3c feat: add trades helper functions
trades_get_available data and trades_data_min_max
2024-08-13 06:36:39 +02:00
Matthias
b63c04df4f chore: update help wording 2024-08-12 20:11:43 +02:00
Matthias
784208dd87 chore: improve variable naming for ohlcv 2024-08-12 19:44:55 +02:00
Matthias
5cb6c234c4 chore: improve naming for refresh_latest_trades 2024-08-12 19:44:45 +02:00
Matthias
7972a023ed fix: oddly wrong fee_cost calculation 2024-08-12 16:45:51 +02:00
Matthias
6cf92c2a90 chore: enhanced aggregation syntax 2024-08-12 16:41:07 +02:00
Matthias
70f3018e67 feat: remove "open_trade_count_start" workaround
Due to the updated pair ordering logic, we can open trades on
different pairs during the same candle without
superating the max_open_trades limit
2024-08-12 14:51:42 +02:00
Matthias
08c10c1f9b chore: exclude right boundary from parallelism test 2024-08-12 14:51:42 +02:00
Matthias
7945eba386 feat: Evaluate pairs with open trades first
This will enable further improved logic for pairs with no open trade.
2024-08-12 14:51:42 +02:00
Matthias
f01e101447 feat: extract backtest iteration into generator 2024-08-12 14:51:42 +02:00
Matthias
980b81f009 chore: Simplify futures backtest 2024-08-12 14:51:37 +02:00
Matthias
10f0522a6b chore: update attribute wording to bt_profit 2024-08-12 10:57:53 +02:00
Matthias
2bc9cdafb2 chore: update attribute wording to bt_trades 2024-08-12 10:57:53 +02:00
Matthias
e643a2ea32 chore: update attribute wording to bt_trades_open 2024-08-12 10:57:53 +02:00
Matthias
0afd3fc5e1 fix: improved handling for corrupt trades files
part of #10515
2024-08-10 20:13:36 +02:00
Matthias
f5ebfcca5a chore: accept that trades dataframes may be empty for some reason
part of #10515
2024-08-10 20:13:30 +02:00
Matthias
6f33115187
Merge pull request #10400 from simwai/feature/stoploss-start-at
Added unlock_at field for protection config
2024-08-10 16:40:09 +02:00
Matthias
ed59f74cb8 chore: move asyncio import to only import when necessary 2024-08-09 06:45:08 +02:00
Matthias
2b4438720c chore: call selectorPolicy 2024-08-09 06:16:44 +02:00
Matthias
758e532a6a chore: add todo to uvicorn workaround 2024-08-08 20:25:17 +02:00
Matthias
d4ca6617de chore: set asyncio-policy for windows 2024-08-08 20:25:09 +02:00
xmatthias
9d0cd961b4 chore: update pre-commit hooks 2024-08-08 03:12:08 +00:00
jainanuj94
d351ed0173 refactor: change analyse_on variable name to date_col 2024-08-06 15:16:30 +05:30
jainanuj94
3ebc5b136c review comments and update test for exit signals 2024-08-06 12:55:48 +05:30
jainanuj94
103991746b chore: type safety and refactoring 2024-08-05 23:57:24 +05:30
jainanuj94
7f0e5dd335 Refactor and add documentation 2024-08-05 23:19:38 +05:30
froggleston
17dc41279c
Ruff formatting 2024-08-04 21:59:07 +01:00
froggleston
cb4747aed2
Add rich table width if jupyter in modules 2024-08-04 21:43:00 +01:00
Matthias
6c5fb5e22b chore: add_config_files to config_schema 2024-08-04 09:03:32 +02:00
Matthias
4854bdd02f chore: Add log_responses to config schema 2024-08-04 08:29:15 +02:00
Matthias
c8d30ae801 chore: fix oneline exchange-list output 2024-08-03 18:30:21 +02:00
Matthias
b3915ff8fd chore: use classname to show exchanges 2024-08-03 18:25:31 +02:00
Matthias
805c946b33 feat: improve structure of list_exchange endpoints 2024-08-03 18:24:52 +02:00
Matthias
f63910d355 chore: improve wording for cooldown_period 2024-08-02 20:15:46 +02:00
Matthias
98c8521057 chore: fix minor gotcha 2024-08-02 20:13:59 +02:00
Matthias
79d4dc1646 Merge branch 'develop' into feature/stoploss-start-at 2024-08-02 19:51:28 +02:00
jainanuj94
ecf9c173c4 Add test for backtesitng-analysis 2024-08-02 20:46:19 +05:30
jainanuj94
b0e863dbbb Introduce --exit-signals flag to backtesting-analysis command 2024-08-02 20:09:56 +05:30
jainanuj94
8f8859a5f5 Initial commit - create a different file for signals 2024-08-02 15:54:03 +05:30
Matthias
9429657a2b chore: make Hyperliquid class actually usable 2024-08-02 07:28:09 +02:00
Matthias
2b0b1e23eb chore: enhance error message on ohlcv error 2024-08-02 07:26:54 +02:00
Matthias
dd55baf148 chore: support snake_case for api keys 2024-08-02 07:26:54 +02:00
Matthias
a840969512 feat: move trades-refresh to async 2024-08-01 19:58:17 +02:00
Matthias
abef8e376c feat: add $schema to config examples 2024-08-01 07:03:34 +02:00
Matthias
8a85077e70 chore: add download_trades config key, reorder some keys 2024-08-01 07:02:47 +02:00
Matthias
b3ac296cac chore: Improve schema wording 2024-08-01 06:58:17 +02:00
xmatthias
af554fc3f7 chore: update pre-commit hooks 2024-08-01 03:15:58 +00:00
Matthias
d33c930f26
Merge pull request #10454 from jainanuj94/feature/10348
Add  percent change pairlist
2024-07-30 20:58:27 +02:00
Matthias
1ebbfffd2a chore: hyperliquid doesn't have historic ohlcv 2024-07-29 19:42:28 +02:00
Matthias
faaa1050da chore: Bump dev version to 2024.8 2024-07-28 20:10:30 +02:00
jainanuj94
aa327643f5 Merge remote-tracking branch 'upstream/develop' into feature/10348 2024-07-28 22:26:58 +05:30
jainanuj94
ac1e405c34 Update documentation and fix doc test 2024-07-28 21:10:20 +05:30
Matthias
61b573bb89 feat: Add "strategy override" hints 2024-07-28 08:25:35 +02:00
Matthias
a368c00302 feat: add freqAI remaining parameters 2024-07-27 16:58:10 +02:00
Matthias
06bbcf4c9f feat: add some freqAI parameter descriptions 2024-07-27 16:57:56 +02:00
Matthias
edf66deb96 feat: add RL parameter descriptions 2024-07-27 16:57:47 +02:00
Matthias
075f6b9412 feat: more config schema descriptions - emc 2024-07-27 16:56:06 +02:00
Matthias
05b202caa6 feat: more config schema descriptions (exchange) 2024-07-27 16:56:06 +02:00
Matthias
aaac080dfb feat: more config schema descriptions 2024-07-27 16:56:06 +02:00
Matthias
14a20c703b feat: more config schema descriptions 2024-07-27 16:56:06 +02:00
Matthias
6cfba2c225 feat: more config schema descriptions (api_server) 2024-07-27 16:56:06 +02:00
Matthias
29e9dd44e9 feat: more config schema descriptions (telegram) 2024-07-27 16:56:06 +02:00
Matthias
00729a87ff chore: remove validation for deprecated settings 2024-07-27 16:56:06 +02:00
Matthias
ca47e3489c feat: more config schema descriptions 2024-07-27 16:56:06 +02:00
Matthias
abde1a1c39 feat: more config schema descriptions 2024-07-27 16:56:06 +02:00
Matthias
d42b5b7733 feat: Add more descriptions to config schema 2024-07-27 16:56:06 +02:00
Matthias
4e51140506 feat: Add initial descriptions for config schema 2024-07-27 16:56:06 +02:00
Matthias
206baf7d80 chore: add a bit of typehinting 2024-07-27 16:13:17 +02:00
Matthias
4ac7a4fdab Allow empty min_Value setting... 2024-07-27 16:07:51 +02:00
Matthias
8637f4a70d Remove SortKey dynamics and setting 2024-07-27 16:04:51 +02:00
Matthias
6454a7a453 chore: Remove Phemex from blocklist.
not providing history is not necessarily a reason to hard-block an exchange.
2024-07-27 15:57:07 +02:00
Matthias
6645fd5d8a chore: fix flake8 error 2024-07-26 08:20:42 +00:00
jainanuj94
4a768682ea Remove unnecessary logs and up description 2024-07-26 13:13:26 +05:30
jainanuj94
dad4f30597 Correct calculation for percent calculation and use tickers 2024-07-25 23:33:28 +05:30
Matthias
b88b1cbbdb fix: Update /trades to include L/S indicator
closes #10457
2024-07-25 07:00:11 +02:00
jainanuj94
1b81de01b4 10348 | run ruff formatter 2024-07-25 00:04:06 +05:30
jainanuj94
b09f9e8c12 10348 | Update tests and add pairlist constants 2024-07-24 19:12:11 +05:30
jainanuj94
4b1177e07e 10348 | Create new pair list to dynamically fetch pairs based on percent volume change 2024-07-24 19:09:45 +05:30
Matthias
bf9aa2c388 chore: Extract config validation schema 2024-07-23 18:14:31 +02:00
Matthias
a964884077 chore: Remove now unused type ignore comment 2024-07-22 19:31:44 +02:00
Matthias
b3e3dff560 Improve log message uppon pair watchlist removal 2024-07-22 19:27:55 +02:00
Matthias
72f6ee8e8b feat: Add Orderflow -> exchange support validation 2024-07-22 18:07:32 +02:00
Matthias
4ee7c3741f
Merge pull request #9066 from TheJoeSchr/feature/fetch-public-trades
[Feature] fetch public trades
2024-07-21 20:00:54 +02:00
Matthias
faf7b830c9 fix: Fix WS restart bug after network outage
This could lead to messed up candles in case of an outage that took more than 1 candle.
2024-07-21 19:56:51 +02:00
xmatthias
8cd20f1914 chore: update pre-commit hooks 2024-07-20 06:43:19 +00:00
Matthias
a8f707eee2 Merge branch 'develop' into feature/fetch-public-trades 2024-07-20 08:15:34 +02:00
colorfulgray0
b5e7c6406a chore: remove redundant raise 2024-07-19 15:49:30 +08:00
Joe Schr
9eb5993833 chore: drop candle_start and candle_end from trades and add test asserting trades columns 2024-07-18 20:04:34 +02:00
Matthias
f5a92fcfc5 Support accountId as exchange secret 2024-07-16 18:26:51 +02:00
Matthias
5c371133a0 chore: Improve wording 2024-07-16 18:21:01 +02:00
Matthias
dcc9d20cca Remove unnecessary statement 2024-07-16 07:31:11 +02:00
Matthias
d590ab003f Add unlock_at config test, simplify validation 2024-07-16 07:26:41 +02:00
Matthias
a3c52445ee Simplify validation 2024-07-16 07:14:46 +02:00
Matthias
be3fcd90e2 Remove unneeded property 2024-07-16 07:14:33 +02:00
Matthias
26aa336450 Combine "until" logic into calculate_lock_end 2024-07-16 07:05:42 +02:00
Matthias
d13f47ec0b align wording to simplify "locking for" element 2024-07-16 06:48:30 +02:00
Matthias
1e36bc98b9 chore: Remove unused method 2024-07-16 06:35:32 +02:00
Matthias
16dd86e732 _unlock_at should be private 2024-07-16 06:31:12 +02:00
Matthias
8922f0cdf3 feat: use dicts instead of nested dataframes 2024-07-15 20:08:55 +02:00
colorfulgray0
eba0aaf3c2 chore: remove contextmanager 2024-07-15 14:08:10 +08:00
simwai
be894664ef Fixed building of wrong reason texts
Removed unnecessary method set_unlock_at_as_stop_duration()
2024-07-14 21:47:43 +02:00
Matthias
5cabd49bec Fix comment
closes #10422
2024-07-14 17:28:08 +02:00
Matthias
103db9a025 Add hyperliquid exchange overrides
part of #10377
2024-07-14 09:14:44 +02:00
Matthias
9736e0d13f Update docstring alignment 2024-07-14 09:08:36 +02:00
Matthias
1c46b287d7 chore: add support for "walletAddress" and "privateKey"
part of #10377
2024-07-14 09:05:25 +02:00
Matthias
5b2b5285ed chore: Support apiKey as config value
(aligns secret configuration with ccxt)
2024-07-14 08:57:23 +02:00
Matthias
ba352522d4 Implement progress tracker to trades download 2024-07-13 18:01:22 +02:00
Matthias
b41cdfb683 Simplify by extracting progressbar definition 2024-07-13 15:47:50 +02:00
Matthias
04c9626c8c feat: Implement rich Progress to download-data 2024-07-13 10:54:23 +02:00
Matthias
87b78b5ec5 Add default to customProgress cust_objs 2024-07-13 10:52:03 +02:00
Matthias
d3ffdbf300 chore: Add small todo 2024-07-13 09:49:21 +02:00
Matthias
50dcd04816 chore: Add cryptocom base exchange class
adjust candle-limit to the appropriate number
2024-07-12 07:09:52 +02:00
Matthias
9ebd34daba Merge branch 'develop' into feature/fetch-public-trades 2024-07-11 07:06:58 +02:00
xmatthias
d25c76698c chore: update pre-commit hooks 2024-07-11 03:12:39 +00:00
Matthias
9975788f57 Add workaround to drop orderflow columns before sending to plotting 2024-07-10 20:21:32 +02:00
Matthias
e5f6ce9724 Fix "needed_candle_for*" logic
we can't compare this to "required_candle_call_count" - that'd yield 1 ...
2024-07-10 20:19:01 +02:00
Matthias
a7fcd1263b chore: Fix typing 2024-07-09 19:39:47 +02:00
Matthias
9c41ab10ff chore: remove tabulate output 2024-07-09 07:15:18 +02:00
Matthias
f9af659153 feat: edge-cli output to rich 2024-07-09 07:08:10 +02:00
Matthias
2d31314eb4 feat: bt-result to tabulate 2024-07-09 06:54:04 +02:00
Matthias
06a0264f2b feat: period breakdown -> rich table 2024-07-09 06:51:11 +02:00
Matthias
315351b573 feat: Tag table -> rich 2024-07-09 06:49:33 +02:00
Matthias
a605ae20a7 feat: initial backtest table to rich 2024-07-09 06:43:12 +02:00
Matthias
5765bb4a4f feat: Update initial bt table 2024-07-09 06:38:10 +02:00
Matthias
0e870ab47c chore: don't use pipe operator, not supported on 3.9 2024-07-08 19:15:05 +02:00
Matthias
64d22bbd89 chore: Fix fstring incompatibility with older python versions 2024-07-08 18:20:39 +02:00
Matthias
49a60fa67f Properly support "--no-color" for hyperopt 2024-07-08 06:44:21 +02:00
Matthias
28f4e1c068 Colorama is not necessary for hyperopt commands anymore 2024-07-08 06:38:29 +02:00
Matthias
94565d0d39 "best" should be shown in gold 2024-07-07 20:03:49 +02:00
Matthias
004e1101e7 Improve resiliance, drop compatibility test 2024-07-07 17:12:30 +02:00
Matthias
879797e7c5 chore: remove no longer used result formatting methods 2024-07-07 17:12:30 +02:00
Matthias
f51b63fc37 Fix wrong type for live running 2024-07-07 16:33:47 +02:00
Matthias
4d6f399131 Implement colors for hyperopt-output 2024-07-07 16:28:02 +02:00
Matthias
8f0ac0aaea Remove old output from hyperopt-list 2024-07-07 16:27:53 +02:00
Matthias
f05c019757 feat: Update output for hyperopt to Rich 2024-07-07 16:15:09 +02:00
Matthias
befefd449c Add a generic Progressbar which allows printing additional objects 2024-07-07 16:13:55 +02:00
Matthias
69628736b2 feat: add hyperopt output functionality 2024-07-07 15:29:58 +02:00
Matthias
8c807f00bb Extract row before exploding for better typing 2024-07-07 15:10:14 +02:00
Matthias
4d5b330b77 Improve rich generic 2024-07-07 13:08:52 +02:00
Matthias
296bf9dc1d chore: Fix unused import 2024-07-07 13:05:37 +02:00
Matthias
dba7f9968b chore: fix minor type gotcha 2024-07-07 12:58:44 +02:00
Matthias
7adc3c2ef5 Improve rich_tables generic 2024-07-07 12:47:27 +02:00
Matthias
8e2f28955e feat: rich table for recursive analysis 2024-07-07 10:05:17 +02:00
Matthias
5e88bd231d feat: lookahead-heplpers -> rich table 2024-07-07 10:00:36 +02:00
Matthias
e705471946 chore: don't return what ain't being needed 2024-07-07 09:49:15 +02:00
Matthias
cdae61e155 feat: use rich tables for entryexitanalysis 2024-07-07 09:49:15 +02:00
Matthias
ffb0cf1a2c chore: Improve typing 2024-07-07 08:36:51 +02:00
Matthias
9f628309e9 feat: Update list-pairs command to use rich tables 2024-07-06 21:00:34 +02:00
Matthias
c296a8cf82 Improve rich tables interface 2024-07-06 20:59:50 +02:00
Matthias
c9b3987d33 chore: update rich-table print helper 2024-07-06 18:30:48 +02:00
Matthias
768a51cb9b Extract rich_table print to utils 2024-07-06 18:26:36 +02:00
Matthias
2d8470b254 Remove unused imports 2024-07-06 18:26:08 +02:00
Matthias
8d00e1d929 feat: Use Rich for list-strategies command 2024-07-06 18:09:03 +02:00
Matthias
2e0372d247 extract print_rich_table 2024-07-06 13:12:16 +02:00
Matthias
bafb6507c4 Use Rich table for pair list output 2024-07-06 13:09:37 +02:00
Matthias
b6b589b1f0 Update list-exchanges to use rich tables 2024-07-06 12:59:50 +02:00
Matthias
95097d1f51 chore: don't overwrite exchanges variable 2024-07-06 11:49:26 +02:00
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
Simon Waiblinger
f126120421
Merge branch 'freqtrade:develop' into feature/stoploss-start-at 2024-07-05 22:23:56 +02:00
simwai
af505b346c Fixed an access on the config by a wrong config key 2024-07-05 22:17:40 +02:00
simwai
77b4689ac8 Fixed implementation of unlock_at and updated unit tests 2024-07-05 22:14:35 +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
Joe Schr
aa86e95650 refresh_latest_trades: use max_candles to determine trades download count 2024-07-04 18:33:05 +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
Joe Schr
3486327e78 Extract global cached_grouped_trades_per_pair into IStrategy 2024-07-04 17:23:59 +02:00
Joe Schr
e5221bded7 Align constant defaults for cache_size with max_candles 2024-07-04 17:06:59 +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
6b99033164 Improve trades-cached handling 2024-07-04 15:21:16 +02:00
Matthias
c891e38f2b Merge branch 'develop' into feature/fetch-public-trades 2024-07-04 14:39:17 +02:00
Matthias
a0a5ccc445 Merge branch 'develop' into ci/ccxt.pro 2024-07-04 12:08:36 +02:00
Joe Schr
05b2d8a2bf Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-07-04 11:01:17 +02:00
simwai
2b456cbdeb Added unlock_at field for protection config 2024-07-04 10:29:13 +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
Joe Schr
b2bcac8447 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-06-27 15:23:12 +02:00
Joe Schr
7de102320c orderflow: use cache per pair 2024-06-27 15:06:16 +02:00
xmatthias
5fa24163f5 chore: update pre-commit hooks 2024-06-27 03:12:21 +00:00
Joe Schr
dad2cad525 orderflow: fixing typing 2024-06-26 19:54:13 +02:00
Joe Schr
323274ecee orderflow: clean code 2024-06-24 18:07:17 +02:00
Joe Schr
5379400ab3 Merge branch 'feature/fetch-public-trades-cached' into feature/fetch-public-trades 2024-06-24 18:07:01 +02:00
Joe Schr
54df6f5b9c orderflow: adds cache_size to config 2024-06-24 17:40:24 +02:00
Joe Schr
390373cb9b orderflow: ruff format 2024-06-24 17:15:39 +02:00
Joe Schr
ecd2118941 fix: copying orderflow dataframe from cache doesn't work 2024-06-24 17:14:22 +02: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
Joe Schr
08a27abbdc orderflow: clean up populate_dataframe_with_trades code 2024-06-21 16:10:27 +02:00
Joe Schr
d23c33a47f feat: add caching to populate_dataframe_with_trades 2024-06-21 15:28:11 +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
Joe Schr
ffda564f05 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-06-19 20:38:50 +02:00
Joe Schr
2d6408a363 feat: adds max_candles to orderflow config 2024-06-19 19:23:26 +02: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
Matthias
84e8a19bd3 Remove duplicate log message 2024-06-06 18:05:58 +02:00
Matthias
31219299d2 Don't fail trades loop if one pair fails 2024-06-06 18:05:45 +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
50bf770351 Merge branch 'develop' into feature/fetch-public-trades 2024-06-04 19:49:27 +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
Joe Schr
f075d728c5 constants: make "orderflow" fields required 2024-06-04 19:23:23 +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
d5361d84fa use np.where instead of apply 2024-06-02 17:09:23 +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
Joe Schr
bfb29d3c14 orderflow: fix ask/bid & buy/sell mixup 2024-05-31 21:25:36 +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