Commit Graph

2939 Commits

Author SHA1 Message Date
Matthias 79ddc9abaa
Merge pull request #6423 from samgermain/wallet-amt
Futures wallet amount
2022-02-26 15:55:28 +01:00
Matthias e25929f50a Update test to not fail randomly 2022-02-26 15:53:01 +01:00
Matthias 75868a851b Attempt Fix random test failure 2022-02-26 15:20:56 +01:00
Matthias 1c26ff4c4c Add dry run test 2022-02-24 20:05:56 +01:00
Matthias 9d55621f42 Test fetch_position exchange method 2022-02-24 20:05:56 +01:00
Matthias 9901decf0d Rename get_positions to fetch_positions to align with ccxt naming 2022-02-24 20:05:56 +01:00
Matthias 62c42a73e2 Add initial rpc test 2022-02-24 20:05:56 +01:00
Matthias d07a24a54f Update tests for new wallet RPC structure 2022-02-24 20:05:56 +01:00
Matthias fd936e26ae Merge branch 'develop' into feat/short 2022-02-24 19:56:42 +01:00
Matthias 42df65d4ec Make sure backtesting is cleaned up in tests 2022-02-24 14:22:49 +00:00
Matthias 53452c8d64
Merge pull request #6437 from freqtrade/update_trade
Migrate trade updating to use order model
2022-02-23 19:56:02 +01:00
Matthias 731eb99713 Update mock-trade creation to rollback first 2022-02-23 19:18:04 +01:00
Matthias 14b69405a2 Init persistence should be the innermost fixture 2022-02-23 10:43:04 +01:00
Matthias ec34189f1b Attempt to fix random ci error 2022-02-23 08:47:20 +01:00
Matthias 8952829adc Merge branch 'develop' into feat/short 2022-02-23 06:28:15 +01:00
Matthias 5a4f30d1bd Don't specially handle empty results. 2022-02-22 20:07:41 +01:00
Matthias 1f9ed0beff Add test for wal mode 2022-02-22 19:39:55 +01:00
Matthias 70f4305dfa don't allow short trades in spot mode 2022-02-21 19:19:12 +01:00
Matthias dc7bcf5dda Update failing test 2022-02-20 14:29:26 +01:00
Matthias db540dc990 Orders should also store fee if in receiving currency 2022-02-20 14:24:27 +01:00
Matthias c3c815e794
Merge pull request #6425 from samgermain/stake-amount
leverage in trade.stake_amount calculation
2022-02-19 20:11:23 +01:00
Matthias e9f451406c Use correct order id 2022-02-19 16:43:38 +01:00
Matthias 874c161f78 Update more tests to use order_obj to update trade 2022-02-19 16:43:38 +01:00
Matthias 508e677d70 Fix some tests to call update_trade with order object 2022-02-19 16:43:38 +01:00
Matthias d610b6305d Improve /balance output by removing trailing zeros 2022-02-19 16:40:30 +01:00
Matthias a7a25bb285 Update "round coin value" to trim trailing zeros 2022-02-19 16:40:26 +01:00
Matthias a32aed2225 Update FTX stoploss code to avoid exception for stoploss-market orders
closes #6430, closes #6392
2022-02-19 10:07:32 +01:00
Matthias 0bbbe2e96c Add test for #6429 2022-02-19 06:39:43 +01:00
Kavinkumar 60d1e7fc65
fix stake amt 2022-02-18 19:47:45 +05:30
Kavinkumar 95d4a11bb1
add precision 2022-02-18 19:32:37 +05:30
Kavinkumar eb88c0f71b
fixed stake amount 2022-02-18 19:25:56 +05:30
Matthias 989edca622 Add test-case for cancel stake update with leverage 2022-02-18 06:41:15 +01:00
Matthias 8bdc77eb4d Add TODO-lev for tests which define is_short but don't use it 2022-02-18 06:38:51 +01:00
Matthias de8d789962 Fix test missing assert statement 2022-02-17 19:37:24 +01:00
Sam Germain f452fce4cc Merge branch 'ccxt-compat' into leverage-tiers 2022-02-16 10:07:49 -06:00
Sam Germain a37287d9ba test__get_params 2022-02-16 10:06:27 -06:00
Sam Germain 2015e9345d test_ccxt_compat maintenanceMarginRatio -> maintenanceMarginRate 2022-02-16 09:25:27 -06:00
Sam Germain df86300729 test_ccxt_dry_run_liquidation_price 2022-02-16 09:22:22 -06:00
Sam Germain 124532a4b7 maintenanceMarginRatio -> maintenanceMarginRate 2022-02-16 09:04:43 -06:00
Sam Germain dc73fccd3c removed test_ccxt_get_maintenance_ratio_and_amt 2022-02-16 09:03:50 -06:00
Sam Germain a1e9e940dd test_ccxt_load_leverage_tiers 2022-02-16 08:51:39 -06:00
Sam Germain ef5dae2770 ccxt_compat_tests for leverage tiers 2022-02-16 08:08:10 -06:00
Sam Germain 88a8ff2f4e Merge branch 'feat/short' into leverage-tiers 2022-02-16 08:05:51 -06:00
Matthias e7bfb4fd5c Add test case for "sell below close" case 2022-02-16 13:42:39 +01:00
Matthias de26844578
Merge pull request #6397 from samgermain/todos
edited todo-lev comments
2022-02-16 13:36:17 +01:00
Sam Germain 6f410d3096 fixed test_load_leverage_tiers 2022-02-16 05:44:11 -06:00
Sam Germain c70050e750 fixed test_load_leverage_tiers 2022-02-16 05:26:52 -06:00
Sam Germain 183f85efe3 test_execute_entry fixed 2022-02-16 05:08:11 -06:00
Sam Germain 1f3d3d87f6 fixed tests 2022-02-16 04:52:26 -06:00
Sam Germain 3fe0e13bb1 expanded test_load_leverage_tiers 2022-02-16 04:37:11 -06:00