Matthias
f952f74bf1
Add test for new format
2020-07-03 06:58:27 +02:00
Matthias
573502d972
Update test for load_trades_from_db
2020-07-03 06:58:27 +02:00
Matthias
afefe92523
Add multi-strategy loading logic
2020-07-03 06:58:27 +02:00
Matthias
1339479882
Have sell_type stringify correctly
2020-07-03 06:58:27 +02:00
Matthias
04eaf2c39c
Add test for get_last_backtest_Result
2020-07-03 06:58:27 +02:00
Matthias
7727292861
Rename duration to trade_duration
2020-07-03 06:58:27 +02:00
Matthias
f368aabcc7
Add amount to backtest-result
2020-07-03 06:58:27 +02:00
Matthias
6e94734678
Add fee to backtestresult
2020-07-03 06:58:27 +02:00
Matthias
03ab61959b
Add test for generate_backtest_stats
2020-07-03 06:58:27 +02:00
Matthias
0fa56be9d2
remove openIndex and closeIndex from backtest-report
2020-07-03 06:58:27 +02:00
Matthias
2881718733
Adapt tests for new column names
2020-07-03 06:58:27 +02:00
Matthias
5fce7f3b22
Add market Change
...
closes #2524 and #3518
2020-07-03 06:58:27 +02:00
Matthias
cf044d166e
Tests should use new Datetime format too
2020-07-03 06:58:27 +02:00
Theagainmen
f32e522bd7
Update API test, removed 'ANY'
2020-07-02 20:03:15 +02:00
Theagainmen
39fa589735
Update API test, currently just with 'ANY'
2020-07-02 13:39:02 +02:00
Theagainmen
db965332b9
Update tests for AgeFilter message
2020-07-02 11:38:38 +02:00
Matthias
cf1bbb1afb
Merge pull request #3517 from freqtrade/rpc/winlossratio
...
Show winning vs. losing trades
2020-06-30 07:48:18 +02:00
Matthias
cf26ab1dd8
Merge pull request #3527 from Theagainmen/Warning_message2
...
Warning message bot is stopped and left open trades
2020-06-30 07:48:02 +02:00
Matthias
c2a6f70b4c
Merge branch 'develop' into keep_dataframe_noapi
2020-06-30 07:46:52 +02:00
Matthias
efd6e4a875
Add test for check_for_open_trades
2020-06-30 07:16:27 +02:00
hroff-1902
8a2f631ddd
Merge pull request #3531 from freqtrade/exchange_errorhandling
...
Improve exchange errorhandling and API backoff
2020-06-30 07:53:09 +03:00
hroff-1902
02c0488d45
Merge pull request #3453 from freqtrade/fix/3363
...
Backtesting should load pairlists after the strategy
2020-06-29 21:53:33 +03:00
Matthias
4d9ecf137b
Fix failing test in python 3.7
...
can't use Magicmock in 3.7 (works in 3.8 though).
2020-06-28 20:38:28 +02:00
Matthias
c6124180fe
Fix bug when fetching orders fails
2020-06-28 19:45:42 +02:00
Matthias
6362bfc36e
Fix calculate_backoff implementation
2020-06-28 19:41:21 +02:00
Matthias
cbcbb4bdb5
Rename get_stoploss_order to fetch_stoploss_order (align with fetch_order)
2020-06-28 16:30:24 +02:00
Matthias
92c70fb903
Rename get_order to fetch_order (to align to ccxt naming)
2020-06-28 16:27:35 +02:00
Matthias
e040c518ca
Dynamic backoff on DDos errors
2020-06-28 16:19:12 +02:00
Matthias
29d3ff1bc9
Adjust tests to work with ExchangeError
2020-06-28 16:04:04 +02:00
Matthias
5bd4798ed0
Add retrier to stoploss calls (but without retrying)
2020-06-28 11:56:29 +02:00
Matthias
2c45114a64
Implement DDos backoff (1s)
2020-06-28 11:17:06 +02:00
Matthias
865b73a456
Merge pull request #3520 from freqtrade/rpc/cors_setting
...
Fix RPC Cors
2020-06-27 15:38:40 +02:00
hroff-1902
cc24f44636
Merge pull request #3519 from freqtrade/fix/trades_download_older
...
dl-trades should also support increasing download span
2020-06-27 00:08:10 +03:00
gambcl
ab7f5a2bcf
Added pairslist AgeFilter
2020-06-24 23:58:12 +01:00
Matthias
5423d8588e
Test for cors settings
2020-06-24 20:32:35 +02:00
Matthias
676006b99c
--dl-trades should also support increasing download span
...
(by downloading the whole dataset again to avoid missing data in the
middle).
2020-06-24 17:40:23 +02:00
Matthias
0509b9a8fc
Show winning vs. losing trades
2020-06-24 06:43:19 +02:00
Matthias
45ffb26910
Merge branch 'develop' into pr/hroff-1902/3478
2020-06-18 19:54:46 +02:00
Matthias
eef3c01da7
Fix function header formatting
2020-06-18 19:49:05 +02:00
Matthias
f1993fb2f4
Pass analyzed dataframe to get_signal
2020-06-18 08:09:52 +02:00
Matthias
f2a778d294
Combine tests for empty dataframe
2020-06-18 07:03:30 +02:00
Matthias
ab9382434f
Add test for get_analyzed_dataframe
2020-06-18 06:50:06 +02:00
Matthias
8b186dbe0e
Add additional test scenarios
2020-06-18 06:50:06 +02:00
Matthias
1c1a7150ae
ensure confirm_trade_entry is called and has the desired effect
2020-06-18 06:50:06 +02:00
Matthias
7c3fb111f2
Confirm execute_sell calls confirm_trade_exit
2020-06-18 06:50:06 +02:00
Matthias
6d6e7196f4
Test trade entry / exit is called correctly
2020-06-18 06:50:06 +02:00
Matthias
dea7e3db01
Use supress_errors in strategy wrapper - ensure it's called once
2020-06-18 06:50:06 +02:00
Matthias
c047e48a47
Add errorsupression to safe wrapper
2020-06-18 06:50:06 +02:00
Matthias
bc821c7c20
Add documentation for bot_loop_start
2020-06-18 06:50:06 +02:00
Matthias
7da955556d
Add test for empty pair case
2020-06-18 06:50:06 +02:00
Matthias
55fa514ec9
Adapt most tests
2020-06-18 06:50:05 +02:00
Matthias
273aaaff12
Introduce .analyze() function for Strategy
...
Fixing a few tests along the way
2020-06-18 06:50:05 +02:00
Matthias
e2465f979b
Correctly mock out async_reload
2020-06-17 08:33:53 +02:00
Matthias
d4fb5af456
Also reload async markets
...
fixes #2876 - Logs and Empty ticker history for new pair
2020-06-17 07:23:20 +02:00
Matthias
3517c86fa2
Fail if both ticker_interval and timeframe are present in a
...
configuration
Otherwise the wrong might be used, as it's unclear which one the intend
of the user is
2020-06-16 16:02:38 +02:00
Matthias
a3506f4d8e
Merge branch 'develop' into timeframe
2020-06-15 06:35:55 +02:00
Matthias
d337fb6c6a
Update some comments
2020-06-15 06:35:31 +02:00
Matthias
f80b5f9410
Merge pull request #3438 from freqtrade/ftx_stoploss
...
Ftx stoploss
2020-06-14 07:02:15 +02:00
Matthias
534c242d1b
Apply typography to test too
2020-06-14 06:33:08 +02:00
hroff-1902
4660909e95
Validate stoploss_on_exchange_limit_ratio at startup time
2020-06-14 01:07:00 +03:00
hroff-1902
1bf333d320
Minor: fix test
2020-06-14 00:57:13 +03:00
Matthias
d52198d15e
Merge pull request #3468 from hroff-1902/cleanup_async_markets
...
Cleanup async markets
2020-06-13 17:28:11 +02:00
hroff-1902
37bc2d28ad
Revert "Remove _load_async_markets"
...
This reverts commit 6744f8f052
.
2020-06-13 13:34:29 +03:00
hroff-1902
12d3a234c1
Merge pull request #3471 from freqtrade/fix/3465
...
Fix exception with stacktrace in test-pairlist
2020-06-12 07:57:37 +03:00
Matthias
c66ca957d9
Add test verifying this behaviour
2020-06-10 19:57:47 +02:00
Theagainmen
4f643f8481
Fix Flake8 error: line too long
2020-06-10 19:28:02 +02:00
Theagainmen
8c9dea988c
Now supports both commands & fixed test
2020-06-10 19:28:02 +02:00
Theagainmen
04fa597695
Test with multiple commands in one line
2020-06-10 19:28:02 +02:00
Theagainmen
ac92834693
reload_conf & reload_config now both accepted, code is more consistent now
2020-06-10 19:28:02 +02:00
hroff-1902
7d451638a8
Make _reload_markets() public
2020-06-10 01:39:23 +03:00
hroff-1902
6744f8f052
Remove _load_async_markets
2020-06-10 01:22:55 +03:00
Matthias
ab0003f565
fix #3463 by explicitly failing if no stoploss is defined
2020-06-09 14:33:57 +02:00
Matthias
72ae4b1500
Load pairlist after strategy to use strategy-config
...
fail in certain conditions when using strategy-list
Fix #3363
2020-06-07 16:15:26 +02:00
Matthias
54226b45b1
Add test verifying failure
2020-06-07 16:02:54 +02:00
Matthias
0f373e6bb9
Update unrelated tests
2020-06-07 15:39:59 +02:00
Matthias
3f9ab0846d
Rename profitperc to profit_percent
2020-06-07 15:39:59 +02:00
Matthias
070913f327
Rename text_table generation
2020-06-07 11:35:02 +02:00
Matthias
499c6772d1
Rename tabulate methods
...
they don't "generate" anything
2020-06-07 11:31:33 +02:00
Matthias
8d8cf5a2fd
Improve code formatting of telegram
2020-06-06 17:28:00 +02:00
Matthias
ed1268cf39
Merge branch 'develop' into ask_strategy_verbosity
2020-06-06 17:23:19 +02:00
Matthias
6aed16c146
Merge pull request #3448 from Theagainmen/Telegram_emojis_V2
...
Added emoji's to the Telegram RPC
2020-06-06 17:22:56 +02:00
Theagainmen
d20762aa01
Fixed typo 'emoij' in test file too
2020-06-06 17:11:47 +02:00
Matthias
b2316cdd00
Extract sell_smoij logic into it's own function
2020-06-06 17:11:47 +02:00
hroff-1902
a86863c032
Merge pull request #3440 from freqtrade/rpc_status_fields
...
Rpc status fields
2020-06-05 23:59:01 +03:00
Matthias
8c32d691c7
Add information about bid and ask strategy to /showconfig
2020-06-05 20:31:40 +02:00
Theagainmen
6694ac5077
Splitted a line that was too long, resulting in flake8 error
2020-06-05 20:10:52 +02:00
Theagainmen
08b9abed3a
Removed '.encode', unecessary
2020-06-05 20:05:55 +02:00
Theagainmen
ff289a7177
Updated tests to work with Telegram emojis
2020-06-05 19:08:54 +02:00
Matthias
6a88eb603b
Update failing test
2020-06-04 07:20:50 +02:00
Matthias
7bd55aa2f1
Use correct calcuation for "locked in profit"
2020-06-04 07:04:32 +02:00
Matthias
412b50dac5
Add current stoploss calculations
2020-06-04 06:59:48 +02:00
Matthias
5c5dc6fffe
Update test to reflect real trade after one cycle
2020-06-04 06:56:30 +02:00
Matthias
6997524a04
Fix tests for additional info
2020-06-03 19:40:49 +02:00
Matthias
f0eb0bc350
Support limit orders
2020-06-03 06:11:34 +02:00
Matthias
77a62b845a
Fix some comments
2020-06-03 06:11:34 +02:00
Matthias
3174f37b41
adapt tests to use stoploss_* methods
2020-06-03 06:11:34 +02:00
Matthias
cf50c1cb7b
Add tests for new exchange methods
2020-06-03 06:11:34 +02:00
Matthias
d90d6ed5d0
Add ftx to tested exchanges
2020-06-03 06:11:34 +02:00
Matthias
78dea19ffb
Implement first version of FTX stop
2020-06-03 06:11:34 +02:00
Matthias
ad61673d6f
Fix missing key in test order
2020-06-02 21:10:12 +02:00
Matthias
ea954b4338
Add failing test with testcase from incident
...
Full problem in #3431
2020-06-02 20:54:14 +02:00
Matthias
08049d23b4
Use "market_is_tradable" for whitelist validation
2020-06-02 20:41:29 +02:00
Matthias
b74a3addc6
Update tests
2020-06-02 20:30:31 +02:00
Matthias
02fca141a0
Readd ticker_interval to trade api response
2020-06-02 19:43:15 +02:00
Matthias
1a5dba9a79
Revert "Fix tests after merge"
...
This reverts commit edf8e39bc1
.
2020-06-02 19:39:17 +02:00
hroff-1902
edf8e39bc1
Fix tests after merge
2020-06-02 17:57:45 +03:00
hroff-1902
64881a94e2
Merge branch 'develop' into timeframe
2020-06-02 15:56:34 +03:00
hroff-1902
4c82f127b3
Merge pull request #3419 from freqtrade/api_trade_response
...
Api trade response
2020-06-02 15:53:58 +03:00
hroff-1902
2cc47f651d
Merge pull request #3408 from freqtrade/apiserver_logging
...
Apiserver logging
2020-06-02 14:32:44 +03:00
Matthias
b106c88630
Add test case for strategy overwriting
2020-06-02 13:08:21 +02:00
Matthias
8e1a664a48
Add test for deprecation updating
2020-06-02 10:11:50 +02:00
Matthias
f9bb1a7f22
Update more occurances of ticker_interval
2020-06-02 10:02:55 +02:00
Matthias
af0f29e6b7
Update persistence to use timeframe
2020-06-02 10:02:36 +02:00
Matthias
09fe3c6f5e
create compatibility code
2020-06-02 09:52:30 +02:00
Matthias
3e895ae74a
Some more replacements of ticker_interval
2020-06-02 09:41:42 +02:00
Matthias
947903a4ac
Use timeframe from within strategy
2020-06-02 09:36:04 +02:00
hroff-1902
aff80d7331
Merge pull request #3417 from freqtrade/bt_result_store_metrics
...
Refactor result store metrics
2020-06-02 04:31:37 +03:00
hroff-1902
5435df84bd
Merge pull request #3387 from freqtrade/rpc_blacklist
...
Improve RPC Blacklist by adding feedback
2020-06-02 04:10:33 +03:00
hroff-1902
7b9bb5ba3d
Merge pull request #3425 from freqtrade/sell_rate_raise_empty
...
Verify sell-rate returns a value.
2020-06-02 02:22:56 +03:00
Matthias
cadc50ce9b
Replace more occurances of ticker_interval with timeframe
2020-06-01 20:49:40 +02:00
Matthias
950f358982
Replace occurances in test files
2020-06-01 20:47:27 +02:00
Matthias
b2c241e607
Replace ticker_interval in all rpc files
2020-06-01 20:43:20 +02:00
Matthias
898def7f6c
Remove ticker_interval from exchange
2020-06-01 20:39:01 +02:00
Matthias
009ea0639f
Exchange some occurances of ticker_interval
2020-06-01 20:33:26 +02:00
Matthias
3139343946
Remove capital_available_percentage and raise instead
2020-06-01 19:58:28 +02:00
Matthias
f6f75072ba
Fix linelength
2020-06-01 19:54:05 +02:00
Matthias
c35f9f8d39
Verify sell-rate got a value - otherwise downstream code does not work.
...
Using PricingException here will cease operation for this pair for this
iteration - postponing handling to the next iteration - where hopefully
a price is again present.
2020-06-01 19:45:37 +02:00
Matthias
d2b7016dff
Add stop_loss_abs ...
2020-06-01 11:05:37 +02:00
Matthias
6dec508c5e
Add new fields to tests
2020-06-01 10:57:29 +02:00
Matthias
091693308a
Correctly call show_backtest_results
2020-06-01 09:25:26 +02:00
Matthias
4087161d2b
fix broken test
2020-05-31 10:16:56 +02:00
Matthias
dc7f0f1187
Add api-server to default config samples
2020-05-31 09:57:31 +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
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
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
97905f86be
Add missing fields to to_json output of trade
2020-05-30 11:34:39 +02:00
Matthias
f187753f8f
Add ccxt_sync_config to simplify ccxt configuration
2020-05-30 10:45:50 +02:00
Matthias
7ea59b6d8e
Update comment
...
(to trigger CI)
2020-05-30 09:43: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
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
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
8c87fcdae3
Rename PricingException to PricingError
2020-05-26 20:35:11 +02:00