Commit Graph

6824 Commits

Author SHA1 Message Date
Sam Germain 77aa372909 Fixed test_ftx patch 2021-09-10 02:09:27 -06:00
Sam Germain 2c7cf794f5 Test for short exchange.stoploss exchange.stoploss_adjust 2021-09-09 15:47:49 -06:00
Sam Germain 785b71aec1 formatting 2021-09-09 15:47:49 -06:00
Sam Germain 9f96b977f6 removed interest method from exchange, will create a separate interest PR 2021-09-09 15:47:49 -06:00
Sam Germain 93da13212c test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance 2021-09-09 15:47:49 -06:00
Sam Germain 9e73d02663 Added validating checks for trading_mode and collateral on each exchange 2021-09-09 15:47:49 -06:00
Sam Germain d1c4030b88 fill_leverage_brackets usinge self.markets.items instead of self._api.markets.items 2021-09-09 15:47:49 -06:00
Sam Germain 619ecc9728 Added exceptions to exchange.interest_rate 2021-09-09 15:47:49 -06:00
Sam Germain 97d1306e34 Added retrier to exchange functions and reduced failing tests down to 2 2021-09-09 15:47:49 -06:00
Sam Germain 0232f0fa18 Added failing fill_leverage_brackets test to test_kraken 2021-09-09 15:47:49 -06:00
Sam Germain 8d74233aa5 ftx.fill_leverage_brackets test 2021-09-09 15:47:49 -06:00
Sam Germain 8264cc546d Wrote dummy tests for exchange.get_interest_rate 2021-09-09 15:47:49 -06:00
Sam Germain 5708fee0e6 Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode 2021-09-09 15:47:49 -06:00
Sam Germain e6c9b8ffe5 completed set_margin_mode 2021-09-09 15:47:49 -06:00
Sam Germain 39fe381473 set margin mode exchange function 2021-09-09 15:47:49 -06:00
Sam Germain 3a4d247b64 Changed stoploss side on some tests 2021-09-09 15:47:49 -06:00
Sam Germain 8a5bad7c3e exchange - kraken - minor changes 2021-09-09 15:47:49 -06:00
Sam Germain 5748c9bc13 Added short functionality to exchange stoplss methods 2021-09-09 15:47:49 -06:00
Sam Germain 4ef1f0a977 Changed ftx set_leverage implementation 2021-09-09 15:47:49 -06:00
Sam Germain 16db8d70a5 Added error handlers to api functions and made a logger warning in fill_leverage_brackets 2021-09-09 15:47:49 -06:00
Sam Germain c256dc3745 Removed some outdated TODOs and whitespace 2021-09-09 15:47:49 -06:00
Sam Germain 134a7ec59b Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage 2021-09-09 15:47:49 -06:00
Sam Germain 455bcf5389 Added TODOs to test files 2021-09-09 15:47:49 -06:00
Sam Germain add7e74632 Added set_leverage function to exchange 2021-09-09 15:47:49 -06:00
Sam Germain d262af35ca Removed setup leverage and transfer functions from exchange 2021-09-09 15:47:49 -06:00
Sam Germain f4e26a616f Exchange stoploss function takes side 2021-09-09 15:47:49 -06:00
Sam Germain ebf5310817 Added get_interest template method in exchange 2021-09-09 15:47:48 -06:00
Sam Germain 54dd9ce7ad Add prep functions to exchange 2021-09-09 15:47:48 -06:00
Sam Germain 1f38088d7b Merged with develop 2021-09-09 13:56:46 -06:00
Sam Germain ee874f461c Removed TODO: change to exit-reason, exit_order_status 2021-09-09 13:14:48 -06:00
Sam Germain f5b01443ad buy/short -> entry order, sell/exit_short -> exit order 2021-09-09 02:10:12 -06:00
Sam Germain 695a8fc73b comment updates, formatting, TODOs 2021-09-08 03:09:39 -06:00
Sam Germain 1379ec7402 Updated log messages for freqtradebot 2021-09-08 03:04:01 -06:00
Sam Germain b2f289e404 Fixed freqtradebot failing tests 2021-09-08 02:16:25 -06:00
Sam Germain a1c9a4d619 freqtradebot local name changes 2021-09-08 02:09:36 -06:00
Sam Germain 362dc20406 notify_buy -> notify_enter, notify_sell -> notify_exit 2021-09-08 02:06:01 -06:00
Sam Germain e1f846f22f sell_lock -> exit_lock 2021-09-08 02:04:31 -06:00
Sam Germain e0092a85e9 handle_cancel_buy/sell -> handle_cancel_enter/exit 2021-09-08 02:04:20 -06:00
Sam Germain be93c75e44 reupdate_buy_order_fees -> reupdate_enter_order_fees 2021-09-08 02:03:40 -06:00
Sam Germain aac05029e1 safe_sell_amount -> safe_exit_amount 2021-09-08 02:03:24 -06:00
Matthias 2d66987ac7 Add test for "pair-startdate" detection 2021-09-07 20:27:49 +02:00
Matthias 8c83c258a5 Move "first-pair_getting" to binance subclass 2021-09-07 19:32:32 +02:00
Matthias 71ff214adf Support "initial_call" for download-data of new pairs 2021-09-07 07:14:40 +02:00
Matthias 6bd495a32a Fix 0Exception error
happens when wrong stake-currency is selected and /profit
is called
2021-09-06 19:55:04 +02:00
lenik terenin 1d24d3d5ee
case insensitive blacklist
Allow "btc/usdt" pairs in blacklist to match to "BTC/USDT" pairs that come from the exchange.
2021-09-05 22:41:58 +09:00
Matthias c519ecf8df Exclude more untestable sections from coverage 2021-09-05 15:40:21 +02:00
Matthias 4e049f65f2 Exclude some parts from coverage that can't really be tested 2021-09-05 09:14:44 +02:00
Matthias 493fb35073 Fix uvicorn not working properly on windows 2021-09-03 22:05:40 +02:00
Matthias b4130dfabb Use volumePairlist instead of staticPairlist in generated config 2021-09-03 09:23:26 +02:00
Matthias c489e6825c Simplify binance blacklist 2021-09-03 09:18:15 +02:00
Matthias 68f13173bc Update new-config templates to use USDT by default 2021-09-03 08:59:43 +02:00
Matthias e64ccd8fc1 Add new_config section for kucoin 2021-09-03 08:57:53 +02:00
Matthias 19ad165483 Add time_in_force for kucoin 2021-09-03 08:48:53 +02:00
Matthias 93c1dff71b Allow adding new additional headers 2021-09-02 21:02:45 +02:00
Matthias 5184cc7749 Merge branch 'develop' into feat/short 2021-09-02 07:03:14 +02:00
Matthias b0c4f079c2 Merge branch 'develop' into feat/backtest_detail 2021-08-31 20:16:42 +02:00
Matthias da5f8c87ae Add stake_currency to strategy interface
allows type-completion in editors
2021-08-31 07:18:57 +02:00
Matthias ab9a4375cc
Merge pull request #5504 from pan-long/unlimited-quote
Surround "unlimited" by double quotes in build config.
2021-08-30 20:33:21 +02:00
Matthias 2a0c95a2e7
Update freqtrade/commands/build_config_commands.py 2021-08-30 20:00:52 +02:00
Pan Long 20878290a0 Surround "unlimited" by double quotes in build config. 2021-08-30 01:02:48 +08:00
Matthias 1895230afe Clarify exception on load when markets could not be loaded
closes #5498
2021-08-29 09:18:46 +02:00
Pan Long 482e65453f Remove extra comma after the last element in binance pair_blacklist. 2021-08-28 21:57:54 +08:00
Matthias ac0dada962 Update Version to develop again 2021-08-28 10:43:49 +02:00
Matthias a38b72af91 Merge branch 'develop' into new_release 2021-08-27 20:18:37 +02:00
Matthias ef9c1addcf Add expired to list of canceled statuses 2021-08-27 19:54:53 +02:00
Matthias b3a4b0fbde Version bump to 2021.8 2021-08-27 07:10:13 +02:00
Matthias 3e10f7e2d8 Merge branch 'stable' into new_release 2021-08-27 07:09:59 +02:00
Matthias 2ce458810b rename default_hyperopt_loss file 2021-08-26 19:39:57 +02:00
Matthias 58ecb34a66 Allow DefaultHyperopts as hyperopt name 2021-08-26 07:13:18 +02:00
Matthias 1f3ccc2587 DefaultStrategy does not need to be limited 2021-08-26 07:00:15 +02:00
Matthias c4be52d1c3 rename execute_sell to execute_trade_exit 2021-08-26 06:53:42 +02:00
Matthias 63844d39f6 Rename execute_buy to execute_entry 2021-08-26 06:48:26 +02:00
Matthias e1c3b7fd8c Merge branch 'develop' into feat/short 2021-08-25 20:31:40 +02:00
Matthias 7fb570cc58 hyperopt Fallback methods should not be used. 2021-08-25 20:28:55 +02:00
Matthias 23d21d8ace Fix wrong message if protection-space is missing
closes #5480
2021-08-25 19:57:10 +02:00
Matthias 8a9407bac9 Don't hard-fail when fetch_ticker doesn't return a value
closes #5477
2021-08-25 07:13:59 +02:00
Matthias 957551ea97 Merge branch 'develop' into feat/short 2021-08-24 06:25:06 +02:00
Matthias 3026583ed4 Reduce verbosity of "is in blacklist" logging 2021-08-22 19:40:43 +02:00
Matthias 56759cea7b Add "high fee rate" blocker to fees from trades
part of #5415 (potentially fixing this)
2021-08-22 14:37:45 +02:00
Sam Germain a5be535cc9 strategy interface: removed some changes 2021-08-21 17:06:04 -06:00
Masoud Azizi 40ad451019 Download-data log process added
Download-data log process added

