Commit Graph

7429 Commits

Author SHA1 Message Date
Matthias 77443d5abc
Merge pull request #6011 from freqtrade/lev/backtesting
correctly apply leverage to backtesting
2021-12-01 19:49:40 +01:00
Matthias 67f3570bf3 Merge branch 'develop' into feat/short 2021-12-01 07:21:36 +01:00
Matthias c22f381dfe Fix Schema issue
closes #6010
2021-11-30 20:46:47 +01:00
Matthias a2a974fc6d correctly apply leverage to backtesting 2021-11-30 20:32:34 +01:00
Matthias 542963c7a6 Reduce code complexity by combining buy and buy_fill methods 2021-11-30 19:45:20 +01:00
Matthias f0abe218a2 Batch ohlcv requests to not overwelm ccxt's async throttler
closes #6003
2021-11-30 07:10:12 +01:00
Matthias 231b1e2f57 Improve Async error message content 2021-11-30 07:10:12 +01:00
Matthias de7e1e6bf7
Merge pull request #5980 from incrementby1/ShuffleFilterDetectLiveMode
Shuffle filter use seed only in backtesting mode
2021-11-30 06:37:35 +01:00
incrementby1 60eca8b1f1
revert to random object 2021-11-29 20:35:43 +01:00
Matthias 06d8217e62
Merge pull request #5983 from PostmanSpat/webhook-raw-retry
Added raw config and retry config to webhook
2021-11-29 20:30:06 +01:00
Matthias dfb148f8d7 Fix formatting 2021-11-29 19:54:54 +01:00
Matthias f8cb3d2901 Restore openAPI functioning 2021-11-29 19:52:40 +01:00
Spat 018407852a Added missing webhook config params to constants 2021-11-29 18:17:59 +11:00
Spat 29180a1d2b Moved retry config to constants 2021-11-29 10:48:35 +11:00
Spat 0fa5bf54cd Changed comment 2021-11-29 10:30:41 +11:00
Matthias cf5ff9257d Add plotconfig as property documentation and sample 2021-11-28 19:39:43 +01:00
incrementby1 c7d10e2c7e
delete unneeded comment 2021-11-28 19:05:02 +01:00
Matthias cb4efa6d56 Revert unnecessary formatting changes 2021-11-28 15:53:13 +01:00
Matthias c20157e64f Add compatibility code for existing informative_pairs implementation 2021-11-28 15:43:04 +01:00
Matthias 0d6c933935 Improve and fix pair detection from available data 2021-11-28 15:25:57 +01:00
Matthias 0d1324718c Don't replace "-" when writing pair files 2021-11-28 15:08:02 +01:00
Matthias 7faa7539b4 Further enhance pair retrieval 2021-11-28 15:03:55 +01:00
Matthias 8d70672bee Enhance Regex to work for mark candles 2021-11-28 14:37:54 +01:00
Matthias c096c7f5cb Add explicit tests for ohlcv regex 2021-11-28 14:34:46 +01:00
Matthias 2414c0bd9f
Merge pull request #5982 from stash86/fix-docs
add weekly and monthly to valid keys
2021-11-28 08:28:13 +01:00
Spat fb6ae174b9 Added raw config and retry config to webhook 2021-11-28 11:42:57 +11:00
Stefano Ariestasia fd9bf2adb0 add weekly and monthly to valid keys 2021-11-28 08:23:02 +09:00
Matthias 6429205d39 Improve Notebook documentation to include Dataprovider
fix #5975
2021-11-27 19:53:37 +01:00
Matthias 2b3e7eeb21 Use Enum values within bot code 2021-11-27 19:41:36 +01:00
Matthias 409a801763 Fix caching problem in refresh_ohlcv
closes #5978
2021-11-27 19:31:39 +01:00
incrementby1 b90303c9a3
Update ShuffleFilter.py
random.Random() is deprecated since 3.9
2021-11-27 18:26:30 +01:00
Matthias cb95b362ec
Merge pull request #5976 from freqtrade/forcebuy
allow force options with ordertype
2021-11-27 17:01:18 +01:00
Matthias 107e124f60 Fix bug in exchange causing candles not to download 2021-11-27 17:00:06 +01:00
Matthias bf8f1045ca Map binanceusdm to ft binance class 2021-11-27 16:46:17 +01:00
Matthias 504efbd6d4 Add futures argument to download-data command 2021-11-27 16:36:59 +01:00
incrementby1 8c52ba3360
ShuffleFilterDetectLiveMode
# Apply seed in backtesting mode to get comparable results,
        # but not in live modes to get a non-repeating order of pairs during live modes.
