Sam Germain
8f38d6276f
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 00:45:55 -06:00
Sam Germain
e13b0414d8
Merge branch 'lev-strat' into lev-freqtradebot
2021-09-08 00:00:53 -06:00
Sam Germain
dc83e04f9b
Merge branch 'feat/short' into lev-exchange
2021-09-07 22:13:20 -06:00
Sam Germain
ff790e8fd3
merged with caplog-clear-freqtradebot
2021-09-07 22:12:49 -06:00
Sam Germain
79ca6135a2
added caplog clears to freqtradebot tests
2021-09-07 21:53:38 -06:00
Sam Germain
7eab855476
Merge branch 'feat/short' into lev-exchange
2021-09-04 20:15:36 -06:00
Matthias
ca44d2e092
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-04 19:54:34 +02:00
Matthias
5184cc7749
Merge branch 'develop' into feat/short
2021-09-02 07:03:14 +02:00
Matthias
c4be52d1c3
rename execute_sell to execute_trade_exit
2021-08-26 06:53:42 +02:00
Matthias
63844d39f6
Rename execute_buy to execute_entry
2021-08-26 06:48:26 +02:00
Matthias
b61735937c
Replace Patch_get_signal with proper calls
2021-08-25 21:05:55 +02:00
Matthias
f4242106d9
Merge branch 'develop' into feat/short
2021-08-24 20:53:21 +02:00
Matthias
60b476611c
Simplify a number of tests by relying on default arguments
2021-08-24 20:51:59 +02:00
Matthias
957551ea97
Merge branch 'develop' into feat/short
2021-08-24 06:25:06 +02:00
Sam Germain
e5b2b64a3f
Changed stoploss side on some tests
2021-08-22 23:36:36 -06:00
Matthias
9951f51079
Update test to ensure direction of movement is correct
2021-08-18 20:24:19 +02:00
axel
2fb9f6e2f4
rename custom price max distance option in config, update formula and test associated
2021-08-18 05:07:37 -04:00
axel
faff40577a
fix test_execute_buy In case of custom entry price
2021-08-16 15:33:05 -04:00
axel
3ea4b2ba00
add custom_price_max_distance_percent security to get_valid_price, update tests
2021-08-16 15:18:57 -04:00
axel
20cc60bfde
update get_valid_price function and test cases to handle inputs with try catch
2021-08-13 11:06:15 -04:00
axel
dbf7f34ecb
add unit test to function get_valid_price
2021-08-12 15:30:49 -04:00
axel
ae11be3970
manage None or string value returned by custom_entry_price and add unit test for those cases
2021-08-12 14:47:01 -04:00
Sam Germain
2c0077abc7
Exchange stoploss function takes side
2021-08-08 23:24:03 -06:00
axel
0aeebc9d53
add test for custom exit price
2021-08-05 17:57:45 -04:00
axel
2cf781f3dd
add freqtradebot execute_buy test in custom entry price case
2021-08-04 18:32:39 -04:00
axel
bc3e6deb1c
remove specific test for buy with custom entry
2021-08-03 17:09:52 -04:00
axel
b3dafb378e
remove use_custom_entry_price as a config option
2021-08-03 16:54:28 -04:00
axel
00939b63f2
flake 8 fixes
2021-08-03 16:25:18 -04:00
axel
f11f5d17e9
add feature custom entry price for live
2021-08-03 15:57:23 -04:00
Sam Germain
d88e2ae603
Merge branch 'develop' into margin-db
2021-08-02 23:58:44 -06:00
Matthias
d8d8261f1b
Merge pull request #5318 from samgermain/combined_exchange_buy_sell
...
combined exchange.buy and exchange.sell
2021-08-02 20:11:09 +02:00
Sam Germain
25c527ee67
combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot
2021-07-28 14:55:06 -06:00
Sam Germain
3fb7f983f8
Added is_short and leverage to __repr__
2021-07-28 12:25:56 -06:00
kevinjulian
ba0fa1120a
revert rename naming
2021-07-23 18:39:18 +07:00
kevinjulian
235c1afd09
add buy_tag on telegram
2021-07-22 01:53:15 +07:00
kevinjulian
66a7070170
run linter
2021-07-20 23:56:03 +07:00
Kevin Julian
edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name
2021-07-20 19:19:46 +07:00
kevinjulian
ed30c023cd
fix some testcase
2021-07-20 19:08:14 +07:00
kevinjulian
ec526b3f96
fix testcase
2021-07-20 16:22:04 +07:00
kevinjulian
7d04005218
add test and migration
2021-07-20 16:14:48 +07:00
Sam Germain
7c27525bd8
Merge get_buy_rate and get_sell_rate
2021-07-17 22:51:20 -06:00
Matthias
7ea0a74c53
Default to proposed stake
2021-07-11 14:11:41 +02:00
Rokas Kupstys
0e4466ca1e
Implement strategy-controlled stake sizes. Expose self.wallet
to a strategy.
2021-07-11 12:38:58 +03:00
Matthias
0235868c66
Update tests for new config structure
2021-06-26 16:39:01 +02:00
Matthias
59a33d0fa9
Add test for ask_orderbook validation
2021-06-25 20:52:34 +02:00
Matthias
8c542e4028
Update tests for removed order_book_max option
2021-06-25 20:45:53 +02:00
Matthias
40545e62af
Merge pull request #5082 from freqtrade/dry_run_order
...
Dry run order filling
2021-06-25 18:26:01 +02:00
Matthias
d4dfdf04fc
Move RPCMessageType to enums
2021-06-09 20:23:17 +02:00
Matthias
9c34304cb9
Move state enums to enums package
2021-06-08 21:20:35 +02:00
Matthias
89b9915c12
Update imports for SellType in tests
2021-06-08 21:07:16 +02:00
Matthias
c389d44e9a
Improve filling logic
2021-06-05 15:22:52 +02:00
Matthias
1e988c97ad
Update dry-run order handling to use realistic fill prices
...
closes #3389
2021-06-05 09:09:39 +02:00
Matthias
387f3bbc5d
Adjust missed tests
2021-06-02 11:43:47 +02:00
Matthias
bd1984386e
Move get_sell_rate to exchange class
2021-06-02 11:41:13 +02:00
Matthias
12916243ec
Move get_buy_rate to exchange class
2021-06-02 11:30:19 +02:00
Matthias
4e94d3d3e5
Add test for too small buy check
2021-05-21 19:49:36 +02:00
Matthias
6f38976470
Introduce cancel_stoploss_with_result
2021-05-16 14:15:24 +02:00
Matthias
a3d2e68312
Merge pull request #4750 from rokups/rk/custom_sell
...
Add IStrategy.custom_sell method which allows per-trade sell signal evaluation
2021-04-29 06:50:56 +02:00
Matthias
63c28b6519
Remove obsolete get_balance method
2021-04-28 16:00:12 +02:00
Rokas Kupstys
961b38636f
Remove explicit sell_flag parameter from SellCheckTuple.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
bfad4e82ad
Make execute_sell() use SellCheckTuple for sell reason.
2021-04-25 09:48:40 +03:00
Matthias
f12e002686
Merge pull request #4775 from freqtrade/fix_wallet_unlimited
...
Fix wallet unlimited
2021-04-24 15:54:06 +02:00
Matthias
d8c8a8d8c2
Remvoe pointless arguments from get_trade_stake_amount
2021-04-21 20:01:10 +02:00
Matthias
efbe0843be
Add documentation for fill messages
2021-04-20 19:23:29 +02:00
Matthias
0341ac5a55
rename RPC message types
2021-04-20 19:23:28 +02:00
Matthias
8800a09770
Don't send double-notifications for stoploss fills
2021-04-20 19:22:14 +02:00
Matthias
2254f65fa7
use binance intests instead of bittrex
2021-04-20 12:59:15 +02:00
Matthias
c9e901cf32
Move wallet tasks to test_wallets
2021-04-20 11:31:37 +02:00
Matthias
4820b4b314
Fix test failure
2021-04-10 14:52:34 +02:00
Matthias
579e68f31e
Reduce log verbosity when buying
2021-04-10 14:40:44 +02:00
Matthias
ea0b47a7f9
Replace test occurances of Trade.session with Trade.query.session
2021-04-05 07:38:07 +02:00
Matthias
b7702a1e9f
Improve tests to work with new sqlalchemy version
2021-03-22 19:39:06 +01:00
Matthias
43d7f9ac67
Add bid_last_balance parameter
...
to interpolate sell prices
closes #3270
2021-03-20 14:38:26 +01:00
Matthias
f4e71c1f14
get_buy_rate tests should be sensible
2021-03-20 14:02:13 +01:00
Matthias
16a54b3616
Don't require non-mandatory arguments
2021-03-20 13:08:02 +01:00
Matthias
37d7d2afd5
Wallets should not recalculate close_profit for closed trades
2021-02-27 09:33:00 +01:00
Matthias
d5cf837c0f
Parse regular cancel_order call to update orders table
2021-02-06 09:23:10 +01:00
Matthias
b8cb39462c
Move get_trade_stake_amount to wallets
...
this way it can be easier used by other functions
2021-02-03 20:00:33 +01:00
Matthias
cfd0bb8964
Extract min stake amount from bot to exchange class
2021-02-02 19:47:21 +01:00
Matthias
3d9b4034e6
Use already calculated current_profit for sell_profit_offset comparison
2021-02-02 08:06:19 +01:00
Matthias
16dad8b6d4
Allow custom_stoploss to cooperate with stoploss on exchange
2021-01-30 20:11:18 +01:00
Matthias
5cdd9dd445
Cache markets in the exchange object
2021-01-28 19:47:32 +01:00
Matthias
a8bae3a381
Don't update trade fees for dry-run orders
2021-01-17 20:31:27 +01:00
Matthias
b062b836cc
Add test for sell_profit_offset
2021-01-11 19:42:44 +01:00
Matthias
91f8667881
DOn't update open orders in dry-run mode
2021-01-06 09:57:36 +01:00
Matthias
7eab33de08
Merge branch 'develop' into plugins/protections_backtest
2020-12-13 10:31:33 +01:00
Matthias
14647fb5f0
Add tests for update fee
2020-12-12 11:49:52 +01:00
Matthias
6d0f16920f
Get Longest lock logic
2020-12-07 08:23:10 +01:00
Matthias
ff7ba23477
Simplify enter_positions and add global pairlock check
2020-12-07 08:23:10 +01:00
Matthias
2fbbeb970b
Gracefully handle cases where no buy price was found
...
closes #4030
2020-12-04 07:42:16 +01:00
Matthias
fefb4b23d0
revise logic in should_sell
2020-11-27 09:24:53 +01:00
Matthias
6c913fa617
Fix locking - should round before storing to have a consistent picture
2020-10-27 08:01:31 +01:00
Matthias
e602ac3406
Introduce Pairlocks middleware
2020-10-27 07:06:06 +01:00
Matthias
e513871fd5
Persist pairlocks
...
closes #3034
2020-10-20 19:21:13 +02:00
Matthias
8cdc795a44
Rename persistence.init to init_db
2020-10-16 08:15:18 +02:00
Matthias
9df366d943
Apply isort to tests
2020-09-28 19:43:15 +02:00
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
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
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
Matthias
3929ad4e1f
Fix typo
2019-10-26 09:21:51 +02:00
Matthias
2f1d9696cd
Change keepalive to heartbeat
2019-10-25 20:00:08 +02:00
Matthias
0773a65333
Add I Am Alive Message
2019-10-25 15:01:35 +02:00
Matthias
8201f70a80
Change loglevel of repeated message to debug
2019-10-25 14:19:02 +02:00
hroff-1902
9e23ca14d1
Merge pull request #2384 from freqtrade/improve_buy_timeout_handling
...
Improve buy timeout handling
2019-10-18 22:30:41 +03:00
Matthias
c649f9844e
Compare >= instead of =
2019-10-18 19:36:04 +02:00
Matthias
e55b2a1a1c
Allow test to pass on fast computers by setting the offset to -1
2019-10-18 12:36:45 +02:00
Matthias
9d739f98ac
use requested - remaining amount - not the requested amount!
2019-10-18 09:04:05 +02:00
Matthias
c181fac6c7
fix #2383
2019-10-18 06:48:39 +02:00
Matthias
0ac46eddca
Add tests for new scenario
2019-10-18 06:48:39 +02:00
Matthias
c735d35265
Extract open_trade generation from freqtradebot
2019-10-18 06:48:33 +02:00
Matthias
a39d51d7d0
Update test to use limit_buy_order
2019-10-17 19:36:57 +02:00
Matthias
85c4546333
Merge pull request #2343 from hroff-1902/move-experimental
...
Move experimental settings to ask_strategy
2019-10-10 16:08:11 +02:00
hroff-1902
9b23376415
Move experimental settings to ask_strategy
2019-10-05 13:29:59 +03:00
Matthias
78381e9e7b
Improve test to test full sell cycle
2019-10-04 14:47:37 +02:00
Matthias
38f184e50d
Update test to not mock stoploss_on_exchange
2019-10-03 06:54:15 +02:00
Matthias
1f4e5b17b7
Add basic test for execute sells_multiple logic
2019-10-03 06:37:25 +02:00
Matthias
9ee7e28ef8
Clean up some mocks
2019-10-03 06:23:58 +02:00
hroff-1902
4b29c4cdbf
Test for handling closed trade adjusted
2019-10-02 19:08:49 +03:00
hroff-1902
15aae8a58c
Tests adjusted
2019-10-02 13:51:32 +03:00
Matthias
43f2ef226c
Change rel_tol to abs_tol to avoid surprises with high priced pairs
2019-09-28 10:30:12 +02:00
Matthias
49f0a72121
Add test for rounding error on fload aggregation
2019-09-26 07:17:54 +02:00
Matthias
5978b7bb93
Add explicit test for halfbought fee adjustment
2019-09-26 07:17:49 +02:00
hroff-1902
76e45883bd
Merge pull request #2253 from hroff-1902/backtesting-improve-logs
...
Improve logs for backtesting
2019-09-14 11:23:46 +03:00
Matthias
b00467c8ef
Fix test failure
2019-09-14 10:07:23 +02:00
hroff-1902
c8d191a5c9
Adjust test
2019-09-12 22:53:54 +03:00
hroff-1902
acf3b751f0
Log sell_flag, do not log sell_type=SellType.NONE
2019-09-12 01:21:14 +03:00
hroff-1902
9bdfaf3803
Remove quotes around the pairs
2019-09-11 23:32:08 +03:00
hroff-1902
2bd59de002
Cleanup log_has_re regexp string
2019-09-11 10:56:02 +03:00
hroff-1902
a9ecdc7764
Use patched exchange instead
2019-09-11 00:53:35 +03:00
hroff-1902
869a5b4901
Eliminate asyncio warnings in tests
2019-09-10 13:45:30 +03:00
hroff-1902
2081d7552f
Make flake happy
2019-09-10 12:37:15 +03:00
hroff-1902
e298e77319
Adjust tests
2019-09-10 10:43:15 +03:00
Matthias
3430850421
don't print in tests
2019-09-08 19:47:16 +02:00
Matthias
26d76cdb19
Adjust imports in tests to new path
2019-09-08 19:05:23 +02:00
Matthias
65a516e229
Move tests out of freqtrade module
2019-09-08 19:05:22 +02:00