Commit Graph

5014 Commits

Author SHA1 Message Date
Matthias
091693308a Correctly call show_backtest_results 2020-06-01 09:25:26 +02:00
Matthias
ceaf32d304 Extract backtesting report generation from show_backtest_Results 2020-06-01 09:24:05 +02:00
Matthias
f202e09b10 Extract conversion to trades list to it's own function 2020-06-01 08:57:31 +02:00
hroff-1902
123a556ec8 Better exchange logging 2020-05-31 13:05:58 +03:00
Matthias
dc7f0f1187 Add api-server to default config samples 2020-05-31 09:57:31 +02:00
Matthias
7ad1c7e817 Allow lower verbosity level for api server
Not logging all calls makes sense when running the UI
otherwise this is VERY verbose, clogging up the log.
2020-05-31 09:51:45 +02:00
hroff-1902
84c50bf16c
Merge pull request #3390 from freqtrade/rpc/profit
improve /profit to not raise an exception if no trade is closed
2020-05-30 22:06:22 +03:00
hroff-1902
96aab86e45
Merge pull request #3405 from freqtrade/remove_internals_ref
Disabledataframecheck is not in internals and does not belong there
2020-05-30 22:02:49 +03:00
hroff-1902
a162b911b6
Merge pull request #3398 from freqtrade/ccxt_config_combine
combine CCXT configurations ...
2020-05-30 21:49:44 +03:00
Matthias
cc90e7b413 Show "No trades yet." when no trade happened yet 2020-05-30 19:49:16 +02:00
Matthias
91f84f1a43 Fix typo in close trade message 2020-05-30 19:28:30 +02:00
Matthias
908449640a Disabledataframecheck is not in internals and does not belong there 2020-05-30 19:17:17 +02:00
hroff-1902
36c7089a03
Merge pull request #3394 from freqtrade/disable_dataframechecks
Allow changing severity of strategy-validations to log only.
2020-05-30 19:28:38 +03:00
Matthias
376c536dd1 Revert "Add disable_dataframe_checks to strategy templates"
This reverts commit a9c57e5147.
2020-05-30 16:23:33 +02:00
Matthias
a9c57e5147 Add disable_dataframe_checks to strategy templates 2020-05-30 11:47:09 +02:00
Matthias
97905f86be Add missing fields to to_json output of trade 2020-05-30 11:34:39 +02:00
Matthias
57e951dbce Add orderbook sell rate to sell_rate_cache 2020-05-30 11:08:56 +02:00
Matthias
f187753f8f Add ccxt_sync_config to simplify ccxt configuration 2020-05-30 10:45:50 +02:00
Matthias
ea5daee505 Allow changing severity of strategy-validations to log only. 2020-05-29 19:37:18 +02:00
Matthias
9f8b21de4a
Merge pull request #3358 from hroff-1902/refactor_generate_pairlist
Split the pairlist generation logic and filtering
2020-05-29 14:16:15 +02:00
hroff-1902
a4cf9ba85b Move check for position for StaticPairList to init 2020-05-29 12:40:05 +03:00
Matthias
46456516bb Remove exception handler 2020-05-29 10:11:23 +02:00
Matthias
1d6e3fea85 Update /profit telegram message to support non-closed trades 2020-05-29 09:38:12 +02:00
Matthias
6261aef314 Return /profit even if no trade is closed 2020-05-29 09:03:48 +02:00
Matthias
7df786994d Plotting should not fail if one pair didn't produce any trades 2020-05-28 19:36:10 +02:00
Matthias
7399c7e70c Provide blacklist feedback to telegram 2020-05-28 07:04:06 +02:00
Matthias
0e8f95effd Improve blacklist adding with proper feedback 2020-05-28 06:51:53 +02:00
hroff-1902
0234e4d293
Merge pull request #3369 from freqtrade/align_trade_outputs
Improve some api results
2020-05-27 22:56:15 +03:00
Matthias
04eb11bb5d
Merge pull request #3377 from freqtrade/btreport_refactor
Refactor BTReport
2020-05-27 19:33:08 +02:00
Matthias
18a5787a2c
Reorder typing imports
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-05-27 19:17:15 +02:00
Matthias
b2125bd6ee check for None to allow 0.0 profit 2020-05-27 19:15:56 +02:00
Matthias
f4af4cc2b2 Small formatting improvement 2020-05-27 07:11:59 +02:00
Matthias
8c87fcdae3 Rename PricingException to PricingError 2020-05-26 20:35:11 +02:00
Matthias
16cd1f06b2 Rename get_order_book to fetch_l2_order_book (aligning to ccxt) 2020-05-26 20:27:35 +02:00
Matthias
7a7b26e840 Add exception handlers for orderbook logic 2020-05-26 20:14:05 +02:00
Matthias
76e4e5897f Introduce pricing exception 2020-05-26 20:08:01 +02:00
Matthias
3e3cce4559 Use pct instead of _perc 2020-05-26 19:25:03 +02:00
Matthias
27e0c2604c
Add comment to ensure we're not accidentally removing this again 2020-05-26 16:58:29 +02:00
hroff-1902
9f573481a8 Fix #3378 2020-05-26 13:54:45 +03:00
Matthias
18d2587800 Address feedback 2020-05-26 06:12:25 +02:00
hroff-1902
a484124272 Raise exception if StaticPairList on a non-first position 2020-05-25 23:14:51 +03:00
hroff-1902
c3206d72cb Adjust docstring for IPairList.gen_pairlist() 2020-05-25 22:49:57 +03:00
Matthias
abf79e4ab4 Use temporary variable to clean up code 2020-05-25 20:47:48 +02:00
Matthias
6a9a8f927e Rename some methods, improve some testing 2020-05-25 20:46:31 +02:00
Matthias
462c35cf75 Move stats generation to the top 2020-05-25 20:22:22 +02:00
Matthias
027ea64d48 Fix docstrings, extract strategy-list results 2020-05-25 19:55:02 +02:00
Matthias
db257e9f7f Rename method to be public 2020-05-25 19:50:23 +02:00
Matthias
18a2dad684 Extract data generation from generate_text_table 2020-05-25 19:35:32 +02:00
Matthias
0917b17efd Refactor result_line to return dict 2020-05-25 19:21:01 +02:00
Matthias
876a9e4f44 finish refactor of sell_reason table 2020-05-25 07:08:15 +02:00
Matthias
d17300fd84 Refactor sell reason stats to return a dict 2020-05-25 07:02:24 +02:00
Matthias
9d1ad70bb7 Split optimize generation from printing 2020-05-25 06:44:51 +02:00
Matthias
811e23e3da Have profit return time in timestamp 2020-05-24 08:58:26 +02:00
Matthias
110b5a2521 Add timestamp to trade output 2020-05-24 08:46:50 +02:00
Matthias
046202fdda Fix typing circular dependency 2020-05-22 20:56:34 +02:00
hroff-1902
8e89802b2d Split the generation logic and filtering 2020-05-22 15:03:49 +03:00
Matthias
98db1d52c6 Reorder new commands 2020-05-22 07:04:36 +02:00
Matthias
1663a67959 Reorder list-arguments 2020-05-22 07:00:09 +02:00
Matthias
33b270b81f reorder more arguments 2020-05-22 06:57:20 +02:00
Matthias
fcae48d5a0 Some reordering of subcommands 2020-05-22 06:55:20 +02:00
Matthias
74056e768a
Merge pull request #3352 from hroff-1902/improve_pairlist_tests
Improve pairlist tests
2020-05-21 15:06:22 +02:00
hroff-1902
ea13071308
Merge pull request #3351 from freqtrade/fix/notradesplot
[minor] Fix crash when no trades are found in plot-profit
2020-05-21 13:14:41 +03:00
hroff-1902
cd0bf96c0e Improve pairlist tests 2020-05-21 12:52:10 +03:00
Matthias
d31a091d12
Merge pull request #3346 from hroff-1902/refactor_pairlists2
Refactor filter_pairlists()
2020-05-21 07:25:43 +02:00
Matthias
1f386c570d Don't start plotting profit without trades
plotting profit only makes sense when trades are available
2020-05-21 07:13:08 +02:00
Matthias
1a984ac677 Explicitly raise ValueError if trades are empty 2020-05-21 07:12:53 +02:00
hroff-1902
ff7bcb5aae
Merge pull request #3344 from freqtrade/fix_cors_policy
CORS - allow authenticated responses
2020-05-20 21:44:30 +03:00
Matthias
a11651ae67 Correctly test cors 2020-05-20 19:43:52 +02:00
hroff-1902
4f0d928145 Introduce self._enabled in pairlist handlers 2020-05-20 13:41:00 +03:00
hroff-1902
7e43574382 Refactor filter_pairlist() 2020-05-20 13:27:07 +03:00
Matthias
cd3900549c
Merge pull request #3341 from hroff-1902/cleanup_get_signal
Minor: cleanup in get_signal()
2020-05-20 07:07:39 +02:00
Matthias
2fbd31f5e0 CORS - allow authenticated responses 2020-05-20 07:04:48 +02:00
hroff-1902
696c7e87f2 Use proper logging (using the Filter's logger) 2020-05-19 23:51:39 +03:00
hroff-1902
e96e28df07 Refactor verify_blacklist() 2020-05-19 23:13:51 +03:00
hroff-1902
a8b1dcf3c8 Minor: cleanup in get_signal() 2020-05-19 22:20:53 +03:00
Matthias
d438af342c
Merge pull request #3339 from hroff-1902/cleanup-pairlistmanager
Cleanup in pairlistmanager
2020-05-19 14:04:39 +02:00
hroff-1902
4c4fb0c9be Cleanup in pairlistmanager 2020-05-19 03:56:31 +03:00
hroff-1902
e1e8293a67 Merge remote-tracking branch 'upstream/develop' into pairlists-shuffle 2020-05-18 23:18:41 +03:00
Matthias
76bd97d510
Merge pull request #3317 from hroff-1902/refactor-informative
Refactor informative pairs
2020-05-18 21:57:16 +02:00
hroff-1902
115586a50f Introduce freqtrade.typing 2020-05-18 21:59:50 +03:00
Matthias
839ca28604
Merge pull request #3334 from hroff-1902/retrier-dependency-exceptions
Do not throttle with DependencyException in Exchange retrier
2020-05-18 19:49:24 +02:00
hroff-1902
6951b20aa0 Do not throttle with DependencyException in retrier 2020-05-18 17:31:34 +03:00
hroff-1902
8bdd5e7121 Minor: correct import of retrier 2020-05-18 15:20:51 +03:00
hroff-1902
0c8aff98e0 Make flake happy 2020-05-18 15:03:36 +03:00
hroff-1902
6fa8750fea
Merge branch 'develop' into refactor-informative 2020-05-18 14:00:09 +03:00
hroff-1902
ba26f3a73a Merge branch 'refactor-informative' of ssh://github.com/hroff-1902/freqtrade into refactor-informative 2020-05-18 13:55:09 +03:00
hroff-1902
627c5059f0 Move create_pair_list to pairlistmanager 2020-05-18 13:54:21 +03:00
Matthias
5a9a31351a Adjust empty f-strings to be non-fstrings 2020-05-18 11:40:25 +02:00
Matthias
503a8a8243 Simplify sd_notify usage 2020-05-18 07:02:57 +02:00
hroff-1902
4bfab5e222 Add ShuffleFilter 2020-05-18 02:36:40 +03:00
hroff-1902
fd7fa3116a
Merge pull request #3321 from freqtrade/rpc/improve_daily
Improve daily API format
2020-05-18 01:29:28 +03:00
hroff-1902
889d07900a
Merge pull request #3320 from freqtrade/fix_sell_spamming
Fix sell spamming
2020-05-17 21:54:08 +03:00
Matthias
64b8d8c7bd Use correct Return hint 2020-05-17 20:18:35 +02:00
Matthias
9d63fada24
Merge pull request #3313 from hroff-1902/refactor-pairlists
Cleanup in pairlists
2020-05-17 20:15:39 +02:00
Matthias
943a2a08f8 Improve daily API format 2020-05-17 20:12:01 +02:00
hroff-1902
16622bbfad Cosmetics in pair lists 2020-05-17 14:44:32 +03:00
hroff-1902
ae69d31095 Cosmetics in IPairList 2020-05-17 14:13:26 +03:00
hroff-1902
97c50f86e9 Cleanup pairlistmanager 2020-05-17 14:10:11 +03:00
Matthias
2074d986a6 Update test to verify we're not spamming messages 2020-05-17 11:12:30 +02:00
Matthias
dd55d2eea3 Reduce spammyness of parcial cancel orders 2020-05-17 10:53:07 +02:00
Matthias
1e76bff1bd Add sell_order_status to keep track of cancellations 2020-05-17 10:52:20 +02:00
hroff-1902
ce185a3b19 Remove pairs with no ticker available when it's needed 2020-05-17 11:39:18 +03:00
hroff-1902
d457542d96 Fix PrecisionFilter 2020-05-17 11:11:49 +03:00
hroff-1902
318e435a8f
Merge branch 'develop' into refactor-informative 2020-05-16 22:14:50 +03:00
hroff-1902
baf5f4f29c
Update freqtrade/constants.py 2020-05-16 21:28:54 +03:00
hroff-1902
5f2a871637 Add missing module 2020-05-16 17:15:58 +03:00
Matthias
fed75d8718 remove --cancel_open_orders cli switch 2020-05-16 13:23:40 +02:00
Matthias
7a11219b61
Reword some documentation strings
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-05-16 13:17:48 +02:00
Matthias
2a1fcc0f06 Merge branch 'develop' into pr/jpribyl/3210-1 2020-05-16 13:09:38 +02:00
hroff-1902
e7c11ed2cf Fix fetching timeframe (failed in backtesting) 2020-05-16 12:27:56 +03:00
hroff-1902
facaaabc1e Rename _refresh_whitelist() 2020-05-16 12:27:56 +03:00
hroff-1902
f8b01f5a43 Make flake happy 2020-05-16 12:27:56 +03:00
hroff-1902
035a12ce61 Move _create_pair_whitelist to dataprovider 2020-05-16 12:27:56 +03:00
hroff-1902
bf25746965 Introduce datatype for informative pairs 2020-05-16 12:27:56 +03:00
hroff-1902
1b3864ebf8 Make flake happy 2020-05-16 09:21:36 +03:00
hroff-1902
9d6a41aa7a
Merge pull request #3315 from freqtrade/flask_cors
Add cors support - needed for UI
2020-05-16 09:07:38 +03:00
Matthias
61f6acb5c9 Add cors support - needed for UI 2020-05-16 07:07:24 +02:00
hroff-1902
72165a1926
Merge pull request #3238 from hroff-1902/dataprovider-add-ticker
Add ticker to dataprovider
2020-05-15 22:03:01 +03:00
Matthias
ba68c42aae
Merge pull request #3297 from bmoulkaf/develop
Fix stoploss on binance bug
2020-05-15 08:23:18 +02:00
hroff-1902
143e6f52af Simplify SpreadFilter 2020-05-15 05:14:06 +03:00
hroff-1902
cbb2ce3708 Simplify PriceFilter 2020-05-15 04:55:28 +03:00
hroff-1902
2aa80f915d Cosmetics: improve readability 2020-05-15 04:24:18 +03:00
hroff-1902
794ed304b1 Make stoploss an attribute 2020-05-15 04:17:23 +03:00
hroff-1902
afa7a5846b Simplify PriceFilter 2020-05-15 04:05:31 +03:00
hroff-1902
f0c3a0d2f8 Simplify VolumePairList 2020-05-15 03:59:13 +03:00
hroff-1902
481f9ba6d6 Use list comprehension instead of filter() 2020-05-15 03:00:55 +03:00
hroff-1902
8e4ffea52b
Merge pull request #3239 from freqtrade/feat/fee_handling
Improve fee handling
2020-05-14 18:48:48 +03:00
hroff-1902
aae096c6ae Handle fetching ticker for non-existing pair safe way 2020-05-14 13:36:48 +03:00
hroff-1902
3079e18239 Merge branch 'develop' into dataprovider-add-ticker 2020-05-14 13:22:52 +03:00
Matthias
255ff6cd06 Should return False if it's not been cancelled empty 2020-05-13 20:52:40 +02:00
hroff-1902
b4d2433fc1
Merge pull request #3267 from GrilledChickenThighs/develop
Method for accessing current pairlist inside strategy.
2020-05-13 21:29:39 +03:00
Matthias
60f26ba501 use update_trade_state also for closed stoploss orders 2020-05-13 20:25:32 +02:00
Matthias
d86855f2f3
Merge pull request #3129 from freqtrade/trades_to_list
convert dl-trades datadownload to list
2020-05-13 09:41:26 +02:00
bmoulkaf
fe3ea8e7ec Fix stoploss on binance bug 2020-05-13 05:15:18 +00:00
Paul D. Mendes
87d9388a9c Merge branch 'develop' of https://github.com/freqtrade/freqtrade into develop 2020-05-13 00:32:46 +04:00
Matthias
77c9334c50
Use available config object
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-05-12 13:39:24 +02:00
Matthias
aa25461e88 Show forcebuy status so it's visible before calling forcebuy. 2020-05-12 07:20:59 +02:00
hroff-1902
caac562b6b
Merge pull request #3246 from flomerz/develop
hyperopt csv export - add params
2020-05-12 00:50:25 +03:00
Paul D. Mendes
9fbe135790 attached pairlist manager onto dataprovider init for unified access to dynamic whitelist 2020-05-11 20:17:03 +04:00
Paul D. Mendes
bc9efc31ad Added Method for accessing current pair list on initialization for dynamic informative pairs
moved import into function to avoid circular import with hyperopt
2020-05-11 19:45:15 +04:00
hroff-1902
bbb609c927
Merge pull request #3278 from freqtrade/api/jwt
API server - support JWT
2020-05-10 21:33:41 +03:00
Matthias
d291ca0071 Simplify code section 2020-05-10 19:43:16 +02:00
Matthias
21c2af2b92 Load jwt_key from config 2020-05-10 19:42:06 +02:00
Matthias
c3f0b5d4eb Rename methods to match endpoints 2020-05-10 19:37:41 +02:00
Matthias
73a1496318 Catch exception on cancel_order 2020-05-10 17:44:45 +02:00
Mohamad Tarbin
570c51b0b0
Fix Typo in telegram Plugin 2020-05-10 05:07:49 -04:00
Matthias
f246336943
Merge pull request #3277 from hroff-1902/edge-fix-fee
Fix fee usage in Edge
2020-05-10 10:58:57 +02:00
hroff-1902
51d2b817ae Use self.fee 2020-05-10 11:51:33 +03:00
Matthias
8139058fcc Implement token/login and token/refresh endpoints 2020-05-10 10:35:38 +02:00
hroff-1902
7e08fa2631 Fix usage of fee value in Edge 2020-05-10 02:22:16 +03:00
hroff-1902
d4362ed357 Minor: improve exception handling in exchange 2020-05-09 09:29:40 +03:00
Matthias
c560de4111 Improve exception handling on critical errors 2020-05-08 11:44:24 +02:00
hroff-1902
5b92387732
Merge pull request #3259 from freqtrade/fix/filled
Fix handling of partially or non-filled timedout orders
2020-05-07 09:58:26 +03:00
Matthias
1ba2df79c6 Ause isclose for comparison, assign filled to variable
add some comments
2020-05-07 06:51:02 +02:00
hroff-1902
06313cdddf
Merge pull request #3264 from freqtrade/api_improvements
Api improvements
2020-05-07 00:05:36 +03:00
Matthias
a62d7495ca FIx typo in telegram method 2020-05-05 21:28:59 +02:00
Matthias
593d13ebdd Show new values also in Telegram 2020-05-05 21:21:20 +02:00
Matthias
e4023a6567 Add some minor things to show_config 2020-05-05 21:19:35 +02:00
Matthias
ffef4bc474 Humanize show-trades error when no database is specified 2020-05-05 19:48:28 +02:00
hroff-1902
1b448f57b9
Merge pull request #3242 from freqtrade/feat/trade_show
New subcommand show-trades
2020-05-05 19:26:59 +03:00
hroff-1902
0340d7bf37
Merge pull request #3249 from freqtrade/increase_rate_cache
[minor] Increase cache for rate limit to avoid delays
2020-05-05 19:08:31 +03:00
Matthias
981976681a Use filled, it's the safer choice when determining the filled amount. 2020-05-05 07:09:12 +02:00
Matthias
648723fb83 Use 30min rate cache 2020-05-05 06:32:03 +02:00
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