Matthias
|
440967e483
|
Update some tests
|
2022-03-28 19:17:22 +02:00 |
|
Matthias
|
bcf326a035
|
Initial steps to change bid/ask pricing to enter/exit
|
2022-03-27 18:03:49 +02:00 |
|
Matthias
|
4424dcc2df
|
Fix odd test
|
2022-03-26 12:01:28 +01:00 |
|
Matthias
|
0624817242
|
update unfilledtimeout settings to entry/exit
|
2022-03-26 11:55:11 +01:00 |
|
Matthias
|
6f1b14c013
|
Update buy_timeout and sell_timeout methods
|
2022-03-25 19:57:06 +01:00 |
|
Matthias
|
f8e87e45a5
|
Merge pull request #6576 from samgermain/funding-tests
funding_fee tests
|
2022-03-25 15:11:45 +01:00 |
|
Matthias
|
dcfa3e8648
|
Update SellType to ExitType
|
2022-03-25 06:55:37 +01:00 |
|
Matthias
|
c07883b1f9
|
Move ExitCheckTuple to enums
|
2022-03-25 06:50:18 +01:00 |
|
Matthias
|
8d111d357a
|
Update SellCheckTuple to new naming
|
2022-03-25 06:46:29 +01:00 |
|
Matthias
|
62e8c7b5b7
|
Rename parameter to avoid ambiguity
|
2022-03-25 06:39:57 +01:00 |
|
Matthias
|
b1e3ead88b
|
Merge branch 'develop' into feat/short
|
2022-03-22 20:28:38 +01:00 |
|
Matthias
|
247635db79
|
Fix tests
|
2022-03-22 19:28:13 +01:00 |
|
Matthias
|
4fd0681265
|
Combine stake_amount recalculation
|
2022-03-20 20:00:30 +01:00 |
|
adriance
|
f01c9cd28c
|
fix taker stake amount with leverage
|
2022-03-20 20:06:32 +08:00 |
|
Matthias
|
fcec071a08
|
Use order date to fetch trades
using the trade open-date may fail in case of several trade-entries spread over a longer timeperiod.
closes #6551
|
2022-03-20 09:46:51 +01:00 |
|
Matthias
|
35607ae03b
|
Add test for min_leverage
|
2022-03-19 15:44:37 +01:00 |
|
Matthias
|
cfa9458bcc
|
Merge branch 'develop' into feat/short
|
2022-03-13 15:38:12 +01:00 |
|
Matthias
|
efc313b28b
|
Merge pull request #6512 from freqtrade/short_order_types
Short order types renamal
|
2022-03-12 09:32:16 +01:00 |
|
Matthias
|
9ff52c0a93
|
Add test for emergencysell behaviour
|
2022-03-11 08:26:28 +01:00 |
|
Matthias
|
cb9da78a27
|
Merge branch 'develop' into feat/short
|
2022-03-10 06:54:20 +01:00 |
|
Matthias
|
93a91bdeee
|
Update order_Types documentation
|
2022-03-09 07:44:21 +01:00 |
|
Matthias
|
51828a0b0b
|
Update buy-signals to entry wording
|
2022-03-09 07:03:37 +01:00 |
|
Matthias
|
5d4386f037
|
Implement order_types validation
|
2022-03-09 06:37:08 +01:00 |
|
Matthias
|
f2ed6165e9
|
convert price to precision price before verifying stoploss adjustment
closes #6504
|
2022-03-08 19:35:30 +01:00 |
|
Matthias
|
d2a163e2cf
|
rename column to liquidation_price
|
2022-03-07 17:16:33 +01:00 |
|
Matthias
|
6360ef029c
|
Simplify and align liquidation price handling
|
2022-03-06 16:27:55 +01:00 |
|
Matthias
|
612ede5e48
|
Merge pull request #6468 from samgermain/todos
todos
|
2022-03-06 16:03:05 +01:00 |
|
Matthias
|
08d8dfaee6
|
Remove wrong import
|
2022-03-06 14:47:26 +01:00 |
|
Matthias
|
81d4a61353
|
Update more trades
|
2022-03-06 14:33:04 +01:00 |
|
Matthias
|
bc37f67e76
|
Add one more test
|
2022-03-06 14:18:25 +01:00 |
|
Matthias
|
685820cc12
|
Fix failures due to non-happening rounding
|
2022-03-04 19:48:34 +01:00 |
|
Sam Germain
|
488da9b875
|
Merge branch 'develop' into feat/short
|
2022-03-03 13:51:52 -06:00 |
|
Matthias
|
5332c441b9
|
Fix fail test - add more TODO's
|
2022-03-03 07:00:10 +01:00 |
|
Matthias
|
c2b90afa61
|
Merge branch 'develop' into pr/stash86/6458
|
2022-03-01 19:31:36 +01:00 |
|
Matthias
|
a2c9879375
|
Reset sell-reason if order is cancelled
|
2022-03-01 19:30:16 +01:00 |
|
Matthias
|
8e2d3445a7
|
Move leverage_prep calculations to exchange class
|
2022-02-28 19:29:42 +01:00 |
|
Matthias
|
0ebf40f390
|
Don't call amount_to_precision twice on entry
|
2022-02-27 15:57:44 +01:00 |
|
Sam Germain
|
7508f79b6c
|
test_freqtradebot, is_short tests
|
2022-02-26 13:55:52 -06:00 |
|
Matthias
|
5826698c04
|
Don't emergencysell partial sold exit
closes #6457
|
2022-02-25 15:07:35 +01:00 |
|
Matthias
|
fd936e26ae
|
Merge branch 'develop' into feat/short
|
2022-02-24 19:56:42 +01:00 |
|
Matthias
|
8952829adc
|
Merge branch 'develop' into feat/short
|
2022-02-23 06:28:15 +01:00 |
|
Matthias
|
dc7bcf5dda
|
Update failing test
|
2022-02-20 14:29:26 +01:00 |
|
Matthias
|
db540dc990
|
Orders should also store fee if in receiving currency
|
2022-02-20 14:24:27 +01:00 |
|
Matthias
|
c3c815e794
|
Merge pull request #6425 from samgermain/stake-amount
leverage in trade.stake_amount calculation
|
2022-02-19 20:11:23 +01:00 |
|
Matthias
|
e9f451406c
|
Use correct order id
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
874c161f78
|
Update more tests to use order_obj to update trade
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
508e677d70
|
Fix some tests to call update_trade with order object
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
0bbbe2e96c
|
Add test for #6429
|
2022-02-19 06:39:43 +01:00 |
|
Matthias
|
989edca622
|
Add test-case for cancel stake update with leverage
|
2022-02-18 06:41:15 +01:00 |
|
Matthias
|
8bdc77eb4d
|
Add TODO-lev for tests which define is_short but don't use it
|
2022-02-18 06:38:51 +01:00 |
|
Sam Germain
|
88a8ff2f4e
|
Merge branch 'feat/short' into leverage-tiers
|
2022-02-16 08:05:51 -06:00 |
|
Sam Germain
|
183f85efe3
|
test_execute_entry fixed
|
2022-02-16 05:08:11 -06:00 |
|
Matthias
|
09cc43b533
|
Test short trade exiting
|
2022-02-13 16:33:06 +01:00 |
|
Matthias
|
5b65448e56
|
Fix some todo-lev's in tests
|
2022-02-13 16:17:41 +01:00 |
|
Matthias
|
b98297786c
|
Update failing mock
|
2022-02-13 12:56:32 +01:00 |
|
Sam Germain
|
8fe3f0c933
|
fix breaking tests
|
2022-02-12 23:08:42 -06:00 |
|
Sam Germain
|
9e599455e7
|
test_execute_entry mocks get_max_leverage
|
2022-02-12 23:02:16 -06:00 |
|
Sam Germain
|
e987e0e2a9
|
exchange minor fixes
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
fe56c8c91e
|
mock get_max_pair_stake_amount in test_execute_entry
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
a99cf2eeed
|
redid get_max_leverage
|
2022-02-12 23:02:07 -06:00 |
|
Sam Germain
|
a5aba4813d
|
moved get_maintenance_ratio_and_amt to base.exchange. Wrote get_leverage_tiers. Added mmr_key to exchange._ft_has
|
2022-02-12 23:01:30 -06:00 |
|
Matthias
|
c769e9757d
|
Improve "order refind" to also work for stoploss orders
|
2022-02-12 20:13:12 +01:00 |
|
Sam Germain
|
6ae85f9be1
|
fixed liq-buffer tests
|
2022-02-11 19:38:59 +01:00 |
|
Sam Germain
|
e5d68f12d2
|
Added liquidation_buffer to freqtradebot
|
2022-02-11 19:38:58 +01:00 |
|
Matthias
|
0c6d92a7a6
|
Merge branch 'develop' into feat/short
|
2022-02-11 17:02:04 +01:00 |
|
Matthias
|
e08006ea25
|
Adjust tests to use order Object
|
2022-02-05 16:28:47 +01:00 |
|
Sam Germain
|
dc6cb445fd
|
Merge branch 'feat/short' into max-amount
|
2022-02-04 04:42:38 -06:00 |
|
Matthias
|
6afad6c99f
|
Small change to todo comment
|
2022-02-04 07:20:27 +01:00 |
|
Sam Germain
|
30c476e3c1
|
freqtradebot.get_valid_enter_price_and_stake gets min of stake_amount and max_stake_amount before calling wallets.validate_stake_amount
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
7465037906
|
freqtradebot.execute_entry test for too high stake amount
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
d5376c2c89
|
wrote freqtradebot.test_leverage_prep
|
2022-02-03 17:48:33 -06:00 |
|
Sam Germain
|
30519aa3be
|
Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
|
2022-02-01 13:05:40 -06:00 |
|
Sam Germain
|
43db4c34d1
|
added okex back to unsupported exchanges
|
2022-01-31 12:18:30 -06:00 |
|
Sam Germain
|
b8f4cebce7
|
exchange.liquidation_price methods combined, dry_run check on exchange for liquidation price
|
2022-01-31 12:18:25 -06:00 |
|
Sam Germain
|
ede9012fcc
|
removed TODO-levs about okex liquidation price
|
2022-01-31 12:17:07 -06:00 |
|
Sam Germain
|
0c13e387fe
|
moved liquidation_price method to exchange classes
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
e4b37c6462
|
freqtradebot.leverage_prep minor fixes
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
1f1ac8ce9d
|
test_get_liquidation_price/test_get_maintenance_ratio_and_amt_binance/fill_leverage_brackets/test_validate_trading_mode_and_collateral TODO comments
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
bb2b2211d0
|
exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
0c8205ab3b
|
replace single quote docstrings with double quote docstrings
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
387a9fbf36
|
test_execute_entry liquidation_price test test_get_maintenance_ratio_and_amt_gateio
|
2022-01-31 12:16:38 -06:00 |
|
Matthias
|
463714832d
|
Merge branch 'develop' into feat/short
|
2022-01-29 14:19:30 +01:00 |
|
Matthias
|
002226f5fd
|
Update setting to max_entry_position_adjustment
|
2022-01-27 16:57:50 +01:00 |
|
Matthias
|
57067ce88d
|
Add tests for max_adjustment_buy handling
|
2022-01-23 19:07:37 +01:00 |
|
Matthias
|
d3713cf245
|
Fix fee test
|
2022-01-22 19:46:11 +01:00 |
|
Matthias
|
f090dcc597
|
Merge branch 'develop' into feat/short
|
2022-01-22 17:56:01 +01:00 |
|
Matthias
|
711a6a6dbc
|
Merge branch 'develop' into pr/xataxxx/6079
|
2022-01-02 22:21:41 +01:00 |
|
Sam Germain
|
33ab3c1bea
|
Removed some todo-lev comments
|
2022-01-01 14:10:24 -06:00 |
|
Matthias
|
ddfbe55e7c
|
Merge branch 'develop' into feat/short
|
2022-01-01 19:16:49 +01:00 |
|
Sam Germain
|
9a220f6cfe
|
removed a few todos
|
2021-12-31 07:30:01 -06:00 |
|
Matthias
|
b63491fb9c
|
Update ROI_if_buy_signal tests to not use sell signal
|
2021-12-30 19:51:49 +01:00 |
|
Matthias
|
4b79d435ad
|
Merge pull request #6084 from aezomz/lev-telegram
Telegram and Webhook updates
|
2021-12-30 19:17:58 +01:00 |
|
Matthias
|
45ac3b3562
|
Change formatting slightly
|
2021-12-30 17:18:46 +01:00 |
|
Aezo Teo
|
ee7cbcd69f
|
fixed flake8 and mypy errors
|
2021-12-29 21:48:50 +08:00 |
|
Aezo Teo
|
1f773671ed
|
updated tests and telegram
|
2021-12-29 21:24:12 +08:00 |
|
Matthias
|
d3f3c49b13
|
Fix minor "gotchas"
|
2021-12-26 15:29:10 +01:00 |
|
Reigo Reinmets
|
fa01cbf546
|
iSort
|
2021-12-21 22:23:01 +02:00 |
|
Reigo Reinmets
|
f6d36ce56b
|
Fix the dca order not being counted bug.
|
2021-12-20 22:07:42 +02:00 |
|
Reigo Reinmets
|
f28d95ffb5
|
Add test for position adjust
|
2021-12-19 12:27:17 +02:00 |
|
Matthias
|
f9aa36f291
|
Don't hard-fail when executing emergency sell fails
closes #6068
|
2021-12-15 19:37:35 +01:00 |
|
Matthias
|
17bd990053
|
Update funding_fee freqtradebot test
|
2021-12-11 09:49:48 +01:00 |
|
Matthias
|
9b9d61c6d6
|
Remove SPOT_ candletype
|
2021-12-08 14:38:09 +01:00 |
|
Matthias
|
e75f31ee86
|
Create correct Type for PairWithTimeFrame
|
2021-12-03 15:20:18 +01:00 |
|
Matthias
|
d30aaaeaaa
|
Tests should also use CandleType
|
2021-12-03 14:27:04 +01:00 |
|
Matthias
|
f4d0abc51a
|
Merge branch 'feat/short' into pr/samgermain/5780
|
2021-12-02 07:09:37 +01:00 |
|
Matthias
|
f71b7a4e76
|
Merge branch 'develop' into feat/short
|
2021-12-02 06:53:15 +01:00 |
|
Matthias
|
5ce1eeecf5
|
Reorder messages to be sent in correct order
buy first, then buy fill,
sell first, then sell fill.
|
2021-12-01 19:57:24 +01:00 |
|
Sam Germain
|
920151934a
|
Added candle_type to a lot of methods, wrote some tests
|
2021-11-21 17:48:14 -06:00 |
|
Matthias
|
c26c0b6822
|
Merge branch 'feat/short' into short_buy_tag_compat
|
2021-11-21 19:31:59 +01:00 |
|
Matthias
|
aad37bb8f3
|
Merge pull request #5924 from freqtrade/feat/leverage
call leverage methods
|
2021-11-21 19:30:27 +01:00 |
|
Matthias
|
983484accd
|
Remove fluky test (seconds still tick with time_machine)
|
2021-11-21 10:36:39 +01:00 |
|
Matthias
|
36deced00b
|
Remove more buy_tag references
|
2021-11-21 09:55:10 +01:00 |
|
Matthias
|
988f4d5190
|
Test leverage call in freqtradebot
|
2021-11-19 19:34:59 +01:00 |
|
Matthias
|
f40221dd9f
|
Merge branch 'develop' into feat/short
|
2021-11-18 20:20:01 +01:00 |
|
Matthias
|
60cf52aa34
|
Remove unused test code
|
2021-11-15 07:10:58 +01:00 |
|
Sam Germain
|
f101419a47
|
Merge branch 'feat/short' into todo-rpc
|
2021-11-14 20:48:55 -06:00 |
|
Matthias
|
e7499b7c44
|
Improve leggibility of test
|
2021-11-14 19:53:08 +01:00 |
|
Matthias
|
9102590365
|
Improve tests by also having a "Mixed" case
|
2021-11-14 19:22:12 +01:00 |
|
Sam Germain
|
3c509a1f9b
|
New method for combining all funding fees within a time period
|
2021-11-13 04:45:23 -06:00 |
|
Matthias
|
6b40792f80
|
Merge branch 'feat/short' into funding-fee-dry-run
|
2021-11-12 08:06:29 +01:00 |
|
Matthias
|
68083b7fdd
|
Fix sqlinsert failure in test
|
2021-11-11 20:07:56 +01:00 |
|
Matthias
|
4eb9038358
|
Some more fixes to % formatting
|
2021-11-11 15:06:16 +01:00 |
|
Matthias
|
f8d30abd79
|
Handle order returns that contain trades directly
binance market orders - and potentially other exchanges
|
2021-11-10 19:43:36 +01:00 |
|
Matthias
|
f7b2c0c5d7
|
Remove unneeded assignment from tests
|
2021-11-10 19:16:37 +01:00 |
|
Matthias
|
e7d1630c92
|
Add space
|
2021-11-10 16:51:31 +01:00 |
|
Sam Germain
|
43174760ef
|
Added exit trade funding_fees check but test fails because of sql integrity error test_update_funding_fees
|
2021-11-10 01:19:51 -06:00 |
|
Sam Germain
|
b87f8e7034
|
Removed unnecessary todo comments
|
2021-11-10 00:59:53 -06:00 |
|
Matthias
|
d3d17f9f8b
|
Only allow min-stake adjustments of up to 30%
fix #5856
|
2021-11-10 06:57:22 +01:00 |
|
Sam Germain
|
6c8501dadc
|
Removed docstring indents
|
2021-11-09 01:00:57 -06:00 |
|
Matthias
|
2bfec7d549
|
Add small test-case confirming trade object copy
|
2021-11-08 20:14:32 +01:00 |
|
Sam Germain
|
7122cb2fe9
|
updated test_get_funding_fees to test for funding fees at beginning of trade also
|
2021-11-08 01:58:23 -06:00 |
|
Sam Germain
|
252e45ebf2
|
Merge branch 'feat/short' into funding-fee-dry-run
|
2021-11-06 22:46:00 -06:00 |
|
Sam Germain
|
8bfcf4ee09
|
Fixed breaking exchange tests from _get_funding_fee_dates, and commented out kraken get_funding_fees tests
|
2021-11-06 22:05:38 -06:00 |
|
Sam Germain
|
b88482b2e9
|
Fixed millisecond timestamp issue errors with funding fees
|
2021-11-06 21:45:35 -06:00 |
|
Sam Germain
|
48b34c8fd0
|
Fixed issues with funding-fee being miscalculated on trade objects in freqtradebot
|
2021-11-06 21:03:18 -06:00 |
|
Sam Germain
|
f795288d90
|
Fixed timestamp/datetime issues for mark price, funding rate and _get_funding_fee_dates
|
2021-11-06 20:48:03 -06:00 |
|
Sam Germain
|
6e912c1053
|
Updated _get_funding_fee method names, added kraken._get_funding_fee
|
2021-11-06 17:39:21 -06:00 |
|
Matthias
|
ebc38159b8
|
Merge branch 'develop' into feat/short
|
2021-11-06 15:24:52 +01:00 |
|
Matthias
|
f7dc47b1c8
|
Add test for exit_timeout_count
|
2021-11-06 13:10:41 +01:00 |
|
Sam Germain
|
cb97c6f388
|
Updated time to utc in test_update_funding_fees, some funding rate key errors because a timestamp is likely not in utc
|
2021-11-06 05:56:58 -06:00 |
|
Sam Germain
|
fd63fa7dda
|
Updated test_update_funding_fees to compile fine but the assertion is incorrect
|
2021-11-06 05:42:41 -06:00 |
|
Rokas Kupstys
|
98b475a00b
|
Use lambdas instead of a static number of side-effects.
|
2021-11-06 10:23:46 +02:00 |
|
Matthias
|
ae3b53014d
|
Add failing test for OKEX failure
part of #5842
|
2021-11-05 19:44:02 +01:00 |
|
Sam Germain
|
8a4236198f
|
Added test_update_funding_fees in freqtradebot, test currently fails
|
2021-11-03 22:52:37 -06:00 |
|
Matthias
|
6b90b4a144
|
Test "get-signal"
|
2021-10-31 10:53:30 +01:00 |
|
Matthias
|
1267374c8a
|
Small fixes to tests
|
2021-10-20 19:21:38 +02:00 |
|
Matthias
|
028e5de935
|
Remove space after @ decorator in tests
|
2021-10-20 16:53:24 +02:00 |
|
Sam Germain
|
57d7009fd9
|
Added trading mode and collateral to constants.py
|
2021-10-18 01:21:41 -06:00 |
|
Matthias
|
ad2c88b991
|
Reduce test-code duplication by importing functions
|
2021-10-17 17:00:25 +02:00 |
|
Matthias
|
e8f98e473d
|
Fix a few more tests
|
2021-10-17 11:08:54 +02:00 |
|