Commit Graph
100 Commits
Author SHA1 Message Date
Matthias 536f54cfc6 is_short for forceentries 2022-02-27 15:44:23 +01:00
Matthias f0f5a50975 Update tests to test DCA for shorts 2022-02-27 15:44:23 +01:00
Matthias eed516a5c6 Update DCA logic to some extend 2022-02-27 15:44:23 +01:00
Matthias bcfa73d492 Add "nr_of_successfull_entries" 2022-02-27 15:44:23 +01:00
Matthias 5c9dddb7f3 Merge pull request #6466 from samgermain/stoploss
Leverage stoploss
2022-02-27 15:30:58 +01:00
Matthias 7b9880035b Remove wrong TODO-lev comment 2022-02-27 15:11:09 +01:00
Matthias 92ad353169 Fix OKX exception 2022-02-26 20:13:24 +01:00
Matthias 12a1e27708 Merge pull request #6456 from samgermain/lev-tier-update
Lev tier update
2022-02-26 19:55:30 +01:00
Matthias e9f3f3d859 Fix random test failure (2nd try) 2022-02-26 17:08:35 +01:00
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 551fe7d820 Merge pull request #6440 from clover-es/feat/short
Add leverage strategy to new-strategy command
2022-02-25 15:18:46 +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 13e74c5693 Add dry-run position wallet calculation 2022-02-24 20:05:56 +01:00
Matthias 6562511137 add trade_direction to trade object 2022-02-24 20:05:56 +01:00
Matthias a2b17882e6 Don't use separate position field in /currency endpoint 2022-02-24 20:05:56 +01:00
Matthias 4b27bd9838 don't fetch free balance if we don't use it 2022-02-24 20:05:56 +01:00
Matthias e54e6a7295 Update wallets to also keep Positions 2022-02-24 20:05:56 +01:00
Matthias ed65692257 add get_position exchange wrapper 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 d973ba1f5d Add leverage callback to advanced template 2022-02-23 20:19:52 +01:00
Matthias c51603b110 Slightly improve formatting, Point to documentation 2022-02-23 20:16:52 +01: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 afd2be06d8 Merge pull request #6447 from freqtrade/dependabot/pip/develop/uvicorn-0.17.5
Bump uvicorn from 0.17.4 to 0.17.5
2022-02-23 07:51:33 +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 02ce0dc02e Set journal mode to wal for sqlite databases
closes #6353
2022-02-22 19:31:58 +01:00
Matthias 70f4305dfa don't allow short trades in spot mode 2022-02-21 19:19:12 +01:00
Matthias a2960d8505 Merge pull request #6448 from freqtrade/dependabot/pip/develop/mkdocs-material-8.2.1
Bump mkdocs-material from 8.1.11 to 8.2.1
2022-02-21 08:10:25 +01:00
Matthias 2b16606dbc Merge pull request #6443 from freqtrade/dependabot/pip/develop/python-rapidjson-1.6
Bump python-rapidjson from 1.5 to 1.6
2022-02-21 07:26:28 +01:00
Matthias c6a9c0805c Merge pull request #6442 from freqtrade/dependabot/pip/develop/types-requests-2.27.10
Bump types-requests from 2.27.9 to 2.27.10
2022-02-21 06:53:41 +01:00
Matthias fdad14d852 Merge pull request #6446 from freqtrade/dependabot/pip/develop/ccxt-1.73.70
Bump ccxt from 1.72.98 to 1.73.70
2022-02-21 06:53:27 +01:00
Matthias 0bd621ece8 Merge pull request #6445 from freqtrade/dependabot/pip/develop/fastapi-0.74.0
Bump fastapi from 0.73.0 to 0.74.0
2022-02-21 06:28:03 +01:00
Matthias df04612549 Merge pull request #6444 from freqtrade/dependabot/pip/develop/filelock-3.6.0
Bump filelock from 3.4.2 to 3.6.0
2022-02-21 06:27:08 +01:00
Matthias fddacfedaa Remove returntype 2022-02-20 16:47:02 +01:00
Matthias a24586cd41 Update migrations for new column 2022-02-20 16:32:04 +01:00
Matthias 6fb5b22a8e Some cleanup 2022-02-20 16:31:44 +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 1b1216fc87 Rename update_trade method 2022-02-19 16:43:38 +01:00
Matthias c13eed2178 use Order object to update trade 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 42bb33811c Merge pull request #6434 from freqtrade/fix/ftx_stoploss
Update FTX stoploss code to avoid exception for stoploss-market orders
2022-02-19 10:50:53 +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 3785f04be7 Handle empty min stake amount as observed on FTX
(closes #6429)
2022-02-19 06:39:43 +01:00
Matthias 0bbbe2e96c Add test for #6429 2022-02-19 06:39:43 +01:00
Matthias 5705ff7f82 Merge pull request #6432 from mkavinkumar1/patch-1
fixed stake amount
2022-02-19 06:39:19 +01:00
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 f0cbc47bb1 Merge pull request #6373 from samgermain/leverage-tiers
Leverage tiers
2022-02-17 20:23:33 +01:00
Matthias de8d789962 Fix test missing assert statement 2022-02-17 19:37:24 +01:00
Matthias e981d644e1 Add toto-lev for order-leverage 2022-02-16 19:24:59 +01:00
Matthias e60553b8f7 Add max_entry_position hyperopt to docs
closes #6356
2022-02-16 19:21:04 +01:00
Matthias 877a0750ce Merge pull request #6417 from freqtrade/fix/6261
Attempt fix for #6261
2022-02-16 15:48:57 +01: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
Matthias ff5b3c323a Fix okx trading mode 2022-02-16 09:13:49 +01:00
Matthias a77c11c7e0 Merge pull request #6420 from stash86/pos_adjust
add "dry_run_wallet" to config_full.example.json
2022-02-16 06:48:07 +01:00
Matthias 78a93b6052 noqa 2022-02-15 20:15:03 +01:00
Matthias 3787b747ae Simplify api schema by not using union types 2022-02-15 20:07:02 +01:00
Matthias 7f7c395b10 Add exception handling for lev_prep in okx 2022-02-15 19:30:02 +01:00
Matthias 64b98989d2 Update open candle ROI condition 2022-02-15 19:25:32 +01:00
Matthias 33cc5e0ac7 Use kwargs for set_leverage 2022-02-15 18:56:58 +01:00
Matthias c37f03a638 Update static-markets to include futures pair 2022-02-15 08:04:16 +01:00
Matthias 1bae18c60a Update decorator locations 2022-02-15 07:11:07 +01:00
Matthias 324fdcedb1 Attempt test fix 2022-02-15 06:59:10 +01:00
Matthias dfd5d3b8b2 Merge pull request #6418 from m3h7/patch-1
corrects typo
2022-02-15 06:40:30 +01:00
Matthias 5ee5e0256b Clarify todo 2022-02-15 06:39:55 +01:00
Matthias 30f6dbfc40 Attempt fix for #6261 2022-02-14 20:02:38 +01:00
Matthias acd7f26a9d update tc36 to properly cover #6261 2022-02-14 20:00:31 +01:00
Matthias 513669f834 Be verbose on okex startup to point out delay. 2022-02-14 19:44:05 +01:00
Matthias 515b3fdfd2 Version bump ccxt 2022-02-14 19:42:15 +01:00
Matthias 99e3e26542 Adjust ccxt test naming to align with the other tests 2022-02-14 19:14:44 +01:00
Matthias 35e800a84b Merge pull request #6411 from freqtrade/dependabot/pip/develop/pytest-asyncio-0.18.1
Bump pytest-asyncio from 0.17.2 to 0.18.1
2022-02-14 07:09:45 +01:00
Matthias 7e2e9272cc Merge pull request #6403 from freqtrade/dependabot/pip/develop/prompt-toolkit-3.0.28
Bump prompt-toolkit from 3.0.26 to 3.0.28
2022-02-14 07:09:18 +01:00
Matthias 8ba149a2af Merge pull request #6409 from freqtrade/dependabot/pip/develop/types-requests-2.27.9
Bump types-requests from 2.27.8 to 2.27.9
2022-02-14 06:28:42 +01:00
Matthias 1ad41f0efc Merge pull request #6410 from freqtrade/dependabot/pip/develop/nbconvert-6.4.2
Bump nbconvert from 6.4.1 to 6.4.2
2022-02-14 06:28:29 +01:00
Matthias 9c62ffe4f6 Merge pull request #6404 from freqtrade/dependabot/pip/develop/plotly-5.6.0
Bump plotly from 5.5.0 to 5.6.0
2022-02-14 06:28:16 +01:00
Matthias 6290fb6d10 Merge pull request #6408 from freqtrade/dependabot/pip/develop/mkdocs-material-8.1.11
Bump mkdocs-material from 8.1.10 to 8.1.11
2022-02-14 06:27:59 +01:00
Matthias 067378d7fc Merge pull request #6405 from freqtrade/dependabot/pip/develop/pymdown-extensions-9.2
Bump pymdown-extensions from 9.1 to 9.2
2022-02-14 06:27:42 +01:00
Matthias 0c632555d6 Merge pull request #6406 from freqtrade/dependabot/pip/develop/ccxt-1.72.98
Bump ccxt from 1.72.36 to 1.72.98
2022-02-14 06:27:22 +01:00
Matthias e63ef86e9e Merge pull request #6407 from freqtrade/dependabot/pip/develop/pytest-7.0.1
Bump pytest from 7.0.0 to 7.0.1
2022-02-14 06:27:09 +01:00
Matthias ecb93f14b1 Merge pull request #6412 from freqtrade/dependabot/pip/develop/pandas-1.4.1
Bump pandas from 1.4.0 to 1.4.1
2022-02-14 06:26:33 +01:00
Matthias b1b8167b5e Update stop documentation
closes #6393
2022-02-13 19:14:57 +01:00
Matthias 09cc43b533 Test short trade exiting 2022-02-13 16:33:06 +01:00