pytest assert solved
2021-08-20 14:52:56 +00:00
Matthias 695a1e21bf Set gate.io download limit to 1000 candles 2021-08-20 06:51:04 +02:00
Sam Germain 314359dd6e strategy interface changes to comments to mention shorting 2021-08-18 13:23:04 -06:00
Sam Germain e2d5299116 Name changes for strategy 2021-08-18 13:22:54 -06:00
Matthias f7087feeb1
Merge pull request #5347 from Axel-CH/custom_order_price
Custom order price
2021-08-18 20:59:40 +02:00
Matthias 9951f51079 Update test to ensure direction of movement is correct 2021-08-18 20:24:19 +02:00
axel 2fb9f6e2f4 rename custom price max distance option in config, update formula and test associated 2021-08-18 05:07:37 -04:00
Matthias 4164f93853 Simplify fiat_convert and handle multi-mappings 2021-08-17 20:50:52 +02:00
Matthias 37e3d20357 Fix no-event-loop available
closes #5433
2021-08-17 06:54:10 +02:00
Matthias 9758bed250 Fix refresh_latest_ohlcv bug 2021-08-17 06:44:36 +02:00
axel 6ab99369f2 Merge branch 'develop' of https://github.com/freqtrade/freqtrade into custom_order_price 2021-08-16 23:26:29 -04:00
axel 17daba321b add custom_price_max_distance_percent config option in constants 2021-08-16 23:09:30 -04:00
axel 3ea4b2ba00 add custom_price_max_distance_percent security to get_valid_price, update tests 2021-08-16 15:18:57 -04:00
slowy07 f24a951ec5 fix: typo spelling grammar 2021-08-16 19:16:24 +07:00
Matthias 4115121c24 Fix missing return statement in is_Relative_to 2021-08-16 07:26:58 +02:00
Matthias 4b65206e6b Add compat code for is_relative_to 2021-08-16 07:09:05 +02:00
Matthias 6b2ef36a56 Prevent directory traversal in UI Serving
Checking for directory base

closes #5427
2021-08-16 06:47:53 +02:00
Matthias 322ea2481e Add log-message for edge-case 2021-08-15 19:28:36 +02:00
Matthias ed6776c5cd Fix disappearing pairlist bug 2021-08-15 17:06:16 +02:00
Matthias 4f10a88529 Reduce verbosity when incompatible pairs are detected 2021-08-15 15:14:57 +02:00