2021-11-27 16:21:23 +01:00
Sam Germain 392128013f Updated ohlcv_get_available_data to recognize swap and futures pairs 2021-11-27 03:11:44 -06:00
Sam Germain 8761649fd7 Added candle_type in doc strings 2021-11-27 02:55:42 -06:00
Matthias 6ca6f62509 Remove duplicate code in optimize_reports 2021-11-27 09:39:10 +01:00
Matthias bc52b3db56 Properly handle None values via API 2021-11-27 09:26:14 +01:00
Matthias 80ed5283b2 Add forcesell market/limit distinction 2021-11-27 09:10:18 +01:00
Matthias 450293878f
Merge pull request #5964 from stash86/fix-docs
Add more words on VolumePairlist backtest error message
2021-11-26 07:48:24 +01:00
Matthias 897788de17 Reformulate exception to be "nicer" 2021-11-26 07:02:50 +01:00
Matthias cc9ea1d466
Merge pull request #5935 from freqtrade/short_buy_tag_compat
Short buy tag compat
2021-11-26 06:29:56 +01:00
Stefano Ariestasia 5307d2bf3b Trimming the sentence 2021-11-25 17:04:04 +09:00
Stefano Ariestasia 0d1e84cf55 Add more words
Because apparently, we get at least 1 question about this everyday in Discord
2021-11-25 16:00:10 +09:00
Matthias 338fe333a9 Allow forcebuy to specify order_type 2021-11-24 20:20:58 +01:00
Matthias 51e54a666c Merge branch 'feat/short' into pr/samgermain/5780 2021-11-23 19:01:07 +01:00
Matthias db16098981 Fix Tests 2021-11-23 17:43:37 +01:00
Sam Germain 586ca3b2fa removed is_market_future from binance and ftx 2021-11-23 11:09:31 +01:00
Sam Germain 70751b942c market_is_future fix 2021-11-23 01:50:23 -06:00
Matthias ce0593c0e1 Merge branch 'develop' into feat/short 2021-11-23 07:35:26 +01:00
Matthias b8cefd687e Add api_version to botresponse 2021-11-23 07:08:55 +01:00
Rokas Kupstys 78a00f2518 Use market data to get base and quote currencies in @informative() decorator. 2021-11-22 09:27:45 +02:00
Matthias 64e34f382e Sell-fill should include open-rate 2021-11-22 07:13:22 +01:00
Sam Germain 920151934a Added candle_type to a lot of methods, wrote some tests 2021-11-21 17:48:14 -06:00
Sam Germain e2f98a8dab replaced candle_type: Optional[str] = '' with candle_type: str = '' 2021-11-21 17:48:14 -06:00
Sam Germain 64a6abc541 Added candle type to ohlcv_get_available_data 2021-11-21 17:48:14 -06:00
Sam Germain b4029533ec removed candle type from idatahandler.py 2021-11-21 17:48:14 -06:00
Sam Germain 843ca22a56 mark price test ohlcv_get_pairs 2021-11-21 17:48:14 -06:00
Sam Germain 12060a2d2c fixed error with fetch_ohlcv candndle_type 2021-11-21 17:48:14 -06:00
Sam Germain a657707ca3 Added timedelta to exchange 2021-11-21 17:48:14 -06:00
Sam Germain 3d95533bf9 Removed candletype from converter methods 2021-11-21 17:48:14 -06:00
Sam Germain ee2ad8ca97 updated historic data filenames to include the candle type 2021-11-21 17:48:14 -06:00
Sam Germain c8162479d6 Added price as param to fetch_ohlcv 2021-11-21 17:48:14 -06:00
Matthias c26c0b6822 Merge branch 'feat/short' into short_buy_tag_compat 2021-11-21 19:31:59 +01:00
Matthias aad37bb8f3
Merge pull request #5924 from freqtrade/feat/leverage
call leverage methods
2021-11-21 19:30:27 +01:00
Matthias 63d94aa585 short should be allowed for all non-spot modes 2021-11-21 19:29:08 +01:00
Matthias fb519a5b39 Add comment with reasoning to ignore leverage in min_amount calculation 2021-11-21 10:28:40 +01:00
Matthias 192ac88314 Update optimize-reports to enter_tag wording 2021-11-21 10:20:09 +01:00
Matthias 2a84526f04 Remove more buy_tag references 2021-11-21 10:05:56 +01:00
Matthias 36deced00b Remove more buy_tag references 2021-11-21 09:55:10 +01:00
Matthias 7d77aff289 Add some compatibility around buy_tag 2021-11-21 09:24:20 +01:00
Matthias 97ff7d1223 Merge branch 'develop' into feat/short 2021-11-21 09:13:53 +01:00
Matthias 7a8978abbb Make ohlcv data endpoint work correctly with new interface 2021-11-20 20:09:37 +01:00
Dardon d4fd13bf50 Telegram and log prints strategy version. 2021-11-20 16:26:07 +00:00
Matthias f8f7d81fc2 Update strategy template to use parameters 2021-11-20 11:39:21 +01:00
Sam Germain 54ef52692f Trade.has_no_leverage makes more sense 2021-11-20 01:06:10 -06:00
Matthias 9aed76ba17 Integrate leverage() to freqtradebot 2021-11-19 19:23:48 +01:00
Matthias 6247608cc6 top/bottom cap leverage 2021-11-19 07:11:19 +01:00
Matthias 021d1b518c Call "leverage" to determine leverage to be used. 2021-11-18 20:55:45 +01:00
Matthias 5a8824171c Add short/long metrics to backtest result 2021-11-18 20:42:43 +01:00
Matthias 0a50017c84 Add long/short support to backtesting 2021-11-18 20:34:59 +01:00
Matthias f40221dd9f Merge branch 'develop' into feat/short 2021-11-18 20:20:01 +01:00
Matthias 8638e6fe47 Simplify tradingmode parsing 2021-11-18 19:58:44 +01:00
Matthias 4f0a73010a
Merge pull request #5890 from aezomz/todo-rpc
Todo-lev RPC tests and model
2021-11-17 06:58:07 +01:00
aezo.teo c17c1611bd removed short_trades, updated schema, tests 2021-11-16 14:03:33 +08:00
Matthias 75eccea88d Improve futures detection, add ccxt-compat test 2021-11-15 19:57:36 +01:00
Matthias 4e9b83e170 Merge branch 'feat/short' into futures_pairlist 2021-11-15 19:12:36 +01:00
Sam Germain f101419a47 Merge branch 'feat/short' into todo-rpc 2021-11-14 20:48:55 -06:00
Matthias 1b058d882d Simplify date rounding logic 2021-11-14 19:55:56 +01:00
aezo.teo a08572e907 Merge remote-tracking branch 'upstream/feat/short' into todo-rpc 2021-11-14 21:21:59 +08:00
aezo.teo 92997c85f9 adding sides for rate and 1 more test case 2021-11-14 17:37:31 +08:00
Matthias 4d1d8de9b7 Split /stats messages
closes #5869
2021-11-14 10:20:04 +01:00
Sam Germain e7fad04eb9 Merge branch 'feat/short' into funding-fee-dry-run 2021-11-14 03:15:22 -06:00
Matthias c70fdea886
Merge pull request #5847 from stash86/kucoin-api
Hardcoded temp fix for Kucoin API issue
2021-11-14 10:11:02 +01:00
aezo.teo 8df334515f added logic for is_short and tests 2021-11-14 16:52:38 +08:00
Matthias 8cfc531b32
Merge pull request #5887 from samgermain/common-ccxt-config
Common ccxt config
2021-11-14 09:52:06 +01:00
aezo.teo 30fbe0c79c added is_short and short_trades to schema 2021-11-14 16:51:03 +08:00
Matthias 5b9cbaf277 Use Close value for trade signal calculation 2021-11-14 09:50:04 +01:00