Commit Graph

86 Commits

Author SHA1 Message Date
Matthias
6e3336cb30 Adapt test to verify behaviour of stoploss_on_exchange in dry-run 2020-01-20 20:10:06 +01:00
hroff-1902
2f82122fc4
Merge pull request #2763 from freqtrade/fix/precision_rounding
Fix/precision rounding
2020-01-17 01:25:30 +03:00
Matthias
fa1e9dd70d Adjust tests to allow updating within safe_sell_amount 2020-01-15 21:53:04 +01:00
Matthias
90ed4c665b Cover equal case via test 2020-01-15 19:59:08 +01:00
Matthias
5fcab1eee8 Align method names to internal ccxt names
These methods are reimplemented from ccxt so we can test their behaviour.
2020-01-12 14:55:05 +01:00
Matthias
fab19ae3a7 Implement last_stake_amount_min_ratio 2020-01-10 06:36:28 +01:00
Matthias
ca054799d0 Add tests for amend_last_stake_amount 2020-01-05 13:25:21 +01:00
Matthias
7daa5bc338 Don't return None from unlimited_stake - 0 handles this just as well 2020-01-05 12:50:44 +01:00
Matthias
6d01653bfe Adapt test to test more cases with reduced tradable_balance 2020-01-03 10:41:34 +01:00
Matthias
455838648d Apply get_available_balance logic to regular trades, too 2020-01-03 10:41:10 +01:00
Matthias
bfef3cf497 Add additional test case for lower balance ratios 2020-01-02 13:38:08 +01:00
Matthias
64db1f6736 Prepare tests to valiate reduced full amount. 2020-01-02 13:16:18 +01:00
Matthias
3327ebf2b1
Merge pull request #2720 from hroff-1902/refactor-create-trades
Refactor create trades
2019-12-31 15:34:12 +01:00
Matthias
26a2395aeb Include Pair name in exception log message 2019-12-31 07:11:09 +01:00
Matthias
9d518b9d29 Add comment and don't hardcode 4 in test 2019-12-31 07:05:21 +01:00
Matthias
6ebb9017c7 Improve test enter_positions 2019-12-31 07:03:57 +01:00
Matthias
a88464de3a Improve some test code 2019-12-31 07:01:58 +01:00
hroff-1902
fd7af587da Rename process_maybe_execute_buys() --> enter_positions() 2019-12-30 22:50:56 +03:00
hroff-1902
84918ad424 Rename process_maybe_execute_sells() --> exit_positions() 2019-12-30 22:08:36 +03:00
Matthias
1ffda29fd2 Adjust improts to new exception location 2019-12-30 15:02:17 +01:00
hroff-1902
ce84f74528 Adjust tests 2019-12-29 05:00:22 +03:00
hroff-1902
433fd2a7c3
Merge pull request #2652 from freqtrade/safe_sell_amount
Safe sell amount
2019-12-29 00:09:21 +03:00
Matthias
443fd8f7dd Merge branch 'develop' into safe_sell_amount 2019-12-28 09:42:52 +01:00
hroff-1902
b6d1c5b17a _get_trade_stake_amount() is not private 2019-12-28 01:44:51 +03:00
Matthias
6507a26cc1 Fix some tests after merge 2019-12-18 20:16:53 +01:00
Matthias
834a0ed620 Merge branch 'develop' into safe_sell_amount 2019-12-18 19:45:31 +01:00
Matthias
21622ac313 Rename get_ticker to fetch_ticker 2019-12-18 16:34:30 +01:00
Matthias
a2964afd42 Rename profit_percent to profit_ratio to be consistent 2019-12-17 08:53:30 +01:00
Matthias
0b5354f13d Add required arguments to Trade method 2019-12-17 06:58:10 +01:00
Matthias
c741b67c3c Adjust tests for dry_run wallet simulation 2019-12-15 10:39:52 +01:00
Matthias
5a5741878c Improve dry-run calculations 2019-12-15 10:26:56 +01:00
Matthias
52b212db64 Fix tests after changing dry_run_wallet amount 2019-12-15 09:38:06 +01:00
Matthias
04257d8ecc Add tests for safe_sell_amount 2019-12-13 07:06:54 +01:00
Matthias
b69f5afaaf Round amount to precision also for dry-runs 2019-12-13 06:59:10 +01:00
Matthias
88a24da272 Adapt tests to sending open / close date 2019-12-08 14:10:04 +01:00
Matthias
5b996920f2 Merge branch 'develop' into configvalidation 2019-11-27 19:48:21 +01:00
hroff-1902
f2cd4fdafe Fix the rest of tests 2019-11-27 05:12:54 +03:00
hroff-1902
066f324060 Make flake happy 2019-11-26 12:28:04 +03:00
hroff-1902
8e1e20bf0d Fix some tests 2019-11-26 12:07:43 +03:00
hroff-1902
8204107315 Add test for get_min_pair_stake_amount() with real data 2019-11-26 11:57:02 +03:00
Matthias
a3415e52c0 Fix some test-types 2019-11-25 07:05:30 +01:00
Matthias
eac01960a7 Add testcase for empty-order case 2019-11-20 20:37:46 +01:00
Matthias
a5bd4e329a improve cancel_order handling 2019-11-20 20:36:38 +01:00
Matthias
c8638ce82f Fix bug where bids_to_ask_delta causes doublebuys
The continue must happen irrespective of the outcome of this - otherwise
the below BUY will happen anyway.
2019-11-05 21:03:06 +01:00
Matthias
7be378aaa9 Remove markets mock where it's not needed 2019-10-31 07:26:48 +01:00
Matthias
734a9d5d87 Seperate tests related to worker from test_freqtradebot 2019-10-31 07:16:25 +01:00
Matthias
dc5f1b2878 Extract integration tests into sepearte file 2019-10-31 07:08:02 +01:00
Matthias
20dabd9c41 Merge branch 'develop' into whitelist_docs 2019-10-26 13:36:39 +02:00
Matthias
32df73c056 flake 2019-10-26 13:28:04 +02:00
Matthias
f5351e60e7 Adjust markets mock 2019-10-26 13:23:37 +02:00