Commit Graph

11623 Commits

Author SHA1 Message Date
Matthias
f8b97b6aa7 Fix dtype mismatch error 2023-09-08 07:05:38 +02:00
Matthias
7b6e2eac49 use ffill instead of fillna(method='ffill') 2023-09-08 07:04:12 +02:00
Matthias
f13e134e9b Update actual notebook (not just the docs) 2023-09-08 06:47:31 +02:00
Matthias
8c95207ca4 Merge branch 'develop' into pr/Axel-CH/8779 2023-09-07 20:19:25 +02:00
Matthias
ffaa121bc7 Simplify code by removing unnecessary (and non-working) method 2023-09-07 20:16:56 +02:00
Matthias
227b194a88 Partial exits should consider leveraged trades. 2023-09-07 18:27:19 +02:00
Matthias
2c095c07f2 Improve variable naming 2023-09-07 18:27:19 +02:00
Matthias
9c3656e24e
Merge pull request #9158 from freqtrade/remove_3.8
Remove python 3.8 support
2023-09-07 18:19:17 +02:00
Stefano Ariestasia
7ccff18437 remove old codes when we only can do partial entries 2023-09-07 18:05:46 +09:00
Matthias
c5f26e72e1
Merge pull request #9153 from freqtrade/rpc/drawdown
Add better drawdown metrics to /profit outputs
2023-09-07 06:33:15 +02:00
Matthias
4ef1647132 Setup.sh should require 3.9 2023-09-07 06:25:44 +02:00
Matthias
20cca01d10 Fix bug in volumepairlist if lookback is bigger than the available candles (new pairs)
closes #9154
2023-09-06 19:40:31 +02:00
Matthias
feea20fb0a
Merge pull request #9151 from freqtrade/refactor/calc_profits
Refactor calculate profits
2023-09-05 06:26:04 +02:00
Matthias
e854667eb8 Add max_drawdown_start and end to /profit API endpoints 2023-09-04 20:09:59 +02:00
Matthias
7bf20d9060 Show drawdown from/to on /profit calls 2023-09-04 20:09:59 +02:00
Matthias
7c5a11623e Use dt_ts_def in profit endpoints 2023-09-04 20:09:32 +02:00
Matthias
783a2d945e add dt_ts_def helper 2023-09-04 20:09:32 +02:00
Matthias
2073c71811 use format_date in rpc methods 2023-09-04 20:09:32 +02:00
Matthias
d8122962db Add "date to string" helper 2023-09-04 20:09:32 +02:00
Matthias
39b6a00224 Improve naming of calculate_profit method 2023-09-04 06:42:16 +02:00
Matthias
fac8e0fde5 Remove calc_profit content 2023-09-04 06:28:29 +02:00
Matthias
ffb1cf52b1 Convert further usages to calc_profit_combined 2023-09-04 06:28:29 +02:00
Matthias
399f144c27 more calc_profit_combined usage 2023-09-04 06:28:29 +02:00
Matthias
459b9d80d4 use calc_profit_combined 2023-09-04 06:28:29 +02:00
Matthias
28e685ee2b Switch combined profit response to dataclass 2023-09-04 06:28:29 +02:00
Matthias
c58a1649cb add calc_profit_combined call 2023-09-04 06:28:29 +02:00
Robert Caulk
d2c0e9e438
Merge pull request #9133 from initrv/patch-1
add QRDQN to SB3_CONTRIB_MODELS
2023-09-03 23:24:19 +02:00
Matthias
a4077e96ba
Merge pull request #9135 from froggleston/frog-fix-analysis-nulls
Fix nulls in indicator list output and add expectancy ratio
2023-09-03 17:16:44 +02:00
Matthias
a4fc7ce0c4 "fix" bybit invalid order responses for canceled orders
closes #9128
2023-09-03 17:05:57 +02:00
Matthias
00cef56a57
Merge pull request #9137 from froggleston/frog-update-rpc
Implment weekly/monthly RPC endpoints
2023-09-03 10:22:37 +02:00
Matthias
3c20ab683a Have /monthly return proper dates, move formatting to telegram 2023-09-02 20:11:19 +02:00
froggleston
f838bc760f
Implment weekly/monthly RPC endpoints 2023-09-02 16:06:23 +01:00
Matthias
25f5dbfcbd Delete trade if replacing the first order failed
part of #9128
2023-09-02 16:49:12 +02:00
Matthias
be044fbacf Improve log output 2023-09-02 16:37:53 +02:00
Matthias
7a4276f6c7 Include pair in dry-run order names 2023-09-02 16:37:41 +02:00
froggleston
925e18368a
Fix linting a.k.a. Maybe one day, flake8 will like me 2023-09-02 15:05:34 +01:00
froggleston
250e00e6c7
Fix dropna subset 2023-09-02 12:52:05 +01:00
froggleston
81672da57b
Fix nulls in indicator list output and add expectancy ratio per entry tag in analysis group 0 output 2023-09-02 12:45:33 +01:00
Matthias
6f86e30c7e Add leverage adjustment to "stoploss_from_absolute" 2023-09-02 11:01:59 +02:00
Matthias
a87404b5a8 Reduce limit order cross threshold 2023-09-02 10:37:57 +02:00
initrv
0357d373a9
add QRDQN to SB3_CONTRIB_MODELS 2023-09-01 11:31:09 +03:00
Matthias
28c62724df Add explicit test and message for "Order could not be replaced" scenario
part of #9128
2023-09-01 06:58:59 +02:00
Matthias
6429282f05 add iterating emulation to fetch_orders for bybit 2023-08-31 08:07:44 +02:00
Matthias
b5fa013600 Add pairs argument to fetch_orders 2023-08-31 08:05:07 +02:00
Matthias
02bd052e45 Improve naming of variable 2023-08-31 06:39:26 +02:00
Matthias
4ed46ef6b3 Add significant digits Round_Up / round_down 2023-08-30 16:48:31 +00:00
Matthias
bfc2c70b44 Fix and improve Tick size ROUND_DOWN logic 2023-08-30 08:21:02 +00:00
Matthias
133660ff4e Fall back "price_to_precision" to ccxt where possible 2023-08-30 07:53:00 +00:00
Matthias
994b2a0f28 Update sorting of price precision logic 2023-08-30 07:43:53 +00:00
Matthias
23aa8dcd51 Simplify profit calculation (removes unnecessary fallback) 2023-08-29 18:31:51 +02:00
Matthias
f3187ddcbf
Merge pull request #9057 from freqtrade/feat/stoploss_adjust
"After order" stoploss adjustment
2023-08-29 18:06:37 +02:00
Matthias
5eb446f1ce Don't remove elements from list we're iterating over
closes #9127
2023-08-29 17:44:39 +02:00
Matthias
5efa40215b Allow invalid futures pairs (: separated)
closes #9127
2023-08-29 17:40:35 +02:00
Matthias
1a8b793c0a Merge branch 'develop' into feat/stoploss_adjust 2023-08-29 07:04:08 +02:00
Matthias
f256701679 Bump version to 2023.9-dev 2023-08-27 20:40:37 +02:00
Matthias
c1df94b507 Bump version to 2023.8 2023-08-27 20:40:07 +02:00
Matthias
0c15eb4ace Merge branch 'stable' into develop 2023-08-27 20:39:53 +02:00
Matthias
981cf1f6ee Update cached binance leverage tiers 2023-08-27 14:50:54 +02:00
Matthias
f19f3ed4eb Fix rpc forceexit logic, fix remaining test 2023-08-27 10:29:34 +02:00
robcaulk
04122abd17 chore: protect users who dont read log warnings 2023-08-25 16:45:46 +02:00
Matthias
5659ca2ecd Fix migrations 2023-08-25 07:29:10 +02:00
Matthias
0181abc629 Fix migration SQL statement 2023-08-25 07:14:39 +02:00
Matthias
43c73c75c5 Remove more open_order_id references 2023-08-25 07:10:30 +02:00
Matthias
95daff182d Update backtesting to not use open_order_id 2023-08-25 07:08:24 +02:00
Matthias
b82b77d03f Fix some rpc tests 2023-08-25 07:01:48 +02:00
Matthias
193dcf578d Fix logic error in force_exit if no order is open 2023-08-25 06:47:02 +02:00
Matthias
3e986e24fa Merge branch 'develop' into pr/Axel-CH/8779 2023-08-24 20:09:41 +02:00
Matthias
e5a88fdeda Fix stylistic issues 2023-08-24 20:06:51 +02:00
Matthias
9c4aca2b90 Improve download data debug output 2023-08-24 20:05:20 +02:00
Matthias
0f73e38f98 Improve docstring for "select_filled_orders". 2023-08-24 17:44:48 +02:00
Matthias
c303d47f26 Ensure stop_duration is converted to int
closes #9099
2023-08-23 15:16:14 +02:00
Matthias
5cf6f0b491 Merge branch 'develop' into pr/Axel-CH/8779 2023-08-23 07:20:34 +02:00
Matthias
0c7cb29ea1 Don't use type() is comparisons 2023-08-22 20:39:36 +02:00
Matthias
4c5f992670 Ensure signals don't break on windows 2023-08-20 16:09:12 +02:00
Matthias
2d800a1422 Fix bug in config-builder 2023-08-20 13:51:33 +02:00
Matthias
b71a44f27c Enhance Keyboard interrupt handling for dl-trades (stores data it already downloaded). 2023-08-20 11:57:59 +02:00
Matthias
3167938d43 move "since" fallback to be the last check 2023-08-20 11:44:40 +02:00
Matthias
399e308e07 Fix bug in --dl-trades downloading 2023-08-19 18:32:27 +02:00
Matthias
aa1dcd1b44
Merge pull request #9065 from freqtrade/trades_data_handling
Improve Trades data handling
2023-08-18 18:04:38 +02:00
Matthias
277cc0a523 Fix import sort order 2023-08-18 10:55:05 +02:00
Matthias
185c5a779d use model_validate instead of parse_obj 2023-08-18 10:21:50 +02:00
Matthias
ee11dae82a Merge branch 'develop' into dependabot/pip/develop/pydantic-2.1.1 2023-08-18 10:18:53 +02:00
Matthias
30064b4102 Add support for trades data in Parquet format 2023-08-18 09:58:03 +02:00
Matthias
8caadc4c5b Fix feather handler storing 2023-08-18 09:47:18 +02:00
Matthias
3eb3596552 Simplify trades_data storing 2023-08-18 09:36:16 +02:00
Matthias
5de3b9d7ae Clean up no longer used method 2023-08-18 09:31:17 +02:00
Matthias
fae742de59 Fix imports 2023-08-18 09:12:40 +02:00
Matthias
fa5f7d290b Update download-trades method to work with dataframes 2023-08-18 09:08:10 +02:00
Matthias
7577613882 Extract trades df type conversion 2023-08-18 09:08:10 +02:00
Matthias
0fab65df03 Set explicit dtypes 2023-08-18 09:08:10 +02:00
Matthias
f69a776305 Ensure only relevant columns are stored 2023-08-18 09:08:10 +02:00
Matthias
26c89d89e4 Keep original timestamp in dataframe 2023-08-18 09:08:10 +02:00
Matthias
d97d0e4426 Extract trades DF creation to converter function 2023-08-18 07:02:46 +02:00
Matthias
357b04202c Datahandlers should store data from dataframes 2023-08-17 20:11:18 +02:00
Matthias
6fc1ee9831 trades_append should use dataframe, not lists 2023-08-17 18:06:25 +02:00
Matthias
780f238904 Fix trades duplicates if trade id is different 2023-08-17 18:04:13 +02:00
Matthias
5d5cc71945 Fix pandas duplication detection, improve test 2023-08-17 17:53:08 +02:00
Matthias
0be2250cf5 Keep existing trades_remove_duplicates for now 2023-08-17 17:23:12 +02:00
Matthias
53db254cba don't cascade calls, that creates an additional call 2023-08-17 17:22:02 +02:00
Matthias
7ac9d33c31 Default should return a dataframe, not an empty list. 2023-08-17 10:00:11 +02:00