Commit Graph

614 Commits

Author SHA1 Message Date
Meng Xiangzhuo
41b725714f
chore: bump ruff target-version to 3.10 2024-11-08 04:37:33 +08:00
Matthias
52304b37a2 feat: Allow strategies to not define enter_long 2024-10-07 20:28:29 +02:00
Matthias
acc40c73f3 chore: update strategy to modern typing syntax 2024-10-04 07:07:32 +02:00
Joe Schr
3486327e78 Extract global cached_grouped_trades_per_pair into IStrategy 2024-07-04 17:23:59 +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
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
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
Matthias
9291698561 A few more formatting updates 2024-05-13 19:49:15 +02:00
Matthias
a9732c6195 Fix odd formatting by ruff format 2024-05-13 07:10:25 +02:00
Matthias
439b8a0320 ruff format: freqtrade/strategies 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
Matthias
63ac183e91 Merge branch 'develop' into feature/fetch-public-trades 2024-04-05 06:35:35 +02:00
Matthias
e49ab2593c Update / improve docs 2024-03-28 06:49:02 +01:00
Axel-CH
d1e1b8410b add order parameter to order_filled callback 2024-03-18 20:47:27 -04:00
Axel-CH
18a3489a6f add order_filled callback to bot and backtest 2024-03-18 15:46:47 -04:00
Joe Schr
d15f17a03f chore: remove unused parameter pairs from populate_dataframe_with_trades 2024-02-26 12:00:36 +01:00
Joe Schr
c85ded14d1 Extract _if_enabled_populate_trades 2024-02-12 10:18:17 +01:00
Matthias
7ae69a9cde update imports 2024-02-10 17:27:11 +01:00
Joe Schr
9c070431e1 Fix isort after ruff changes 2024-02-07 12:30:48 +01:00
Joe Schr
f61c75ffcc Fix isort imports 2024-02-06 20:35:16 +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
2d704a77b5 Improve formatting 2024-01-30 07:24:36 +01:00
Matthias
830a004dfd Move response handling to interface wrappermethod 2024-01-30 07:24:36 +01:00
Matthias
95e51bf816 allow adjust_trade_position to return tuples in backtesting 2024-01-30 07:24:36 +01:00
Matthias
8d72ee358c Improve code styles ... 2024-01-24 20:31:38 +01:00
Matthias
393df83a91 Implement enter_tag initialization to avoid futures warning 2024-01-14 14:33:47 +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
44a24685ac Add support for {base} and {quote} in informative decorator 2023-11-01 11:01:55 +01:00
Matthias
949c3c660b Ignore "nan" enter and exit tags
these happen if strings are assigned to individual rows without initializing the whole column
2023-10-30 19:05:15 +01:00
Matthias
bbbc8a760c Fix stop evaluation sequence to have stop before liquidation
Adjust test to have liquidation above stop
closes #9296
2023-10-22 09:24:28 +02:00
Joe Schr
0f4e147035 use fetch_trades' public trades to populate dataframe 2023-10-09 11:34:29 +02:00
Axel-CH
2bc0c4ecd5 update docstring 2023-09-17 03:17:07 -04:00
Axel-CH
224213840d update trade object as optional parameter 2023-09-17 03:13:40 -04:00
Axel-CH
a7cd9d77f2 ignore custom_entry_price trade object type test, remove LocalTrade as type 2023-09-16 13:58:59 -04:00
Axel-CH
5b857aeaf0 fix custom_entry_price trade object type test 2023-09-16 13:46:56 -04:00
Axel-CH
3f4715ba49 update custom_entry_price docstring 2023-09-16 13:20:10 -04:00
Axel-CH
91c710408a fix flake8, set trade object param as Optional 2023-09-16 03:36:36 -04:00
axel
cf96ad1d1b add trade param to custom entry price in interface, bot, backtesting, exemples 2023-09-16 02:32:03 -04:00
Matthias
454c2343a8 More clarity for adjust_trade_position callback docstring 2023-09-14 18:27:45 +02:00
Matthias
070a1990e8 Improve handling of None values from custom_stoploss 2023-08-14 16:46:33 +02:00
Matthias
3ed682a9c6 Allow None from custom_stop 2023-08-14 16:40:09 +02:00
Matthias
bef5e191a4 Don't surprise people with "after_fill" calls 2023-08-14 16:40:06 +02:00
Matthias
62d83b8dbd Use is_stop_trailing for actual trailing detection 2023-08-14 15:57:47 +02:00
Matthias
147cc4f0b6 Initial version of stop "after_fill" 2023-08-14 15:21:10 +02:00
Matthias
db9247e78e prevent errors in custom stop from crashing the bot 2023-08-14 14:54:11 +02:00
Matthias
1ca3cd086f Fix missing . in interface docs 2023-08-13 10:32:37 +02:00
Matthias
9bfe96d4d6 Simplify advise calls by extracting that part into a method. 2023-07-21 20:27:52 +02:00
Matthias
accc1b509b Simplify class setups without inheritance 2023-06-29 12:16:10 +00:00