Commit Graph

1530 Commits

Author SHA1 Message Date
Matthias
85774257ce get_buy_rate tests should be sensible 2021-03-20 18:46:57 +02:00
Matthias
ec75a22461 Show potential errors when loading markets 2021-03-20 18:46:57 +02:00
Matthias
fad22994b1 Don't require non-mandatory arguments 2021-03-20 18:46:57 +02:00
Matthias
db76afd789 Add price side validation for market orders 2021-03-20 18:46:57 +02:00
Matthias
de7ed4df5f Fix calculation error for min-trade-stake 2021-03-20 18:46:57 +02:00
Matthias
c1001bfc44 Use OperationalException for TimeRange errors 2021-03-20 18:46:57 +02:00
Patrick Brunier
81f706cf41 Added a small snippet to give users a descent error message,
when their start date is afer the stop date.
Also updated the tests.
2021-03-20 18:46:57 +02:00
Brook Miles
db5156be10 complete stoploss_from_open and associated test 2021-03-20 18:46:57 +02:00
Matthias
9677a0b5e7 extract result-printing from hyperopt class 2021-03-20 18:46:57 +02:00
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