Commit Graph

4951 Commits

Author SHA1 Message Date
Matthias b38f9ed5e7 Increase cache for rate limit to avoid delays
Helps when calling /status or /status table frequently on slowish
exchanges
2020-05-03 20:44:18 +02:00
Matthias 2a4c9bf3d3 Improve logmessage when falling back to wallet amount 2020-05-03 20:32:45 +02:00
Florian Merz 889a153731 fix PEP8 2020-05-03 17:29:56 +02:00
Florian Merz 690bb7646a hyperopt csv export - add params 2020-05-03 17:00:12 +02:00
Matthias 1c9c72937e Adjust trade-ids param 2020-05-03 15:32:09 +02:00
Matthias 58168336e1 Add test for apply_fee_conditional 2020-05-03 11:13:59 +02:00
Matthias 38c4949360 Align applying of fee when comming from orders or trades 2020-05-03 10:50:59 +02:00
Matthias 1066a4504b Add test for show_trades 2020-05-02 11:44:18 +02:00
Matthias 56bb5f7a11 Add show-trades command 2020-05-02 11:26:12 +02:00
Matthias 78b3d8487f Add typehint 2020-05-01 20:34:58 +02:00
Matthias 021e2b58ca Support partially cancelled orders for fee calculation 2020-05-01 20:24:26 +02:00
Matthias 737fc6d198 Fix bug when querying side 2020-05-01 20:05:13 +02:00
Matthias 71c90422ba Add explicit test for fee_updated 2020-05-01 20:02:38 +02:00
Matthias 6d620ba1f6 Verify if fee for this side has been updated 2020-05-01 19:54:16 +02:00
Matthias 6b33d5af1e Fix fee-calculation for dry-run orders 2020-05-01 19:51:35 +02:00
jpribyl bd51cd332b Cancel all open orders after receiving /stop or ctrl+c 2020-05-01 10:36:11 -06:00
Matthias 509f38d3aa Use non-deprectated parameter for progressbar 2020-05-01 17:59:24 +02:00
Matthias 40d4949f06 Don't handle trades if they've just been closed. 2020-05-01 17:46:01 +02:00
Matthias 7558e4bffe Split fee detection from trades from general logic 2020-05-01 16:13:07 +02:00
Matthias 371100a97c Update fee handling 2020-05-01 16:01:33 +02:00
Matthias a2ff632647 Add update_fee method to persistence 2020-05-01 16:01:12 +02:00
Matthias db8fb39a38 don't use trade.update directly! 2020-05-01 15:50:02 +02:00
Matthias 59bafc8d02 Implement fee rate calculation 2020-05-01 15:50:02 +02:00
Matthias 45c97fde2d Use correct typehint for extract_cost_curr_rate 2020-05-01 15:50:02 +02:00
hroff-1902 63b55658ac Add ticker to dataprovider 2020-05-01 05:11:30 +03:00
Matthias e74ed0ba7b Add tests for fee extraction methods 2020-04-30 20:05:27 +02:00
Matthias 2e4dc6c253 Exchange should return fee dict for dry-run orders 2020-04-30 19:56:48 +02:00
Matthias a867d40eac Move fee_methods to exchange 2020-04-30 19:33:27 +02:00
Matthias d3b9f4d393 Add extract_cost_curr_rate 2020-04-30 19:28:36 +02:00
Matthias 6d7a3a0cc9 Extract more logic into order-has_fee 2020-04-30 07:12:08 +02:00
Matthias b125dd3728 Extract order_has_fee method 2020-04-30 07:06:06 +02:00
Matthias dec1b10743 Add fee_cost and currency columns 2020-04-30 06:57:39 +02:00
hroff-1902 726e52aaa7 Use skopt model_queue_size instead of custom hack 2020-04-29 10:49:25 +03:00
hroff-1902 c6787d7e9f Do not use 'trials' in commands 2020-04-28 23:14:02 +03:00
hroff-1902 c26835048c Hyperopt cleanup, do not use 'trials' 2020-04-28 22:56:19 +03:00
hroff-1902 a01ed170f5 Improve hyperopt-list logging 2020-04-28 17:33:07 +03:00
hroff-1902 fedcf1db52
Merge pull request #3217 from freqtrade/remove_deprecation
Remove deprecated pairlist and binary
2020-04-27 19:41:54 +03:00
hroff-1902 9ebc997e9d
Merge pull request #3215 from freqtrade/backtest_use_pairlists
Backtest use pairlists
2020-04-27 13:34:06 +03:00
Matthias fb8a85da01 Disallow VolumePairList from backtesting for now 2020-04-27 07:56:17 +02:00
hroff-1902 485e324d36
Merge pull request #2872 from freqtrade/interface_ordertimeoutcallback
Buy order timeout callback
2020-04-25 19:02:15 +03:00
Matthias 9fa21628d7 Deprecate keys other than quoteVolume
fixes #2981
2020-04-25 16:29:17 +02:00
Matthias d1a24db6b7 Remove deprecated pairlist and binary 2020-04-25 16:04:10 +02:00
Matthias e8530c36d3 Remove pairlists from hyperopt too (it holds a reference to exchange) 2020-04-25 15:46:20 +02:00
Matthias 8987859044 Enable pairlist parsing for backtesting and hyperopt 2020-04-25 15:37:13 +02:00
hroff-1902 d9f255a6c0 Fix asterisk printing for csv output 2020-04-25 12:49:14 +03:00
hroff-1902 2d994f6feb Better printing of asterisk 2020-04-24 21:57:29 +03:00
hroff-1902 6e5f0869b3 Remove another unused method 2020-04-24 18:39:08 +03:00
hroff-1902 5c012d79eb Remove unused method 2020-04-24 18:14:07 +03:00
Matthias 9627604ec3 change wording of log message 2020-04-24 07:58:18 +02:00
Matthias f4995780e5 Verify last is not None - to avoid crashing
fix #3117
2020-04-23 20:04:36 +02:00
Matthias 87f1060abc Default docker to log into log-dir 2020-04-21 19:47:49 +02:00
Matthias 431b244f43 Merge branch 'develop' into interface_ordertimeoutcallback 2020-04-19 06:58:44 +02:00
hroff-1902 4bbade245c
Merge pull request #3181 from freqtrade/fix/cancel_problems
Fix several cancel order problems
2020-04-18 11:16:59 +03:00
hroff-1902 def8635b6d
Merge pull request #3184 from freqtrade/fix/hyperopt_randfailure
Fix random test failure in hyperopt
2020-04-18 09:49:09 +03:00
Matthias c775d65126 Update typehint for cancel_order 2020-04-18 06:55:25 +02:00
Matthias 0273539f06 Remove exceptionhandler, this exception is handled in
cancel_with_response
2020-04-17 19:55:53 +02:00
Matthias 1069cb3616 Use cancel_order_with_result when cancelling orders after timeout 2020-04-17 17:53:56 +02:00
Matthias 5e3e0e819f Add tests for cancel_order_with_result 2020-04-17 17:53:18 +02:00
Matthias 800891a475 Add tests for cancel_order_with_result 2020-04-17 07:18:46 +02:00
Matthias fc684b0091 Ensure deleting filled is not raising an error if filled does not exist 2020-04-17 06:59:52 +02:00
Matthias 7aba9bc62a
Update freqtrade/data/converter.py
Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-04-17 06:22:25 +02:00
hroff-1902 68be239a0e
Merge pull request #3146 from freqtrade/buy_order_timeout_logging
Improve handling for buy order cancels
2020-04-16 23:41:45 +03:00
Matthias 1f70fcfa2d Update logmessage 2020-04-16 20:19:34 +02:00
hroff-1902 9364a9c4c4
Merge pull request #3168 from freqtrade/fix_pairlist_caching
Fix pairlist caching
2020-04-16 18:39:00 +03:00
hroff-1902 df79011aba
Merge pull request #3112 from freqtrade/trade_state_updates
Trade state updates
2020-04-16 12:05:19 +03:00
Matthias d36e2cf6ab Fix random test failure in hyperopt 2020-04-16 07:06:47 +02:00
hroff-1902 b07d61f3d9
Merge pull request #3169 from freqtrade/fix_pricefilter
Fix pricefilter
2020-04-15 20:53:59 +03:00
hroff-1902 8b6a7e685e
Merge pull request #3133 from freqtrade/backtesting_filenameexpanding
[minor] Fix filename handling with --strategy-list
2020-04-15 12:02:19 +03:00
Matthias 99f3e9ed77 Remove wrong comment 2020-04-15 07:55:15 +02:00
Matthias 33b6c7de5b Add tests for price_one_pip 2020-04-15 07:53:31 +02:00
Matthias 36e714a7b2 Add price_get_one_pip filter 2020-04-15 07:19:27 +02:00
Matthias 2b7376f6f3 Implement log-filtering for all pairlists 2020-04-14 20:45:30 +02:00
Matthias ceca0a659c Simplify cached stuff to only what's needed 2020-04-14 20:25:58 +02:00
Matthias 13ee7a55c4 Fix #3166
Always call _gen_pair_whitelist if volumepairlist is not the first in
the list.
2020-04-14 20:21:30 +02:00
Matthias 5d876ca0a3 Use log-spamprevention methods 2020-04-14 20:21:10 +02:00
Matthias 7c15375f5d Add log_on_refresh - using TTL caching to avoid spamming logs 2020-04-14 20:20:36 +02:00
Matthias cfe1e4876a Improve testcase for cancel_order_empty 2020-04-14 19:20:47 +02:00
Matthias c8ccdbcb9a
Merge pull request #3150 from freqtrade/version_docker
[minor] have version-detection fall back to freqtrade_commit
2020-04-14 15:53:05 +02:00
hroff-1902 f2b1802666
Merge pull request #3137 from freqtrade/fix_maxdrawdown
[minor] Fix maxdrawdown
2020-04-14 16:03:25 +03:00
Matthias 55a052bcf6
fix typo in comment
Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-04-14 08:05:46 +02:00
Matthias ddf37ef059 Add test to demonstrate that the dataframe is not changed 2020-04-14 08:02:42 +02:00
hroff-1902 4d80f52db4
Merge pull request #3134 from freqtrade/backtesting_memory
Backtesting memory and dataframe
2020-04-13 23:08:45 +03:00
Matthias 4ee0cbb575 Reset index to correctly gather index 2020-04-12 10:40:02 +02:00
Matthias 952d2f7513 have version-detection fall back to freqtrade_commit
this allows freqtrade --version to work in docker too.

