Commit Graph

1521 Commits

Author SHA1 Message Date
Matthias
7e7a78135e Ensure ccxt tests run without dry-run
closes #4566
2021-03-20 18:46:57 +02:00
Matthias
60dea622f7 Add check to ensure close_profit_abs is filled on closed trades
Technically, this should not be possible, but #4554 shows it is.

closes #4554
2021-03-20 18:46:57 +02:00
Matthias
ed7f4739ad Allow custom fee to be used during dry-run
closes #3696
2021-03-20 18:46:57 +02:00
Jackson Law
d618d4a35d fix: Use now() to match timezone of download data 2021-03-20 18:46:57 +02:00
Matthias
b9dab81680 Improve tests for trades_proxy 2021-03-20 18:46:57 +02:00
Matthias
ace184a281 Improve backtest performance 2021-03-20 18:46:57 +02:00
Matthias
c6ff383972 Add test for uvloop fix 2021-03-20 18:46:57 +02:00
Matthias
e90215bf02 Fix random test failure 2021-03-20 18:46:57 +02:00
Matthias
cec07b93c3 Fix optimize_reports test 2021-03-20 18:46:57 +02:00
Matthias
bb1bdb1478 Improve test-coverage of pairlocks 2021-03-20 18:46:57 +02:00
Matthias
369ede1af9 Improve handling of backtesting params 2021-03-20 18:46:57 +02:00
Matthias
78c49836ff fix --stake-amount parameter 2021-03-20 18:46:57 +02:00
Matthias
9bea9a849a Add test for backtesting _enter_trade 2021-03-20 18:46:57 +02:00
Matthias
35215a47ab Add test for subclassing 2021-03-20 18:46:57 +02:00
Matthias
7f3b6c9349 Change some types
Fix types of new model object
2021-03-20 18:46:57 +02:00
Matthias
c2ee9160ca Check min-trade-stake in backtesting 2021-03-20 18:46:57 +02:00
Matthias
8f4aad6101 Wallets should not recalculate close_profit for closed trades 2021-03-20 18:46:57 +02:00
Matthias
ea56b4775f Add starting balance to profit cumsum calculation 2021-03-20 18:46:57 +02:00
Matthias
2e6bb6c01a Use absolute drawdown calc 2021-03-20 18:46:57 +02:00
Matthias
8f03ce377b Add trade-volume metric 2021-03-20 18:46:57 +02:00
Matthias
78708de740 Backtest-reports should calculate total gains based on starting capital 2021-03-20 18:46:57 +02:00
Matthias
7cf61975fa Allow dynamic stake for backtesting and hyperopt 2021-03-20 18:46:57 +02:00
Matthias
bd8ecc4256 Enable compounding for backtesting 2021-03-20 18:46:57 +02:00
Matthias
cddbff0a65 total_open_trades_stake should support no-db mode 2021-03-20 18:46:57 +02:00
Matthias
987f984c0f Use sell-reason value in backtesting, not the enum object 2021-03-20 18:46:57 +02:00
Matthias
39118252e2 Make trade-close sequence clear for mock trades 2021-03-20 18:46:57 +02:00
Th0masL
e71829c6b7 Fix order_by in trades command 2021-03-20 18:46:57 +02:00
Th0masL
795325ad0f Add trade_id to Cancel messages and reduced lines length 2021-03-20 18:46:57 +02:00
Th0masL
408b816d46 Add trade_id to tests 2021-03-20 18:46:57 +02:00
Matthias
e05e61cd01 Remove deprecated profit return value 2021-03-20 18:46:57 +02:00
raoulus
adf040ab97 added "Median profit" column to hyperopt -> export-csv 2021-03-20 18:46:57 +02:00
Matthias
6c472c037e Add telegram pair unlocking 2021-03-20 18:46:57 +02:00
Matthias
a391ae7807 Support deleting locks via API 2021-03-20 18:46:57 +02:00
Matthias
5746af6d59 Add rpc method to delete locks 2021-03-20 18:46:57 +02:00
Matthias
ac3227251c Use sensible defaults for balance_dust_level 2021-03-20 18:46:57 +02:00
Xanders
1f54264a89 Fix blank lines rule at test_rpc_webhook.py 2021-03-20 18:46:57 +02:00
Xanders
ad8543afa8 Add test for webhook JSON format 2021-03-20 18:46:56 +02:00
Matthias
228e51b60b Fix #4405 2021-02-22 13:34:52 +01:00
Matthias
5e4730b73b Add test confirming #4405 2021-02-22 11:44:39 +01:00
Matthias
3629892fc3 Stoploss-guard should use the trade_limit or more
fix #4404
2021-02-20 19:38:44 +01:00
Matthias
fedbb5c0c4 Remove last flask occurance from setup.py
fixes #4390
2021-02-17 20:47:11 +01:00
Matthias
1a3e7191ed
Merge pull request #4116 from squat0001/develop-squat
Develop squat
2021-02-15 07:15:11 +01:00
Matthias
1a166f639d Add test for calcuate_csum 2021-02-14 19:44:13 +01:00
Matthias
ee74bc1f52 timeframe is mandatory, no need to use .get() 2021-02-14 11:01:12 +01:00
Matthias
ffca09bbcb Test ohlcv_candle_limit explicitly 2021-02-14 10:38:49 +01:00
Matthias
5622bb3247 Make candle_limit optionally timeframe dependent 2021-02-14 10:29:45 +01:00
Matthias
e7acee7904 Improve coin value output by rounding coin specific 2021-02-13 16:05:56 +01:00
Matthias
072abde9b7 Introduce round_coin_value to simplify coin rounding 2021-02-13 16:05:35 +01:00
Matthias
aa79574c0c Position-size should NEVER be over available_capital
Part of #4353
2021-02-11 17:09:31 +01:00
Matthias
3110d2dbb1 Add small test cases 2021-02-09 20:09:10 +01:00