Commit Graph
100 Commits
Author SHA1 Message Date
Matthias a89c1da19f Fix 2 bugs in ROI calculation 2022-03-16 20:12:09 +01:00
Matthias 298797cbfd Add stoploss short test 2022-03-16 20:12:09 +01:00
Matthias c47b5b9087 Update bt_detail column descriptions 2022-03-16 20:12:00 +01:00
Matthias 84e9dc5001 Merge pull request #6537 from adrianceding/fs_fix
Add BT's leverage and short calculation
2022-03-16 19:25:19 +01:00
Matthias 7c9d2dd20a Fix a few more short bugs in backtesting 2022-03-16 07:00:50 +01:00
Matthias cbbdf00ddd Update comments in short backtest rates 2022-03-15 06:39:07 +01:00
Matthias 12948aade6 Remove unused argument 2022-03-14 19:29:26 +01:00
Matthias d5f0c6c78d Exclude alternative candletypes from timeframe check 2022-03-13 16:16:48 +01:00
Matthias cfa9458bcc Merge branch 'develop' into feat/short 2022-03-13 15:38:12 +01:00
Matthias 3133be19e3 Update precisionfilter to use last instead of ask or bid. 2022-03-13 15:23:01 +01:00
Matthias 7146122f4a Update docstring 2022-03-13 15:06:32 +01:00
Matthias b8b56d95f3 Update missleading docstring 2022-03-13 14:57:32 +01:00
Matthias 9107819c95 Fix order migration "forgetting" average 2022-03-13 14:42:15 +01:00
Matthias 099547c1ec Merge pull request #6527 from adrianceding/feat/short
fix duplicate long
2022-03-13 07:18:48 +01:00
Matthias b8cbc4dcb7 Merge pull request #6523 from freqtrade/short_exit_trend
Update methods wording
2022-03-12 15:53:11 +01:00
Matthias b044dd2c45 Update custom_sell to custom_exit 2022-03-12 11:37:56 +01:00
Matthias fe62a71f4c Simplify implementation of "check_override" by extracting it to function 2022-03-12 10:58:48 +01:00
Matthias 6946203a7c Add tests and test-strategies for custom "implements" requirements 2022-03-12 10:05:16 +01:00
Matthias 9460fd8d75 Add Appropriate test for loading error 2022-03-12 09:49:20 +01:00
Matthias 28046c6a22 Change populate_buy_trend to populate_entry_trend 2022-03-12 09:38:28 +01:00
Matthias efc313b28b Merge pull request #6512 from freqtrade/short_order_types
Short order types renamal
2022-03-12 09:32:16 +01:00
Matthias 7d1e487be5 Merge pull request #6522 from freqtrade/is_short_strat
Is short strat
2022-03-12 09:31:51 +01:00
Matthias b9b5d749bb Fix typo causing an implicit bug 2022-03-12 08:58:59 +01:00
Matthias 12c909d8a8 Add can_short to sample strategies 2022-03-12 07:00:57 +01:00
Matthias 0aa170ac95 Check can_short in live-mode as well. 2022-03-12 06:58:22 +01:00
Matthias 20fc9459f2 Add test for can_short strategy attribute 2022-03-11 19:37:45 +01:00
Matthias 1c9dbb512a Initial attempt at is_short_strategy block 2022-03-11 19:29:40 +01:00
Matthias 7825d855cd Fix flake8 error in tests 2022-03-11 19:28:15 +01:00
Matthias 11c76c3c89 Check if timeframe is available before calling exchange
closes #6517
2022-03-11 18:01:30 +01:00
Matthias 24f480b4ce Double-check stoploss behaviour
closes #6508
2022-03-11 08:28:47 +01:00
Matthias 9ff52c0a93 Add test for emergencysell behaviour 2022-03-11 08:26:28 +01:00
Matthias f6c263882d Update outdated TODO-lev 2022-03-10 07:09:48 +01:00
Matthias cb9da78a27 Merge branch 'develop' into feat/short 2022-03-10 06:54:20 +01:00
Matthias 98755c1874 Fix wrong estimated output from /balance endpoints 2022-03-10 06:47:17 +01:00
Matthias 0d754111e9 Fix dry-run-wallets bug in case of futures 2022-03-09 19:02:22 +01:00
Matthias a837571e2b Improve dry-run-wallets in futures case test 2022-03-09 19:01:38 +01:00
Matthias 6e10439f90 Map usdt fiat to correct coingecko fiat 2022-03-09 17:35:41 +01:00
Matthias 93a91bdeee Update order_Types documentation 2022-03-09 07:44:21 +01:00
Matthias 50ab0dc6c5 Fix subtle bug 2022-03-09 07:04:59 +01:00
Matthias 51828a0b0b Update buy-signals to entry wording 2022-03-09 07:03:37 +01:00
Matthias 66afc233db Use Deprecated method for order_Time_in_force 2022-03-09 06:54:13 +01:00
Matthias 943d080f5e Add test for order-types migration 2022-03-09 06:37:08 +01:00
Matthias 420cc5c595 deprecated-setting moval should delete old setting 2022-03-09 06:37:08 +01:00
Matthias 5d4386f037 Implement order_types validation 2022-03-09 06:37:08 +01:00
Matthias e492bf3159 Update order_types to use entry/exit definition 2022-03-09 06:37:08 +01:00
Matthias f2ed6165e9 convert price to precision price before verifying stoploss adjustment
closes #6504
2022-03-08 19:35:30 +01:00
Matthias 1ce55e88b4 Try to revert sequence in test 2022-03-08 07:10:59 +01:00
Matthias b4ec2b3a5a Merge pull request #6507 from freqtrade/short_order_tif
Update order time in force to use entry/exit wording
2022-03-08 06:31:05 +01:00
Matthias 3ff261e22c Update order time in force to use entry/exit wording 2022-03-07 19:55:15 +01:00
Matthias 17041b78fc Add stoploss-limit-ratio to full config sample 2022-03-07 19:39:15 +01:00
Matthias da733a458d Merge pull request #6505 from freqtrade/rename_liq_col
rename column to liquidation_price
2022-03-07 19:02:39 +01:00
Matthias d2a163e2cf rename column to liquidation_price 2022-03-07 17:16:33 +01:00
Matthias f0252cf79d Merge pull request #6497 from freqtrade/dependabot/pip/develop/sqlalchemy-1.4.32
Bump sqlalchemy from 1.4.31 to 1.4.32
2022-03-07 12:52:15 +01:00
Matthias 2748b113ee Merge pull request #6495 from freqtrade/short_fixliq
Simplify and align liquidation price handling
2022-03-07 07:39:16 +01:00
Matthias 98acff8169 Merge pull request #6500 from freqtrade/dependabot/pip/develop/types-cachetools-4.2.10
Bump types-cachetools from 4.2.9 to 4.2.10
2022-03-07 07:04:31 +01:00
Matthias 26f6d8076d Merge pull request #6498 from freqtrade/dependabot/pip/develop/pytest-asyncio-0.18.2
Bump pytest-asyncio from 0.18.1 to 0.18.2
2022-03-07 06:25:20 +01:00
Matthias 82595f3a5d Merge pull request #6501 from freqtrade/dependabot/pip/develop/ccxt-1.75.12
Bump ccxt from 1.74.63 to 1.75.12
2022-03-07 06:25:07 +01:00
Matthias 805a04a6cb Merge pull request #6496 from freqtrade/dependabot/pip/develop/fastapi-0.75.0
Bump fastapi from 0.74.1 to 0.75.0
2022-03-07 06:24:56 +01:00
Matthias 07524e9f37 Merge pull request #6499 from freqtrade/dependabot/pip/develop/mkdocs-material-8.2.5
Bump mkdocs-material from 8.2.3 to 8.2.5
2022-03-07 06:24:40 +01:00
Matthias 749e0dd5a0 Merge pull request #6502 from freqtrade/dependabot/github_actions/develop/actions/setup-python-3
Bump actions/setup-python from 2 to 3
2022-03-07 06:24:14 +01:00
Matthias 46c3f56bf5 Merge pull request #6503 from freqtrade/dependabot/github_actions/develop/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-07 06:23:41 +01:00
Matthias 4988e56bfe Full config should still default to spot markets 2022-03-06 16:35:31 +01:00
Matthias 6360ef029c Simplify and align liquidation price handling 2022-03-06 16:27:55 +01:00
Matthias 612ede5e48 Merge pull request #6468 from samgermain/todos
todos
2022-03-06 16:03:05 +01:00
Matthias 667054e1ad Reorder methods in trade object 2022-03-06 15:07:07 +01:00
Matthias 46e17c9762 Fix stoploss_pct set wrongly for short trades 2022-03-06 15:07:04 +01:00
Matthias cc38f0656d Explicitly check for None to determine if initial stoploss was set
closes #6460
2022-03-06 15:06:57 +01:00
Matthias 08d8dfaee6 Remove wrong import 2022-03-06 14:47:26 +01:00
Matthias 81d4a61353 Update more trades 2022-03-06 14:33:04 +01:00
Matthias bc37f67e76 Add one more test 2022-03-06 14:18:25 +01:00
Matthias 76e5d5b232 Fix stake-amount handling for dry-run 2022-03-05 15:53:40 +01:00
Matthias f571fee899 Merge pull request #6494 from freqtrade/stoploss_special_ccase
Explicitly check for None to determine if initial stoploss was set
2022-03-05 15:15:45 +01:00
Matthias 0bac7f824e Merge pull request #6492 from samgermain/feat/short
Merge develop into feat/short
2022-03-05 14:47:34 +01:00
Matthias 7a545f49af Improve test stability by making keys optional in the ccxt test-matrix 2022-03-05 14:15:58 +01:00
Matthias be4bc4955c Explicitly check for None to determine if initial stoploss was set
closes #6460
2022-03-05 14:12:14 +01:00
Matthias 2b1a8f2fbb Update binance stoploss to use correct stop order for futures 2022-03-05 13:57:54 +01:00
Matthias 685820cc12 Fix failures due to non-happening rounding 2022-03-04 19:48:34 +01:00
Matthias 8943d42509 Update telegram notifications to properly detect shorts 2022-03-04 19:42:33 +01:00
Matthias 9576fab621 Re-remove amount to precision from trade entry 2022-03-04 07:16:06 +01:00
Matthias cee126a2cf extract stop_limit-rate calculation 2022-03-04 07:10:14 +01:00
Matthias 62dcebee46 Update stoploss method to new functionality 2022-03-04 07:07:34 +01:00
Matthias 011cd58377 Adjust new stoploss tests to futures world 2022-03-04 06:58:34 +01:00
Matthias 7435b5ec96 Fix small merge errors 2022-03-04 06:58:21 +01:00
Matthias 0622654bcf Give tests a chance to pass 2022-03-04 06:50:42 +01:00
Matthias 819b35747d Minor documentation updates 2022-03-03 20:24:06 +01:00
Matthias c0e12d632f Add FTX ref links 2022-03-03 19:19:10 +01:00
Matthias 1d3ce5bef4 Remove duplicate call to init_db 2022-03-03 07:23:10 +01:00
Matthias 5ab72ac082 chore: realign enums imports 2022-03-03 07:07:33 +01:00
Matthias 9bcc79e118 Use parsed TradingMode from config 2022-03-03 07:06:13 +01:00
Matthias 5332c441b9 Fix fail test - add more TODO's 2022-03-03 07:00:10 +01:00
Matthias f558d4b132 Merge pull request #6467 from samgermain/backtest-liq
Liquidation price in backtesting
2022-03-03 06:50:32 +01:00
Matthias 761ac6685a Merge pull request #6489 from samgermain/gateio-market
gateio market orders futures
2022-03-03 06:34:06 +01:00
Matthias e9456cdf15 Update trade response to use a single Order object 2022-03-02 19:58:08 +01:00
Matthias 17c9c3caf3 Enable orders via API 2022-03-02 19:58:08 +01:00
Matthias eb30c40e0c Fix hyperopt for futures 2022-03-02 19:50:16 +01:00
Matthias c5cf73e67b hdf5 datahandler should also create directory 2022-03-02 19:41:14 +01:00
Matthias d4fbb785b5 Merge pull request #6458 from stash86/pos_adjust
Hide sell_reason if a trade is still open
2022-03-02 07:23:49 +01:00
Matthias 1c4a7c25d7 Fix failing test 2022-03-02 07:14:36 +01:00
Matthias 478d440e80 Test backtesting with USDT pairs 2022-03-02 07:00:07 +01:00
Matthias b18256c231 Merge pull request #6487 from samgermain/setup-gettext
setup.sh install gettext for mac
2022-03-02 06:39:27 +01:00