Matthias
1f086e1466
Modify test loglevel
2020-09-19 09:46:32 +02:00
Matthias
962fed24b0
Readd refind_order logic
2020-09-14 17:34:13 +02:00
Matthias
77c28187a6
Don't run refind order on stoploss
2020-09-11 20:06:05 +02:00
Matthias
aa8832f70e
Convert select_order to use ft_is_open flag
2020-09-11 07:12:10 +02:00
Matthias
4db8c779fc
Fix formatting issues
2020-09-10 08:19:40 +02:00
Matthias
23f569ea38
Add test for sell order refind, improve overall test for this function
2020-09-10 08:03:26 +02:00
Matthias
3c521f55b2
Add 6th mock trade
2020-09-10 07:40:19 +02:00
Matthias
083c358044
Fix wrong sequence in test
2020-09-09 07:57:02 +02:00
Matthias
25938efee6
Add partial test for refind_order
2020-09-09 07:50:52 +02:00
Matthias
98840eef3c
Add 5th mock trade
2020-09-09 07:01:43 +02:00
Matthias
caf0476717
Add test for handle_insufficient_funds
2020-09-09 06:49:29 +02:00
Matthias
8af610b543
Add Test for reupdate_buy_order_fees
2020-09-09 06:42:36 +02:00
Matthias
f3e0370d4d
Stylistic fixes
2020-09-07 07:54:55 +02:00
Matthias
6518e7a789
Add test for update_closed_trades_without_fees
2020-09-07 07:47:38 +02:00
Matthias
f113b45036
Refactor test to not duplicate order info
2020-09-07 06:53:11 +02:00
Matthias
f6ebe51314
Add test for update_open_orders
2020-09-06 19:32:00 +02:00
Matthias
5fba446e9a
Merge branch 'develop' into db_keep_orders
2020-09-06 15:22:13 +02:00
Matthias
b4da36d6e9
Fix small typo and add small testcase
2020-09-06 15:05:47 +02:00
Matthias
7c1f111ddf
Add insufficient_funds_test
2020-09-06 14:59:43 +02:00
Matthias
cec98ad407
Test stoploss insufficient funds handling
2020-09-06 14:51:48 +02:00
Matthias
b2373fccfd
Adjust tests as send_msg is only called once
2020-08-27 06:35:28 +02:00
Matthias
9c0a3fffd7
Avoid double notifications in case of partially filled buy orders
2020-08-26 22:17:43 +02:00
Matthias
311b55fc24
Merge branch 'develop' into db_keep_orders
2020-08-23 19:31:59 +02:00
Matthias
a55dd8444d
Fix loglevel of using_cached-rate
2020-08-23 19:31:35 +02:00
Matthias
4ecb67d1d1
Merge branch 'develop' into db_keep_orders
2020-08-23 10:36:56 +02:00
Matthias
fc42d552ab
Convert logs to fstrings
2020-08-22 08:59:50 +02:00
Matthias
0b6014fae3
update_trade_state should take the order id directly - not from the trade object
2020-08-21 07:17:52 +02:00
Matthias
838985f6a0
Don't reset open-order-id just yet
...
it's needed to get the fees
2020-08-21 07:13:13 +02:00
Matthias
3d515ed5bf
Merge pull request #3558 from freqtrade/bt_add_maxdrawdown
...
Revise backtesting export format, add some metrics
2020-08-19 06:39:47 +02:00
Matthias
1a305ea8b0
Fix migrations to use unique key
2020-08-14 09:52:46 +02:00
Matthias
2ca6547baf
Update tests to have unique ordernumbers
2020-08-14 09:52:46 +02:00
Matthias
ebd755e36a
Improve order handling
2020-08-14 09:52:46 +02:00
Matthias
0af9e913d4
Timestamps are in ms
2020-08-14 09:52:46 +02:00
Matthias
4924d8487e
Extract "update order from ccxt" to it's onw function
2020-08-14 09:52:46 +02:00
Matthias
ee7b235cdc
Improve tests to use open_order mock where applicable
2020-08-14 09:52:46 +02:00
Matthias
22f6e884ed
Merge pull request #3676 from freqtrade/stoploss_remove_unused_argument
...
[minor] Cleanup and exception hierarchy documentation
2020-08-14 07:11:56 +02:00
Matthias
3afd5b631e
Remove erroneous import
2020-08-12 15:34:29 +02:00
Matthias
9999d0ffb5
Merge branch 'develop' into fix/3579
2020-08-12 15:28:51 +02:00
Matthias
faa2bbb555
Document exception hierarchy
2020-08-12 14:29:14 +02:00
Matthias
1f1a819b29
Remove unused 3rd argument to create_stoploss call
2020-08-12 11:21:00 +02:00
Matthias
064928a0eb
Merge branch 'develop' into improve_cancel_order_handling
2020-08-11 15:25:47 +02:00
Matthias
87e4a82041
Merge branch 'develop' into bt_add_maxdrawdown
2020-08-09 08:34:36 +02:00
Matthias
a33346c6b6
Fix testing errors - which surfaced with pytest 6.0.1
2020-08-03 19:22:07 +02:00
Matthias
99bfa839eb
Improve logging for sell exception
2020-08-02 10:12:15 +02:00
Matthias
071e82043a
Better handle cancelled buy orders
2020-08-01 15:59:50 +02:00
Matthias
db8f3a9e9b
Merge pull request #3609 from thopd88/develop
...
Add telegram /trades command
2020-07-25 16:45:09 +02:00
Matthias
8300eb59d4
Extend create_mock_trades to create 4 trades
...
2 closed, and 2 open trades
2020-07-23 07:50:28 +02:00
Matthias
21dcef1134
Add trade_id to webhooks
...
allowing for easier corelation of different messages
2020-07-20 19:57:05 +02:00
Matthias
98f2e79f27
Adjust tests to use correctly trimmed amount
2020-07-15 20:55:33 +02:00
hroff-1902
839b3340e6
Merge pull request #3497 from freqtrade/keep_dataframe_noapi
...
Analyze dataframe and keep it until the next analysis
2020-07-05 13:46:02 +03:00
Matthias
1339479882
Have sell_type stringify correctly
2020-07-03 06:58:27 +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
Matthias
c6124180fe
Fix bug when fetching orders fails
2020-06-28 19:45:42 +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
29d3ff1bc9
Adjust tests to work with ExchangeError
2020-06-28 16:04:04 +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
dea7e3db01
Use supress_errors in strategy wrapper - ensure it's called once
2020-06-18 06:50:06 +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
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