Commit Graph
100 Commits
Author SHA1 Message Date
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 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 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 2748b113ee Merge pull request #6495 from freqtrade/short_fixliq
Simplify and align liquidation price handling
2022-03-07 07:39:16 +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 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 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
Matthias 71be547d82 Bump ccxt to 1.74.63
closes #6484
2022-03-02 06:26:00 +01:00
Matthias f74de1cca3 Improve Backtesting "wrong setup" message to include tradable_balance 2022-03-01 19:46:13 +01:00
Matthias 54165662ce Don't require unfilledtimeout, it's optional. 2022-03-01 19:41:26 +01:00
Matthias 69cfb0b278 Revert change to telegram - this should be handled at the source 2022-03-01 19:32:25 +01:00
Matthias c2b90afa61 Merge branch 'develop' into pr/stash86/6458 2022-03-01 19:31:36 +01:00
Matthias a2c9879375 Reset sell-reason if order is cancelled 2022-03-01 19:30:16 +01:00
Matthias 736a930152 Update small things 2022-03-01 19:23:14 +01:00
Matthias f26247e8e0 Revert wrong version string 2022-03-01 19:08:04 +01:00
Matthias e8206bc751 Simplify backtesting enter_Trade 2022-02-28 20:10:23 +01:00
Matthias 1b07ad92cf Merge branch 'feat/short' into pr/samgermain/6467 2022-02-28 20:07:19 +01:00
Matthias c745f5828c Update comments to clarify it's supposed to be a "offline" call 2022-02-28 20:05:14 +01:00
Matthias c39e7368ee Split backtesting test to properly initialize it 2022-02-28 19:58:44 +01:00
Matthias e005439720 Merge pull request #6400 from freqtrade/short_dca
trade-adjustment for short trades
2022-02-28 19:47:50 +01:00
Matthias 79538368db Simplify liquidation price calculation 2022-02-28 19:47:21 +01:00
Matthias ab46476e63 Rename get_liquidation method 2022-02-28 19:42:26 +01:00
Matthias 1d27cbd01f Simplify leverage_prep interface 2022-02-28 19:34:10 +01:00
Matthias 8e2d3445a7 Move leverage_prep calculations to exchange class 2022-02-28 19:29:42 +01:00
Matthias bc92225441 Add todo about leverage_prep 2022-02-28 19:23:14 +01:00
Matthias dca83b070d Merge pull request #6478 from freqtrade/dependabot/pip/develop/fastapi-0.74.1
Bump fastapi from 0.74.0 to 0.74.1
2022-02-28 07:08:02 +01:00
Matthias 68bc2a6107 Add huobi to ccxt compat tests 2022-02-28 07:00:52 +01:00
Matthias a922c4df70 Merge pull request #6477 from freqtrade/dependabot/pip/develop/ccxt-1.74.43
Bump ccxt from 1.74.17 to 1.74.43
2022-02-28 06:52:18 +01:00
Matthias cf22926cee Merge pull request #6475 from freqtrade/dependabot/pip/develop/mkdocs-material-8.2.3
Bump mkdocs-material from 8.2.1 to 8.2.3
2022-02-28 06:50:48 +01:00
Matthias 151841965a Merge pull request #6476 from freqtrade/dependabot/pip/develop/types-requests-2.27.11
Bump types-requests from 2.27.10 to 2.27.11
2022-02-28 06:34:34 +01:00
Matthias 7948224892 leverage_prep should also becalled after filling a entry ordre 2022-02-27 21:14:28 +01:00
Matthias 1ac360674c Update Readme quickstart
#6472
2022-02-27 17:37:46 +01:00
Matthias 437b12fab7 Use trade.* props where possible 2022-02-27 17:16:38 +01:00
Matthias 33be14e7e2 Update stake_amount calculation with multiple entries when using leverage 2022-02-27 17:09:29 +01:00
Matthias 0ebf40f390 Don't call amount_to_precision twice on entry 2022-02-27 15:57:44 +01:00
Matthias 5c2cca50e5 Minor updates, document no leverage changes 2022-02-27 15:44:23 +01:00
Matthias 1b6548c8d8 Don't modify leverage through DCA 2022-02-27 15:44:23 +01:00
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 fdbd75501f Merge pull request #6465 from freqtrade/huobi
Huobi
2022-02-26 15:24:42 +01:00
Matthias 75868a851b Attempt Fix random test failure 2022-02-26 15:20:56 +01:00
Matthias 41316abb55 Sort supported exchanges alphabetically 2022-02-26 14:57:17 +01:00
Matthias 14d49e85af Update Huobi stoploss to shared method 2022-02-26 14:57:13 +01:00
Matthias a1f2f6ddeb Updates required for huobi datadownload 2022-02-26 10:33:37 +01:00
Matthias f3421dfa9f Use unified stopPrice argument 2022-02-26 10:33:37 +01:00
Matthias 1b91be08fe Add huobi to list of supported exchanges 2022-02-26 10:33:37 +01:00
Matthias 292c350885 Add stoploss support for huobi 2022-02-26 10:33:36 +01:00
Matthias 9504b3eb05 Improve huobi config generation 2022-02-26 10:33:11 +01:00
Matthias ee7bc55727 Add huobi to Exchange setup 2022-02-26 10:33:11 +01:00
Matthias 2ec1a7b370 Add huobi exchange class 2022-02-26 10:33:11 +01:00
Matthias f181cdeecd Merge pull request #6463 from freqtrade/stoploss_simplify
Stoploss simplify - kucoin stoploss on exchange
2022-02-26 10:31:50 +01:00
Matthias 3942b30ebf Add kraken TODO 2022-02-26 08:34:23 +01:00
Matthias 6caa5f7131 Update dry-run behaviour 2022-02-26 08:25:42 +01:00