Commit Graph

774 Commits

Author SHA1 Message Date
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
Matthias a3b4678ad6 stoploss_price_type for gate 2023-02-11 13:02:55 +01:00
Matthias c229ba97a9 Update gateio terminology to Gate 2023-02-11 08:15:11 +01:00
Matthias 07e6932a17 Reenable longrun test mark 2023-02-11 08:14:55 +01:00
Matthias f440d66210 Add sample_order for gate 2023-02-10 18:12:21 +01:00
Matthias eab724fe54 Merge branch 'develop' into fut/stop_price_type 2023-02-09 20:02:59 +01:00
Matthias 980ffa6bfb Add test for binance rounding leverage 2023-02-08 07:08:42 +01:00
Matthias e2d81b0ce0 Skip binanceus ccxt test 2023-02-08 07:08:42 +01:00
Matthias 8c0c2496c2 Temporarily disable gate advanced stop orders 2023-02-07 07:13:57 +01:00
Matthias b8a527e4a0 Add gateio price type field 2023-02-05 10:46:24 +01:00
Matthias 3497de3dd5 Add more validation 2023-02-05 10:38:58 +01:00
Matthias cf9e99b8e1 Add tests for ordertype validation 2023-02-05 10:38:58 +01:00