sample command:
`docker-compose run --rm freqtrade -version`
2020-04-12 09:55:21 +02:00
Matthias 18a6c98a82
Merge pull request #3054 from Fredrik81/progress-bar
Hyperopt: Progressbar during hyperopt
2020-04-12 09:32:52 +02:00
Fredrik81 2c1c1c7f16
Update freqtrade/optimize/hyperopt.py
nice find

Co-Authored-By: Matthias <xmatthias@outlook.com>
2020-04-11 17:42:32 +02:00
Fredrik81 d9e54ab7a4
Update freqtrade/optimize/hyperopt.py
nice find

Co-Authored-By: Matthias <xmatthias@outlook.com>
2020-04-11 17:42:19 +02:00
Matthias f39706cabd Fix #3130 - when corder['remaining'] contains none-type 2020-04-09 19:35:27 +02:00
Matthias cbf5bf6735 Add safe_value_fallback function 2020-04-09 19:34:48 +02:00
Fredrik81 4707484a4c Fix issue with colring enabled + styling 2020-04-09 11:42:13 +02:00
Matthias 5cff72a42e Improve logging to ensure which branch is used for buy order cancels 2020-04-09 09:22:38 +02:00
Matthias 68a5e0c51b
Merge pull request #3138 from orkblutt/develop
trades history RPC
2020-04-08 08:23:13 +02:00
Matthias 02192f28cd Small stylistic updates 2020-04-08 07:56:21 +02:00
Fredrik81 cdc774549e Merge branch 'develop' into progress-bar 2020-04-08 01:56:43 +02:00
Fredrik81 132f5f73f5
Update hyperopt.py 2020-04-07 10:44:18 +02:00
Fredrik81 c95906cfcf
Update hyperopt.py 2020-04-07 10:42:15 +02:00
Matthias 9387585756
Merge pull request #3127 from orehunt/max_drawdown_fix_db_plot
use equality instead of index for row lookups
2020-04-06 20:10:23 +02:00
Ork Blutt 200111fef6 fix method return value 2020-04-06 16:07:43 +02:00
orehunt 20abb379aa trim trades to the available ohlcv data before plotting profits 2020-04-06 15:54:17 +02:00
Fredrik81 d5609d4997 Changed back to progressbar2 for better handling of logger.
Coloring still needs some work (bug + what colors to use)
2020-04-06 13:12:32 +02:00
Ork Blutt 6256025c73 various adjustement from PR discussion 2020-04-06 11:00:31 +02:00
Ork Blutt 8555c5b211 fix return value 2020-04-05 17:03:51 +02:00
Ork Blutt 15c45b984d removing whitespace 2020-04-05 16:47:46 +02:00
Ork Blutt 0a14d5ec46 trades history RPC 2020-04-05 16:14:02 +02:00
Matthias 41d5c40f10 Correctly test drawdown plot 2020-04-05 14:44:44 +02:00
Matthias 4e907e2304 Use timeframe_to_prev_date to move trade-date to candle 2020-04-05 14:35:53 +02:00
Matthias e204170eb6 Fix max_drawdown bug finding low before high! 2020-04-05 14:29:40 +02:00
Matthias c465552df4 Update comment to mention .copy() usage 2020-04-02 20:17:54 +02:00
Matthias de47186263 Use .loc for assignments 2020-04-02 19:31:48 +02:00
Matthias 3fcd531eac Copy dataframe in interfac.py (reduces memory consumption) 2020-04-02 19:30:59 +02:00
Matthias cf6e6488c7 Fix filename handling with --strategy-list 2020-04-02 17:29:18 +02:00
Matthias 9d7ad23d42 Fix test leakage 2020-04-02 08:20:50 +02:00
Matthias eab6c9c5f2 Fix message 2020-04-01 20:50:00 +02:00
Matthias 0d51383b57 Format logmessages correctly 2020-04-01 20:31:21 +02:00
Matthias ba03d96961 Test 5s offset on since 2020-04-01 20:04:36 +02:00
Matthias ff9caf790b remove trade duplicates in datahandler 2020-04-01 19:45:46 +02:00
Matthias 0506caf986 Implement trades_remove_dulicates 2020-04-01 19:45:38 +02:00
Matthias bac0eaab03 fix convert to ohlcv 2020-04-01 19:45:35 +02:00
Matthias d76bb1ccf4 Use List of Lists instead of list of Dicts for trades data 2020-04-01 19:45:21 +02:00
Matthias 1659ddcc5d Add conversion function from fetch_trades to list 2020-04-01 19:45:21 +02:00
Matthias 8bfbbac748 Add default trades columns 2020-04-01 19:45:00 +02:00
hroff-1902 2915917680
Merge pull request #3107 from orehunt/check_dataframe_after_signals
check that the strategy dataframe matches the one given by the bot
2020-03-31 20:08:03 +03:00
orehunt 45fb4d25ab use equality instead of index for row lookups 2020-03-31 18:47:53 +02:00
Matthias 54d20cb81c Plot percent correctly 2020-03-30 20:08:07 +02:00
Matthias cd2e738e35 Add test for assert error 2020-03-29 11:40:13 +02:00
orehunt 3ef568029f different exception messages 2020-03-26 07:05:30 +01:00
Matthias 95011919d3 Remove questionable handling of orders 2020-03-25 11:18:33 +01:00
Matthias 3c1b155e9f Remove filled if amount is modified to suit fee structure 2020-03-25 09:43:04 +01:00
Matthias f04f606b70 Updateing order amount should use filled - not amount if possible 2020-03-25 09:43:04 +01:00
Matthias f3103be15c Fix test 2020-03-25 09:43:04 +01:00
Matthias 700cedc573 Unify handling of open orders to update_trade_state 2020-03-25 09:43:04 +01:00
Matthias 7c47c6e3bd check for timeouts before exiting positions 2020-03-25 09:43:04 +01:00
Matthias 270ac2e8c1 Add check_order_cancelled_empty method to exchange 2020-03-25 09:43:04 +01:00
Matthias 9c351007f5 Provide reason for cancelled sell order 2020-03-25 09:43:04 +01:00
Matthias 1817e6fbdf Combine real_amount updating into one method 2020-03-25 09:43:04 +01:00
hroff-1902 be5b68627c
Merge pull request #3093 from freqtrade/trades_abs_profit
Add close_profit_abs column
2020-03-25 11:13:56 +03:00
orehunt 0f53e646fd check that the strategy dataframe matches the one given by the bot 2020-03-24 14:08:34 +01:00
Matthias d581b7e2d7 Add fallback if no error could be determined 2020-03-23 07:57:30 +01:00
Matthias 8f7e113d79 Add additional test 2020-03-23 07:54:27 +01:00
Matthias 45aaa8c09d Parse and show relevant configuration section 2020-03-22 20:09:01 +01:00
Matthias f14c496ce9 Remove calc_close_profit from RPC
This is now possible - but only for closed trades, so certain occurances
need to remain.
2020-03-22 11:28:18 +01:00
Matthias 2c434e9b11 Add close_proit_abs column 2020-03-22 11:16:23 +01:00
hroff-1902 fb4e9b3938
Merge pull request #3025 from yazeed/minor_create_trade_optimization
minor create_trade() optimization
2020-03-21 10:36:39 +03:00
Matthias f320c0a410
Merge pull request #3087 from hroff-1902/edge-cosmetics-1
minor: Edge cosmetics
2020-03-20 08:12:21 +01:00
Yazeed Al Oyoun 942792f123 updated as suggested 2020-03-20 05:48:53 +01:00
hroff-1902 5f9479b39f Edge import cosmetics 2020-03-20 02:10:44 +03:00
Matthias 5e702f6891 Verify cancel_order returnvalue is a dictionary 2020-03-19 19:44:14 +01:00
Matthias ac6eef6922
Merge pull request #3062 from Fredrik81/plot-trades
Plotting: Fix if no file exists and new skip option
2020-03-18 20:00:50 +01:00
Matthias 3e1bef888a Fix flake8 error 2020-03-18 19:40:13 +01:00
Fredrik81 0920d6fce4
Update freqtrade/data/btanalysis.py
Co-Authored-By: Matthias <xmatthias@outlook.com>
2020-03-18 11:01:09 +01:00
Fredrik81 06198c0028 Missed configuration.py 2020-03-15 21:27:45 +01:00
Fredrik81 8c33e07dc6 Update based on comments 2020-03-15 21:20:32 +01:00
Matthias 3d4664c2a6 Remove unnecessary import 2020-03-15 15:40:12 +01:00
Matthias e1b08ad76c Add docstring to store_backtest_result 2020-03-15 15:38:26 +01:00
Matthias e95665ceca Make backtestresult storing independent from printing 2020-03-15 15:36:23 +01:00
Matthias a13d581658 Move backtest-result visualization out of backtesting class 2020-03-15 15:17:53 +01:00
Matthias 6106d59e1a Move store_backtest_results to optimize_reports 2020-03-15 15:17:35 +01:00
Matthias 328dbd3930 Remove unnecessary parameter to generate_text_table_sell_reason 2020-03-15 15:04:48 +01:00
Matthias a1bbeaa668 Merge branch 'develop' into interface_ordertimeoutcallback 2020-03-15 14:56:14 +01:00
hroff-1902 57ff3ff450
Merge branch 'develop' into plot-trades 2020-03-15 13:31:00 +03:00
Matthias 0f1640bed4 convert exportfilename to Path when config parsing 2020-03-15 09:39:45 +01:00
Fredrik81 cf7e80f45d Docs and logging 2020-03-14 23:55:13 +01:00
Fredrik81 27faf12fde Fix if no file exists 2020-03-14 22:15:03 +01:00
Matthias c56cbc21b1 Remove indexing warning in edge 2020-03-14 10:42:01 +01:00
hroff-1902 59fadabb5b Fix merging 2020-03-13 20:26:14 +03:00
hroff-1902 51f52c8609
Merge branch 'develop' into no-ticker-2 2020-03-13 16:43:52 +03:00
hroff-1902 a7ed51c642 return back the name of the hyperopt data file 2020-03-13 04:04:23 +03:00
hroff-1902 ddfe5b5f1c dataframe -> df_analyzed in plotting 2020-03-13 04:00:24 +03:00
hroff-1902 b2952cd42a remove redundant dict 2020-03-13 03:58:16 +03:00
hroff-1902 ebb0187f40 dataframe -> df_analyzed in backtesting and edge 2020-03-13 03:54:56 +03:00
hroff-1902 c6bb32d419
Merge pull request #3045 from orehunt/jsondatahandler-ohlc-respect-timerange
check again for emptiness after trimming dataframe
2020-03-12 22:46:31 +03:00
Matthias 6f67b8d9b9 iCheck after clean_dataframe, too 2020-03-12 19:50:46 +01:00
Fredrik81 5737139979 Small fix 2020-03-12 16:47:09 +01:00
Fredrik81 1a59fc11be doh 2020-03-12 02:36:18 +01:00
Fredrik81 df1ae565dc clean-up 2020-03-12 02:26:41 +01:00
Fredrik81 9387ed923c fix for empty lines 2020-03-12 02:07:50 +01:00
Fredrik81 40a413c524 More remove of progressbar2 2020-03-11 22:50:23 +01:00
Fredrik81 81cbb92556 Switch to TQDM 2020-03-11 22:30:36 +01:00
Matthias 129a88d5da Extract emptyness check to it's own method 2020-03-11 19:53:28 +01:00
Fredrik81 3a8b68c0fd Initial work on progressbar 2020-03-10 20:30:36 +01:00
Matthias 2b1c146940 Add default volume > 0 filter 2020-03-10 16:05:33 +01:00
Matthias 84f0bb9a5d
Merge pull request #3051 from hroff-1902/fix-sortino
Adjust handling of zero stdev in loss functions
2020-03-10 13:10:39 +01:00
Matthias 14e7f0bb13
Merge pull request #3049 from hroff-1902/hyperopt-no-unlimited
Do not allow unlimited stake_amount for hyperopt
2020-03-10 11:46:22 +01:00
hroff-1902 73c19da4b9 Adjust handling of zero stdev in loss functions 2020-03-10 13:44:16 +03:00
hroff-1902 f7ad6c20c7 Do not allow unlimited stake_amount for hyperopt 2020-03-10 12:41:23 +03:00
hroff-1902 c49fefc94d
Merge pull request #3044 from freqtrade/default_max_order_book
order_book_max - change example setting
2020-03-10 11:17:27 +03:00
hroff-1902 52d89eadde
Merge pull request #3021 from Fredrik81/print-csv
Hyperopt: Add export CSV-file option
2020-03-10 10:46:58 +03:00
hroff-1902 f148b5f734
cosmetics in lambdas 2020-03-10 10:38:37 +03:00
hroff-1902 19a9782a40
Merge pull request #3040 from freqtrade/pairlist_message
reduce Pairlist message warning level
2020-03-10 10:26:19 +03:00
Fredrik81 bd158eefd2 Fixed loggin 2020-03-10 03:02:52 +01:00
Fredrik81 2f5fc731bb Removed overwrite option 2020-03-09 18:53:30 +01:00
orehunt 3eaae4661d check again for emptiness after trimming dataframe 2020-03-09 17:51:21 +01:00
Matthias 5da63d399b Reduce default order_book_max to 1 2020-03-09 17:38:25 +01:00
Matthias 856ba203d9 Update hyperopt samples docstring 2020-03-09 15:46:46 +01:00
Matthias c049651784 whitelist_for_active_markets should not remove blacklisted items 2020-03-09 11:30:28 +01:00
Matthias 5cbf325fda Allow different loglevels for message 2020-03-09 11:30:13 +01:00
Fredrik81 cb419614cd Spelling miss 2020-03-08 23:00:21 +01:00
Fredrik81 4ad93ed6bb Changed output for null columns 2020-03-08 22:41:05 +01:00
hroff-1902 3208faf7ed Do not use ticker where it's not a ticker 2020-03-08 20:47:02 +03:00
Matthias 281cf577d1 Remove unsupported FIAT 2020-03-07 17:03:31 +01:00
Matthias 1b3038390a Update comment 2020-03-07 13:05:46 +01:00
Matthias df5adb6ca5 Exchange coingekko for coinmarketcap 2020-03-07 11:53:08 +01:00
Matthias 847df7b70c
Merge pull request #3026 from yazeed/add_default_to_ignore_roi_if_buy_signal
default for ignore_roi_if_buy_signal in freqtradebot.py
2020-03-06 19:35:41 +01:00
Yazeed Al Oyoun b8d05d8751 found instance of config get without default 2020-03-05 22:14:05 +01:00
Yazeed Al Oyoun 0587256733 minor create_trade() optimization 2020-03-05 21:57:01 +01:00
Yazeed Al Oyoun 4474482307 unifying get_sell_rate with get_buy_rate 2020-03-05 20:44:29 +01:00
Fredrik81 91db75a707 Added tests and updated doc 2020-03-05 19:43:43 +01:00
hroff-1902 34093d1208
Merge branch 'develop' into no-percent-1 2020-03-05 14:27:12 +03:00
Fredrik81 7606d814fa Initial work on csv-file export. Missing docs and tests 2020-03-05 01:58:33 +01:00
hroff-1902 57523d58df
Merge pull request #2994 from Fredrik81/hyperopt-table
Added dynamic print table function to hyperopt
2020-03-04 23:44:53 +03:00
Fredrik81 090d1e8a70 Alignment and cleanups 2020-03-04 20:51:09 +01:00
hroff-1902 33c1c8f726
Merge pull request #3018 from freqtrade/max_drawdown
Max drawdown in plot-profit
2020-03-04 20:42:57 +03:00
hroff-1902 dea4ef957e
Merge pull request #2982 from freqtrade/rate_side_optional
Rate side configurable
2020-03-04 16:07:08 +03:00
Fredrik81 7652a2bb95 Updated table layout and aligning better for hyperopt 2020-03-04 00:10:47 +01:00
Matthias 9d8970a76b Add test and formatting to drawdown 2020-03-03 20:23:44 +01:00
Matthias 53dcb5d5ed Fix logging expression 2020-03-03 19:36:03 +01:00
Matthias 33a63562cb make drawdown function less restrictive 2020-03-03 07:23:38 +01:00
Matthias 88e7cab5b9 Add max_drawdown to profit plot 2020-03-03 07:21:14 +01:00
Matthias e050511ddc Add test for max_drawdown calculation 2020-03-03 07:20:41 +01:00
Matthias 3479f7d986 Add max_drawdown function 2020-03-03 07:15:03 +01:00
Fredrik81 399c419163 Changed table formating. Adding some code to align hyperopt table generation. WIP 2020-03-03 01:14:56 +01:00
hroff-1902 82bdd01843
Merge pull request #3003 from Fredrik81/cores-and-arguments
Hyperopt: fix number of CPU cores, jobs and total epochs
2020-03-03 02:12:21 +03:00
hroff-1902 52cd5f9127
Better use enumerate: more correct and more pythonic 2020-03-03 01:42:25 +03:00
hroff-1902 45c9496792
Do not run optimizer for 'jobs' epochs for the last iteration 2020-03-03 01:33:11 +03:00
hroff-1902 a7d4755859
optimize calculation of current_jobs 2020-03-03 01:20:14 +03:00
hroff-1902 92425642da
Fix config_jobs 2020-03-03 01:00:24 +03:00
Fredrik81 0e4862b0c8 Added logging if argument is miss-configured 2020-03-02 22:58:54 +01:00
Fredrik81 7713cfeb79 Corrected logic for -j + and - argument 2020-03-02 21:02:32 +01:00
Matthias 6e2290c4f0 Allow last to be empty -
closes #3005
2020-03-02 20:05:54 +01:00
Yazeed Al Oyoun 77b7f95efb simple code styling fixes 2020-03-02 00:14:01 +01:00
hroff-1902 8475baba4e
Merge pull request #2995 from freqtrade/stake_curr_empty
Allow Stake currency empty when using download-data
2020-03-02 00:53:09 +03:00
hroff-1902 e20b06408c
Merge pull request #3000 from freqtrade/fix/jupyter_example
[minor] Fix jupyter notebook example
2020-03-02 00:49:21 +03:00
Fredrik81 f08c7eedf1 Changed jobs to be dynamic for last loop 2020-03-01 14:35:13 +01:00
Fredrik81 75b4f1a442 Fix alignment of higher values 2020-03-01 14:12:27 +01:00
Matthias 4d8430c687 Use string typehints to avoid import errors 2020-03-01 09:43:20 +01:00
Matthias cd54875f03 Add documentation link to advanced functions 2020-03-01 09:40:07 +01:00
Matthias 791148176c Add callback functions to new-strategy --template advanced 2020-03-01 09:35:53 +01:00
Matthias eda77aeec8 Add render_template fallback 2020-03-01 09:30:30 +01:00
Fredrik81 e89fd33229 Fix for more arguments 2020-02-29 23:57:15 +01:00
Fredrik81 7a4edb1cd8 Fix: When total epochs is less than cpu cores 2020-02-29 23:41:59 +01:00
Fredrik81 23ae0653bd Changed table output to match hyperopt-list command 2020-02-29 23:24:08 +01:00
Matthias 60f04cff4d Simplify expression 2020-02-29 20:41:03 +01:00
Matthias d7373be553 Add official support for Kraken 2020-02-29 16:58:22 +01:00
Matthias 848054d140 Fix jupyter notebook example -
generate_candlestick_graph() needs a filtered pairlist, not a list
containing all pairs
2020-02-29 15:53:54 +01:00
Matthias 60579485e5 fix empty stake currency problem 2020-02-29 14:56:36 +01:00
hroff-1902 0528af1700
Merge pull request #2879 from freqtrade/sortino_hyperopt_loss
Sortino hyperopt loss
2020-02-29 11:36:27 +03:00
Fredrik81 349aa2f957 Added dynamic print table function to hyperopt 2020-02-28 21:54:04 +01:00
hroff-1902 bee8e92f02
Final changes, use sqrt i.o. statistics.pstdev 2020-02-28 23:50:25 +03:00
hroff-1902 e411717de9 No percent where ratio is to be used 2020-02-28 12:36:39 +03:00
Matthias ac7fa8252b
Merge pull request #2985 from Fredrik81/pretty-backtesting
Changed table style of backtesting and alignment of headers
2020-02-28 06:20:34 +01:00
Matthias a55964a622 we Must parse --dry-run before setting run-mode 2020-02-27 19:36:54 +01:00
hroff-1902 c0001fcb8c
Merge pull request #2987 from Fredrik81/table-style
Minor change to standardize table style.
2020-02-27 18:30:14 +03:00
Fredrik81 15e59654d9 Minor change to standardize table style.
This PR will target commands.
2020-02-27 16:10:45 +01:00
Fredrik81 55d471190a Changed table style of backtesting and alignment of headers 2020-02-27 13:28:28 +01:00
Matthias e5ec97495d Logging should be initialized first 2020-02-27 07:01:00 +01:00
hroff-1902 893d9cde8d
Merge pull request #2943 from Fredrik81/add-print-table
Added function to print hyperopt-list as table using tabulate
2020-02-27 05:22:41 +03:00
Matthias b6839289ec Add price_side to sample config files 2020-02-26 20:03:13 +01:00
Matthias 0fea3a7ea7 Some final polish to configurable_side 2020-02-26 19:50:17 +01:00
Matthias 8edc3eb5fb Use generator to generate sell price scaffold testing 2020-02-26 19:39:12 +01:00
Matthias e4b2949188 Change buy_rate calculation to use price_side 2020-02-26 19:39:12 +01:00
Matthias 5f71232038 Refactor get_buy_rate to use rate variable 2020-02-26 19:39:12 +01:00
Matthias de48a697b0 Use price_side for get_sell_rate 2020-02-26 19:39:12 +01:00
Matthias f91d7beaa1 Fix constants wrong parenteses 2020-02-26 19:39:12 +01:00
hroff-1902 e6d003f8f2
Merge pull request #2973 from freqtrade/support_non_pairs
Support non pairs
2020-02-26 12:20:45 +03:00
Matthias f38accb77b Return empty string if no quote / base currency can be found 2020-02-26 07:09:54 +01:00
Matthias 4e218be51d Don't use markets[pair]['quote'] 2020-02-26 07:08:09 +01:00
Matthias 1021ffa1c3
Apply suggestions from code review
Add suggested changes to comments

Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-02-26 07:00:08 +01:00
hroff-1902 5a900858d8
Merge branch 'develop' into rate_caching 2020-02-26 04:04:20 +03:00
Matthias a030ce9348 Reformat if condition 2020-02-25 20:22:59 +01:00
Matthias d44f6651c4 Fix small parenteses bug 2020-02-25 19:55:23 +01:00
Matthias 31ac4598ba Fix last occurances of pair splitting 2020-02-25 07:16:37 +01:00
Matthias d34515a5de Remove constraint to have pairs in base/quote format 2020-02-25 07:04:20 +01:00
Matthias e8eaa8920e Use get_base_currency instead of splitting by / 2020-02-25 07:01:31 +01:00
Fredrik81 cd7efde6c0 Fixed coloring so it's only targeting the values not the table borders 2020-02-24 22:06:21 +01:00
Matthias 61037ab7b8 Implement get_pair_base_curr and get_pair_quote_curr 2020-02-24 21:50:27 +01:00
Matthias 3e4f663418 Move pairlist validation to exchange (we need to use .quote) from
markets
2020-02-24 21:33:42 +01:00
Matthias 6581ba56ca Use markets.quote to validate 2020-02-24 20:41:45 +01:00
Fredrik81 23bf135b8a Alignment of table content, changed coloring, changed 'Best' column to show if it's initial_point or best 2020-02-24 11:01:14 +01:00
Matthias 83959f0e56
Merge pull request #2959 from hroff-1902/throttling
Better throttling
2020-02-24 06:54:52 +01:00
Fredrik81 7eb62ed32e Remove old print option for hyperopt-list and made table as default 2020-02-24 00:33:01 +01:00
hroff-1902 e545ef563c
Wording adjusted in helpstring 2020-02-23 22:50:58 +03:00
Yazeed Al Oyoun 0eeafcd157 matched commenting on previous sample_strategy.py 2020-02-23 16:56:55 +01:00
Yazeed Al Oyoun f25d6224dd modified sample_strategy 2020-02-23 16:22:19 +01:00
Yazeed Al Oyoun e04c2dda2c fixed typo 2020-02-22 23:58:31 +01:00
Yazeed Al Oyoun 5ac6244465 added keltner channel and uo 2020-02-22 23:50:26 +01:00
Yazeed Al Oyoun 2957756275 final touches plus 2020-02-22 23:39:01 +01:00
Yazeed Al Oyoun b49b9b515e final touches 2020-02-22 23:37:15 +01:00
Yazeed Al Oyoun 259dc75a30 some order and added weighted BB indicator to list 2020-02-22 23:10:46 +01:00
hroff-1902 ca8e52dc2c Show heartbeat message earlier after changing the state 2020-02-23 00:21:19 +03:00
hroff-1902 e2e6b940a3 copy=False does not make the changes inline anyway, so not needed 2020-02-22 19:54:19 +03:00
hroff-1902 c651e0ac82 Fix #2948 2020-02-22 19:46:40 +03:00
Matthias 3186add87b Use explicit column list for float parsing 2020-02-22 14:46:54 +01:00
Matthias 7ecc56fa44 Load ohlcv data as float 2020-02-22 13:10:41 +01:00
Matthias 8cd77b2e27 Add some tests for strategy_wrapper 2020-02-22 11:55:40 +01:00
Matthias 365fdf4c37 Add docstring to strategy wrapper 2020-02-22 11:41:22 +01:00
Matthias 77ef3240cd Implement log messages 2020-02-22 11:20:19 +01:00
Matthias 97e6e5e976 Implement caching in the correct place 2020-02-22 11:12:33 +01:00
Matthias f5b4a6d3d7 Remove fetch_ticker caching 2020-02-22 11:10:05 +01:00
Matthias bf556c8678 Merge branch 'develop' into interface_ordertimeoutcallback 2020-02-21 20:35:07 +01:00
Matthias 6c01542fed Ad check_sell_timeout 2020-02-21 20:27:13 +01:00