Commit Graph

11827 Commits

Author SHA1 Message Date
Matthias
0f5b69b4f2 Move from_json to LocalTrade class 2023-10-10 07:13:32 +02:00
Matthias
4b80961c65
Merge pull request #9276 from freqtrade/cancel_behavior
Improve Cancel order messaging behavior
2023-10-09 18:13:04 +02:00
Matthias
19620470bd Improve funding fee cutof logic 2023-10-09 07:04:13 +02:00
Matthias
bc531cf846 Improve variable naming 2023-10-09 07:04:13 +02:00
Matthias
14908e52e2 Improv variable naming 2023-10-09 07:04:13 +02:00
Matthias
40ec2c4921 Improve messaging in case of delayed exchange cancel 2023-10-08 11:17:29 +02:00
Matthias
f02c9f0435 Pass order object to handle_cancel* methods 2023-10-08 10:26:27 +02:00
Matthias
c59b5e7781 Improve type hinting 2023-10-08 09:58:06 +02:00
Matthias
e525c6694b Add ft_cancel_reason column to order object 2023-10-08 09:46:12 +02:00
Matthias
897c14e2e5 Don't check for "open orders" in handle_cancel_enter
it's actually irrelenant (closes #9273).
2023-10-08 09:40:46 +02:00
Matthias
6c00bf423b Fix comment 2023-10-08 08:59:18 +02:00
Matthias
094984eb2f Fix wrong typehint 2023-10-07 15:09:44 +02:00
Matthias
081411fba4 Improve bot typehints 2023-10-07 15:09:34 +02:00
Matthias
178c0972ff Read funding_fee on order objects in "from_json" 2023-10-07 08:43:06 +02:00
Matthias
910e317a45 Fix unhandled exception
closes #9270
2023-10-06 20:13:37 +02:00
Matthias
f5db856a75 re-align adjust_entry_price between backtest and live 2023-10-05 18:11:35 +02:00
Matthias
b2ad40253f Hide most non-freqtrade logs in -v mode 2023-10-05 07:03:29 +02:00
Matthias
1e0d622d80 Don't run "recovery" when stop-orders are open 2023-10-05 06:45:00 +02:00
Matthias
b2796b850b Add funding_fee export to order object
Helps debugging #9163
2023-10-04 06:36:39 +02:00
Stefano Ariestasia
f14b4133c3 fix wording 2023-10-03 13:36:31 +09:00
Stefano
609ed2d7b3 fix return values 2023-10-03 08:41:05 +09:00
Stefano Ariestasia
183166b3fb fix output if no variance, and fix docs 2023-10-03 08:27:28 +09:00
Matthias
84335d58b3 Greatly speed up recursive by caching exchange 2023-10-02 06:34:35 +02:00
Matthias
19af144b33 Improve of analysis files further 2023-10-01 07:58:46 +02:00
Matthias
7e6f2cba53 Move analysis command into their own subspace 2023-10-01 07:54:09 +02:00
Matthias
c6199e5ca6
Merge pull request #9232 from freqtrade/kraken/dldata
Kraken - dataimport
2023-10-01 07:13:54 +02:00
Matthias
f7ff1dc610 Bump develop version to 2023.10-dev 2023-09-30 13:13:18 +02:00
Matthias
e27636b798
Merge pull request #9241 from freqtrade/fix/process-only-new-candles
chore: protect users against process_only_new_candles=False
2023-09-30 12:53:54 +02:00
Matthias
2d56b1bc8c Fix whitespace 2023-09-30 08:23:21 +02:00
Matthias
659cbd987a
Merge pull request #9152 from stash86/bt-metrics
Add recursive-analysis sub-command
2023-09-29 17:59:37 +02:00
Robert Caulk
aff5372a8f
chore: protect users against process_only_new_candles=False 2023-09-29 13:12:44 +02:00
Stefano Ariestasia
7971cb29bb fix error message 2023-09-29 14:17:44 +09:00
Matthias
37550d3bdb Fix typo in --strategy_list 2023-09-28 21:01:37 +02:00
Matthias
d52d30cfbe invert setting-location for stopLossPrice
Slowly migrating to stopLossPrice in favor of stopPrice.
2023-09-28 19:33:59 +02:00
Matthias
56a85690b4 Update cached leverage tiers 2023-09-28 06:38:29 +02:00
Matthias
504f51fabb Fix liquidation price setting in backtesting
closes #9205
2023-09-27 06:40:24 +02:00
Matthias
3f60b2c140 Update bybit stoploss parameter/prop for new ccxt version 2023-09-26 06:45:48 +02:00
Matthias
927d1d2686 Split stop_price parameter from property 2023-09-26 06:34:10 +02:00
Matthias
8ad6eb9896 Update parameter value to be clearer 2023-09-25 19:55:58 +02:00
Matthias
74709461e3 Improve exception wording 2023-09-25 19:48:09 +02:00
Matthias
9e6cc5ebbd Improve comment on special handling 2023-09-25 19:46:27 +02:00
Matthias
a7d90e2a25 Minor adjustments to conversions 2023-09-25 19:45:03 +02:00
Matthias
488629096b Improve logging in kraken-converter 2023-09-25 18:23:20 +02:00
Matthias
a3f167f6df Split format-from for trades to allow for trades special case 2023-09-25 18:23:20 +02:00
Matthias
1e8814b43e Improve handling of kraken dataconvert 2023-09-25 18:23:20 +02:00
Matthias
2e430519e3 Call kraken-convert in special cases 2023-09-25 18:23:20 +02:00
Matthias
2164b02c66 Add initial code for trade_kraken import 2023-09-25 18:23:20 +02:00
Matthias
d9b5d05e2a Align sample configs with the "no ratelimit" recommendation 2023-09-24 23:03:38 +02:00
Matthias
f5d7a4417d Split trades methods into seperate converter file 2023-09-24 17:21:21 +02:00
Matthias
38a3ce6164 Convert "converter" to package 2023-09-24 10:42:23 +02:00
Matthias
2322d0f3f3 Move trades-to-ohlcv to converter file 2023-09-24 10:38:25 +02:00
Matthias
8a5287581f Move some convert-trades-to-ohlcv logic into convert function 2023-09-24 10:37:37 +02:00
Matthias
41cdd28f5f Improve log output for convert-trades 2023-09-24 10:26:51 +02:00
Matthias
966247baaf Make sure use_db is set as early as possible. 2023-09-23 18:20:19 +02:00
Stefano Ariestasia
c0b2b0b96d fix args description 2023-09-23 19:27:57 +09:00
Stefano Ariestasia
6cfc1836a2 fix wrong startup candle 2023-09-23 19:23:03 +09:00
Matthias
35800f3ada remove hardcoded docs link
we should have one place to configure this.
2023-09-23 12:02:34 +02:00
Matthias
8452399c12
Merge pull request #9187 from stash86/full-pairlist
Add FullTradesPairlist
2023-09-23 10:24:13 +02:00
Matthias
b4e732617e Add handling for order replacement cancel failing 2023-09-22 06:37:56 +02:00
Matthias
450219c83b Extract replace_order_faild message and behavior 2023-09-22 06:37:56 +02:00
Stefano
eb7df30061 add test 2023-09-22 09:43:03 +09:00
Stefano
89d47ffd8f 4 more tests 2023-09-21 17:47:51 +09:00
Stefano
b9e9f82503 first test done 2023-09-21 16:45:43 +09:00
Matthias
9f445cb053 Don't rely on status when determining open order count 2023-09-21 07:14:51 +02:00
Matthias
1d23ba6e30 Improve wording after order-replacement 2023-09-21 07:14:31 +02:00
Matthias
1b28521875 Improve execute_entry interface 2023-09-21 06:28:51 +02:00
Stefano Ariestasia
d465fcffd5 change startup cande in sample strat 2023-09-21 11:13:06 +09:00
Matthias
4bca8b97f3 Don't allow empty order-type from exchange 2023-09-20 20:32:37 +02:00
Matthias
ddb0ae10b4 Ensure no None status is passed from "create_order" 2023-09-20 20:02:06 +02:00
Stefano Ariestasia
37fa186c55 remove 1 column 2023-09-20 22:43:01 +09:00
Stefano Ariestasia
1555667da7 Merge remote-tracking branch 'origin/bt-metrics2' into bt-metrics2 2023-09-20 17:55:59 +09:00
Stefano Ariestasia
8a52a7b50d
Merge branch 'freqtrade:develop' into bt-metrics2 2023-09-20 17:48:52 +09:00
Matthias
8600ae0387
Merge pull request #9191 from freqtrade/fix/double-date-column
Bug: FreqAI fit_live_predictions()
2023-09-20 08:23:41 +02:00
robcaulk
d21f0f4081 chore: add guardrails for users who neglect docs 2023-09-19 12:24:44 +02:00
Matthias
fd4877759c Update hard min-requirement for python 2023-09-18 18:12:39 +02:00
Matthias
75f89ec12f
Merge pull request #9188 from Axel-CH/add-trade-param-to-custom-entry-price
Add trade param to custom entry price
2023-09-17 23:23:42 +02:00
Matthias
f6fce2162c Add new parameter to strategy template 2023-09-17 22:25:23 +02:00
robcaulk
1f1abfe798 fix: avoid duplicate date columns interfering with fit_live_predictions() 2023-09-17 17:36:01 +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
Matthias
14c5f435aa okx: Use proper history endpoint for fetch_orders 2023-09-16 20:01:19 +02: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
Matthias
afb1b787c8 add okx to fully tested exchanges 2023-09-16 19:43:39 +02:00
Axel-CH
3f4715ba49 update custom_entry_price docstring 2023-09-16 13:20:10 -04:00
Matthias
220bc3c23e Rename fetch_orders_emulate to make it non-protected 2023-09-16 17:56:16 +02:00
Matthias
c90be601f5 Add offset to "fetch_orders" to avoid missing the initial order 2023-09-16 17:53:47 +02:00
Matthias
3d858f6599 Fix bug closing trades while recalculating
closes #9186
2023-09-16 16:39:52 +02:00
Matthias
d01bc0fb9f Enforce kwargs for update_trade_state 2023-09-16 14:44:24 +02:00
Matthias
394d758d32 Add missing fields to json (and json parse) 2023-09-16 14:06:36 +02:00
Axel-CH
91c710408a fix flake8, set trade object param as Optional 2023-09-16 03:36:36 -04:00
Matthias
3a7f390510 Cancel based forceexits shouldn't trigger a full exit. 2023-09-16 09:32:51 +02:00
Matthias
ae4021da14 Rename get_canceled exit orders ... 2023-09-16 09:11:31 +02:00
Matthias
8378a0234d Filter exit_order_count on canceled orders only 2023-09-16 09:10:56 +02:00
Axel CHERUBIN
d26869ea0a
Merge branch 'freqtrade:develop' into add-trade-param-to-custom-entry-price 2023-09-16 02:53:01 -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
3919bf3740 Adjust sequence of trade json output 2023-09-16 08:25:36 +02:00
Stefano
9814cf5360 flake8 fix 2023-09-15 12:35:56 +09:00
Stefano
c19fe95d39 add the filter to docs, tyding up the py file 2023-09-15 11:34:56 +09:00
Stefano
383bdb7d56 flake8 fix 2023-09-15 10:15:19 +09:00
Matthias
41765b14dc
Merge pull request #9182 from stash86/fix-rangestability
Change the cache of rangestability to 1 day
2023-09-14 20:43:07 +02:00
Matthias
454c2343a8 More clarity for adjust_trade_position callback docstring 2023-09-14 18:27:45 +02:00
Stefano Ariestasia
c0a600858f Change the cache of rangestability to 1 day 2023-09-14 08:50:06 +09:00
Stefano Ariestasia
5b07385414 simplify the filter 2023-09-14 08:13:47 +09:00
robcaulk
844ab4aef5 chore: add tests for set_initial_return_values 2023-09-14 00:05:59 +02:00
Stefano Ariestasia
44ca6f1c46 remove unused vars and change wording 2023-09-13 17:07:45 +09:00
Stefano Ariestasia
552f947248 remove unnecessary check 2023-09-13 15:09:13 +09:00
Stefano Ariestasia
7655bf6ea7 turn off logger for now 2023-09-13 14:53:33 +09:00
Stefano Ariestasia
25ae25248c add logger 2023-09-13 14:42:43 +09:00
Stefano Ariestasia
dd01ae880f fix error 2023-09-13 14:38:16 +09:00
Stefano Ariestasia
e0a06ca454 add fulltradesfilter 2023-09-13 14:18:07 +09:00
Stefano Ariestasia
a93592c467 add fulltradespairlist 2023-09-13 14:17:43 +09:00
Stefano Ariestasia
08dffc95d8 fix wording 2023-09-13 11:58:28 +09:00
Stefano Ariestasia
57800e78c7
Merge branch 'freqtrade:develop' into bt-metrics2 2023-09-13 08:20:28 +09:00
Stefano Ariestasia
5019fb5bf3 fix flake8 2023-09-12 19:58:40 +09:00
Stefano Ariestasia
a0e0d7fe27 more fixes 2023-09-12 19:57:16 +09:00
Stefano Ariestasia
6377fd2689 flake8 fix 2023-09-12 19:54:25 +09:00
root
bd9ea9bd8c precommit fix 2023-09-12 19:50:39 +09:00
Stefano Ariestasia
cfeefa8754 remove prepare data from baseanalysis 2023-09-12 19:29:13 +09:00
Stefano Ariestasia
475d8486bb fix mutable Backtest 2023-09-12 19:21:01 +09:00
robcaulk
628963c207 chore: fix bug associated with leaving FreqAI offline for more than 1 candle. 2023-09-12 12:19:12 +02:00
Stefano Ariestasia
4d1810c2b6 update lookahead analysis 2023-09-12 19:11:19 +09:00
Stefano Ariestasia
05f0dccb8e add missing args to config 2023-09-12 16:25:25 +09:00
Stefano Ariestasia
6360e7fb15 debug 2023-09-12 16:20:04 +09:00
Stefano Ariestasia
40695a39d5 add missing var 2023-09-12 16:14:25 +09:00
Stefano Ariestasia
008f621211 create BaseAnalysis class 2023-09-12 15:42:32 +09:00
Matthias
a52cf42218 use last order date to fill order. 2023-09-12 07:01:51 +02:00
Matthias
af1054fa70 Avoid re-implementing existing feature 2023-09-12 07:00:55 +02:00
Stefano Ariestasia
5608bbde9c
Merge branch 'freqtrade:develop' into bt-metrics 2023-09-12 13:56:24 +09:00
Matthias
ee9d2c637a Improve "order refind" mechanics 2023-09-11 20:18:42 +02:00
Matthias
f0819d9df1 Improve "filled" date assignment for order updates 2023-09-11 20:03:38 +02:00
Matthias
96e5615d1b Update safe_value_fallback to allow empty 2nd keys 2023-09-11 20:03:38 +02:00
Matthias
29fbac9f96 Add "catch-all" exceptionhandler for handle_onexchange_order
(it's actually a poor mans workaround)
closes #9025
2023-09-10 20:27:08 +02:00
Matthias
421a6c02a0 Improve enum imports 2023-09-10 18:10:38 +02:00
Matthias
2ee152c5a6
Merge pull request #8779 from Axel-CH/feature/multiple_open_orders
Feature: Multiple open orders
2023-09-10 17:22:26 +02:00
Matthias
563e68e894 Don't hard-fail merge if there's no informative data 2023-09-10 16:16:52 +02:00
Matthias
7455e56a29 Add docstrings, simplify some code 2023-09-09 10:09:37 +02:00
Matthias
245a67e37e Avoid tons of commits when cancelling all orders 2023-09-09 09:55:01 +02:00
Matthias
e76d4241a0 Remove further unnecessary method 2023-09-09 09:54:12 +02:00
Matthias
01ff054a0b fix open orders telegram reporting 2023-09-09 09:40:55 +02:00
Matthias
9e1f7dc6f7 have force-enter also include has_open_orders 2023-09-09 09:23:25 +02:00
Matthias
067c9219b6 replace 'open_orders' with "has_open_orders" in api 2023-09-09 08:36:28 +02:00
Matthias
830fc7580c Cleanup unused property 2023-09-08 19:51:14 +02:00
Matthias
21859f79db
Merge pull request #9159 from stash86/fix-adjust
remove old codes when we only can do partial entries
2023-09-08 08:04:20 +02:00
Matthias
376b5fce54
Merge pull request #9160 from mohsenjfar/develop
Update strategy_analysis_example.md
2023-09-08 07:59:55 +02:00
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