Matthias
273aaaff12
Introduce .analyze() function for Strategy
...
Fixing a few tests along the way
2020-06-18 06:50:05 +02:00
Matthias
a3506f4d8e
Merge branch 'develop' into timeframe
2020-06-15 06:35:55 +02:00
Matthias
3174f37b41
adapt tests to use stoploss_* methods
2020-06-03 06:11:34 +02:00
hroff-1902
64881a94e2
Merge branch 'develop' into timeframe
2020-06-02 15:56:34 +03:00
Matthias
950f358982
Replace occurances in test files
2020-06-01 20:47:27 +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
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
d09a347853
Add tests for pricingexception
2020-05-26 20:24:44 +02:00
Matthias
7a7b26e840
Add exception handlers for orderbook logic
2020-05-26 20:14:05 +02:00
Matthias
5a9a31351a
Adjust empty f-strings to be non-fstrings
2020-05-18 11:40:25 +02:00
Matthias
285bc2511e
Improve testcov for default check_*_timeout methods
2020-05-17 11:23:55 +02:00
Matthias
2074d986a6
Update test to verify we're not spamming messages
2020-05-17 11:12:30 +02:00
Matthias
2a1fcc0f06
Merge branch 'develop' into pr/jpribyl/3210-1
2020-05-16 13:09:38 +02:00
Matthias
22a08768f7
Add test for cancel_open_order
2020-05-16 12:40:25 +02:00
Matthias
c3f3242f28
Add tests for cancel_open_orders_on_exit
2020-05-16 11:05:34 +02:00
hroff-1902
8e4ffea52b
Merge pull request #3239 from freqtrade/feat/fee_handling
...
Improve fee handling
2020-05-14 18:48:48 +03:00
Matthias
60f26ba501
use update_trade_state also for closed stoploss orders
2020-05-13 20:25:32 +02:00
Matthias
80faa5feb1
Add test to cancel sell order
2020-05-10 16:24:00 +02:00
Matthias
1ba2df79c6
Ause isclose for comparison, assign filled to variable
...
add some comments
2020-05-07 06:51:02 +02:00
Matthias
d3a0ab8096
Change mock-status to be open when testing unfilled...
2020-05-05 07:12:49 +02:00
Matthias
981976681a
Use filled, it's the safer choice when determining the filled amount.
2020-05-05 07:09:12 +02:00
Matthias
b4aeb93a18
Add test testing the different ways exchanges may return data
2020-05-05 07:07:42 +02:00
Matthias
f040c20688
Use filled in tests
2020-05-05 06:41:01 +02:00
Matthias
e92d3867cf
Fix failing test
2020-05-03 15:25:54 +02:00
Matthias
81397874eb
Remove commented mock
2020-05-03 11:29:51 +02:00
Matthias
72282a2239
Add explicit test for fee_conditional
2020-05-03 11:28:29 +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
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
jpribyl
bd51cd332b
Cancel all open orders after receiving /stop or ctrl+c
2020-05-01 10:36:11 -06:00
Matthias
f8f794a803
Simplify fee-related tests
2020-05-01 15:49:52 +02:00
Matthias
431b244f43
Merge branch 'develop' into interface_ordertimeoutcallback
2020-04-19 06:58:44 +02:00
Matthias
1069cb3616
Use cancel_order_with_result when cancelling orders after timeout
2020-04-17 17:53:56 +02:00
hroff-1902
68be239a0e
Merge pull request #3146 from freqtrade/buy_order_timeout_logging
...
Improve handling for buy order cancels
2020-04-16 23:41:45 +03:00
Matthias
346e09fed1
Add test verifying that cancel_order with empty remaining is causing the
...
bug
2020-04-09 19:32:10 +02:00
Matthias
95011919d3
Remove questionable handling of orders
2020-03-25 11:18:33 +01:00
Matthias
1e2fadbc02
Fix failing test
2020-03-25 09:43:04 +01:00
Matthias
f3103be15c
Fix test
2020-03-25 09:43:04 +01:00
Matthias
91b058cf11
Fix typo in tests
2020-03-25 09:43:04 +01:00
Matthias
ecf3a3e070
Add test validating different return values
2020-03-19 19:44:10 +01:00
Matthias
a1bbeaa668
Merge branch 'develop' into interface_ordertimeoutcallback
2020-03-15 14:56:14 +01:00
hroff-1902
34093d1208
Merge branch 'develop' into no-percent-1
2020-03-05 14:27:12 +03:00
Matthias
6e2290c4f0
Allow last to be empty -
...
closes #3005
2020-03-02 20:05:54 +01:00
hroff-1902
e411717de9
No percent where ratio is to be used
2020-02-28 12:36:39 +03:00
Matthias
0fea3a7ea7
Some final polish to configurable_side
2020-02-26 19:50:17 +01:00
Matthias
e1cb6f4ae3
fix and improve tests in test_freqtradebot
2020-02-26 19:39:12 +01:00
hroff-1902
e6d003f8f2
Merge pull request #2973 from freqtrade/support_non_pairs
...
Support non pairs
2020-02-26 12:20:45 +03:00
hroff-1902
5a900858d8
Merge branch 'develop' into rate_caching
2020-02-26 04:04:20 +03:00
Matthias
61037ab7b8
Implement get_pair_base_curr and get_pair_quote_curr
2020-02-24 21:50:27 +01:00
Matthias
e37f055dad
Improve some tests
2020-02-23 13:12:00 +01:00
Matthias
9301f81fc8
Add test for user-sell_timeout handling
2020-02-23 13:09:46 +01:00
Matthias
634e7cc34a
Implement handle_buy_trade_customcallback
2020-02-23 13:08:11 +01:00
hroff-1902
d2181bdd94
Adjust tests
2020-02-23 01:55:07 +03:00
Matthias
2fe7b683cb
Add tests for cached rates
2020-02-22 11:23:13 +01:00
Yazeed Al Oyoun
007cc94474
fixed tests to send refresh, since its no longer defaulted
2020-02-12 22:03:56 +01:00
Yazeed Al Oyoun
899de8b27c
modified tests for double partial call
2020-02-11 16:50:18 +01:00
Yazeed Al Oyoun
5f4c209fca
fixed one more occurence of executed buy, and test
2020-02-11 16:14:49 +01:00
Yazeed Al Oyoun
f3b1161640
wide notifications fixes
2020-02-08 21:02:52 +01:00
Matthias
2b69e7830d
Fix failing CI test
2020-02-02 20:08:50 +01:00
hroff-1902
e8c1abc509
Merge pull request #2799 from freqtrade/fix_stoploss_recreated
...
Fix stoploss recreated
2020-02-02 16:59:45 +03:00
hroff-1902
6594679e52
Merge pull request #2779 from freqtrade/stoploss_market
...
Stoploss on exchange for Kraken
2020-02-02 14:48:45 +03:00
hroff-1902
68771a7861
Remove state attr from Worker
2020-01-29 17:08:36 +03:00
Matthias
72c273aaed
Add test for closed trade case
2020-01-23 21:07:21 +01:00
Matthias
70b9bd9c0e
Verify if trade is closed before acting on Stoploss_on_exchange
2020-01-23 20:36:48 +01:00
Matthias
f5a44e4fc4
open_order_id should be None when handling stoploss orders
2020-01-23 19:38:35 +01:00
Matthias
1d141cd406
Merge branch 'develop' into stoploss_market
2020-01-23 19:35:05 +01:00
Matthias
bc4c469797
Merge branch 'develop' into stoploss_market
2020-01-22 20:51:52 +01:00
Matthias
f36bc80ad1
Add parametrized tests for get_buy_rate
2020-01-22 19:43:02 +01:00
Matthias
8a940eb0c1
Align price finding function name on buy side with get_sell_rate
2020-01-22 14:46:28 +01:00
Matthias
6e3336cb30
Adapt test to verify behaviour of stoploss_on_exchange in dry-run
2020-01-20 20:10:06 +01:00
Matthias
10d9db72a8
Adjust tests slightly
2020-01-19 20:06:04 +01:00
Matthias
16b34e11ca
Complete rename of stoploss_limit to stoploss
2020-01-19 14:40:09 +01:00
Matthias
da0af489a2
Adjust tests to pass in order_types instead of rate
2020-01-19 13:25:41 +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