Commit Graph

835 Commits

Author SHA1 Message Date
Matthias 7bba034efd Merge pull request #8560 from freqtrade/feat/recoverTrades
Recover trades after selling on exchange
2023-05-13 16:35:08 +02:00
Matthias d50e221e62 Update active ccxt.futures test init 2023-05-13 11:03:26 +02:00
Matthias 1552d81f45 Simplify load_exchange interface 2023-05-13 11:03:26 +02:00
Matthias 13974d2508 Reduce error severity when maintenance-ratio fails 2023-05-02 21:44:19 +02:00
Matthias 95b35e452d Emulate fetch_orders if it ain't supported natively 2023-04-25 17:13:02 +02:00
Matthias 531b5727f2 add fetch_orders exchange wrapper 2023-04-25 16:19:14 +02:00
Matthias 362974b831 Update test to properly capture errors from leverage initialization 2023-04-17 20:00:57 +02:00
Matthias 6c6d2a0f43 Improve live test resiliance 2023-04-17 07:25:13 +02:00
Matthias 8a8cd67988 Improve ccxt_ohlcv test debuggability 2023-04-17 07:25:13 +02:00
Matthias b9f142c31e Add failing tests with leverage
related to #8495
2023-04-15 09:07:43 +02:00
Matthias 6e814af36d Add test asserting cost 2023-04-15 09:05:21 +02:00
Matthias a3acdd5240 apply stop-reserve to minimum limits only when necessary
it's unnecessary for amount - but necessary for Cost / price limits.
2023-04-03 06:37:31 +02:00
Matthias e6a125719e Slightly refactor _get_stake_amount_limit 2023-04-03 06:37:31 +02:00
Matthias 5e13b48648 Merge pull request #8386 from freqtrade/feature/price_to_precision_round
price to precision rounding
2023-03-31 07:20:10 +02:00
Matthias 19b78fbc22 Override ccxt's marketOrderRequiresPrice settings for gate 2023-03-28 06:57:18 +02:00
Matthias cde432fef0 Enable gate market orders
closes #8368
2023-03-28 06:56:11 +02:00
Matthias fb1541bdf6 Explicitly close loop in async tests 2023-03-26 16:21:51 +02:00
Matthias 444d18aa39 Revert binance PO fix, since ccxt has fixed this bug. 2023-03-26 16:21:51 +02:00
Matthias 159090c0e7 Add explicit tests for TRUNCATE mode 2023-03-26 11:14:34 +02:00
Matthias 0cb28f3d82 Use kwarg for rounding_mode, update tests with additional parameter 2023-03-26 11:00:41 +02:00
Matthias 02078456fc Merge branch 'develop' into pr/asuiu/8296 2023-03-26 10:28:02 +02:00
Matthias 01dfb1cba8 Revert having price_rounding_mode as configuration 2023-03-26 10:24:47 +02:00
Matthias 79a2de7a64 Reduce impact of short outages 2023-03-25 08:31:35 +01:00
Matthias 150c5510c7 Don''t fully fail bot when invalid price value is reached
closes #8300
2023-03-22 19:46:07 +01:00
Matthias 36c45fd14f Remove unused argument from set_leverage 2023-03-21 19:14:09 +01:00
Matthias 97c420b2df Add explicit test for okx lev_prep 2023-03-20 19:27:48 +01:00
Matthias 54d8aa7782 Test stoploss_adjust okx 2023-03-20 06:46:00 +01:00
Matthias 4690244673 Enable okx stop-price types 2023-03-20 06:40:57 +01:00
Matthias 2de5a59d89 Add test for dry-run fetching 2023-03-20 06:38:42 +01:00
Matthias a7c7f720c0 Add test for okx fetch_stop 2023-03-19 20:03:34 +01:00
Matthias 3d91dd8a98 Support post-only orders for Binance spot
closes #8044
2023-03-19 15:36:35 +01:00
Matthias 487469680f Use correct exception type for ccxt.InvalidOrder 2023-03-13 20:13:12 +01:00
ASU 1132fa6093 feat: Added price_rounding modes in config 2023-03-09 02:11:31 +02:00
Matthias 3f6795962f Update bybit orderbook test 2023-03-04 19:49:59 +01:00
Matthias ba38a826e9 Update missing mocks 2023-03-02 06:46:17 +01:00
Matthias feabed30a3 Update remaining exchange mock occurances 2023-03-01 20:27:15 +01:00
Matthias 2ca8b0b12e Update more exchange mocks to use EXMS 2023-03-01 20:27:15 +01:00
Matthias bcdf4e0fe8 Use variable for exchange mocks to shorten lines 2023-03-01 20:27:15 +01:00
Matthias 8b51f5f563 Lowercase exchange ID 2023-03-01 20:27:15 +01:00
Matthias 5b0bc5bbc5 Don't "fix" dry-run kucoin orders
closes #8229
2023-02-26 16:17:41 +01:00
Matthias 6f7ab97fc3 Improve bybit test coverage 2023-02-26 16:17:41 +01:00
Matthias 27676f4aa2 Add explicit bybit test 2023-02-26 16:17:41 +01:00
Matthias 79dc972e5a Add explicit test for kucoin 2023-02-26 16:17:41 +01:00
Matthias c8a4a773ee Fix _pairs_last_refresh_time storing the wrong date
Depending on the drop_incomplete settings, this can lead to implicit bugs
2023-02-25 16:18:46 +01:00
Matthias 34c42be74f Fix minor stylistic errors 2023-02-23 20:06:10 +01:00
Matthias 31c7b3e136 Update binance leverage tiers 2023-02-17 06:37:03 +01:00
Matthias 22700527ac Convert limit orders to market orders if they cross a threshold
closes #7786
2023-02-17 06:37:03 +01:00
Matthias 9600039686 Update dry-run fill method naming 2023-02-17 06:37:03 +01:00
Matthias 3397e47ccf Rename stoploss() to create_stoploss() 2023-02-14 20:42:08 +01:00
Matthias f16fd0ad23 Reenable binanceus active test 2023-02-13 07:12:46 +01:00