Sam Germain
b2a1124a26
Merge branch 'feat/short' of https://github.com/freqtrade/freqtrade into feat/short
2022-01-04 00:17:42 -06:00
Matthias
e57c2d64a5
Merge pull request #5888 from samgermain/contract-sizes
...
Convert contract size to underlying asset size
2022-01-03 21:55:19 +01:00
Matthias
293ffeae67
Fix random test failure in funding test
2022-01-03 20:18:43 +01:00
Sam Germain
707a6507b5
removed redundant todos
2022-01-02 21:46:06 -06:00
Matthias
35fe7239ed
Also test mixed version (both long and short trades)
2022-01-02 13:17:49 +01:00
Matthias
7f88f9bf27
Revert unintended double-call of amount conversion
2022-01-02 13:11:29 +01:00
Sam Germain
67a5739501
fixed test_get_trades_for_order for contracts
2022-01-01 15:39:16 -06:00
Sam Germain
33ab3c1bea
Removed some todo-lev comments
2022-01-01 14:10:24 -06:00
Sam Germain
3d4a5eab81
fixed flake8 error
2022-01-01 13:52:06 -06:00
Sam Germain
48567a1301
fixe broken test_get_min_pair_stake_amount
2022-01-01 13:52:06 -06:00
Sam Germain
230dd15ee7
fixed test_amount_to_precision
2022-01-01 13:52:06 -06:00
Sam Germain
f92d47a16b
exchange._contracts_to_amount and exchange._amount_to_contracts safe checks
2022-01-01 13:52:06 -06:00
Sam Germain
6ab0e870c2
fixed breaking test test_amount_to_precision
2022-01-01 13:52:06 -06:00
Sam Germain
d105bb764a
test__get_contract_size creates its own markets instead of using the markets from conftest
2022-01-01 13:52:06 -06:00
Sam Germain
a85566d6c3
test_exchange.test_create_order removed # assert api_mock.create_order.call_args[0][3] == 100
2022-01-01 13:52:06 -06:00
Matthias
8da596f66d
Implement PR feedback
2022-01-01 13:52:01 -06:00
Sam Germain
78d1a267f0
contract-sizes tests
2022-01-01 13:50:50 -06:00
Sam Germain
d0a300a2e1
Added TODOs
2022-01-01 13:50:49 -06:00
Sam Germain
4f6203e45f
Added conversions from contract size to amount for objects returned from api
2022-01-01 13:50:43 -06:00
Sam Germain
ee63f12236
Revert "Removed leverage param from get_min_pair_stake_amount"
...
This reverts commit 096588550ca1de5e5edf63cf7214af037d7bc93b.
2022-01-01 13:49:09 -06:00
Sam Germain
ef6ad0e6d7
Removed leverage param from get_min_pair_stake_amount
2022-01-01 13:49:09 -06:00
Matthias
ddfbe55e7c
Merge branch 'develop' into feat/short
2022-01-01 19:16:49 +01:00
Matthias
9becd20f20
Improve "Missing data" messages
2022-01-01 10:37:58 +01:00
Matthias
713b884d9b
Fix failing monthly test
2022-01-01 10:37:43 +01:00
Sam Germain
9a220f6cfe
removed a few todos
2021-12-31 07:30:01 -06:00
Sam Germain
08b738a5d9
removed outdated todo in kraken
2021-12-31 06:26:13 -06:00
Sam Germain
250edae193
test__async_get_historic_ohlcv parametrized candle_type
2021-12-31 06:00:56 -06:00
Rokas Kupstys
a715083fc0
Reduce memory usage by not holding on to no longer needed data.
2021-12-31 12:10:01 +02:00
Matthias
b1b2eebd11
Change sequence of ROI/sell signal to favor sell-signal
2021-12-30 20:00:58 +01: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
3c4eda14b1
Remove unused test parameter
2021-12-30 17:34:45 +01:00
Matthias
2395988bf8
Leverage defaults to 1.0, which should not be shown.
2021-12-30 17:32:36 +01:00
Matthias
45ac3b3562
Change formatting slightly
2021-12-30 17:18:46 +01:00
Matthias
bd98637ae9
Fail gracefully from plot-profit when no data is provided
...
closes #6132
2021-12-30 10:14:45 +01:00
Matthias
73276f1351
Remove default argument from "download trades" test
2021-12-29 17:36:47 +01:00
Matthias
77afb7b5e2
Merge pull request #6114 from cdimauro/reduce_kucoin_logs
...
Reduce kucoin logs
2021-12-29 17:33:21 +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
Wade Dyck
ac06da40e4
Explicitly set the trading-mode to spot for the --dl-trades download test.
2021-12-28 11:43:42 -07:00
Wade Dyck
5bb2d3baea
Revert "Remove the guards against downloading data in futures mode."
...
This reverts commit 82cdfba494
.
2021-12-28 11:35:17 -07:00
Matthias
24807515c1
Fix random test failure
2021-12-28 09:04:14 +01:00
Wade Dyck
82cdfba494
Remove the guards against downloading data in futures mode.
2021-12-27 12:48:42 -07:00
Wade Dyck
a5742b3bbc
Fixes a failing test_history due to changed log message.
2021-12-27 11:26:49 -07:00
Matthias
bb65621134
Simplify test, simplify "log_*" selection
2021-12-27 17:14:59 +01:00
Matthias
54858a0bbb
Simplify test to only initialize and mock once.
2021-12-27 16:39:47 +01:00
Matthias
314e10596b
Remove checking against logger_name in num_log_has
2021-12-27 16:39:31 +01:00
cdimauro
f77b8cbb7a
Reduce KuCoin logs only for 429000 error
...
Only KuCoin messages for 429000 error code are logged once.
Logs functions are also simplified and optimized.
test_remove_logs_for_pairs_already_in_blacklist is simplified as well.
2021-12-26 21:09:25 +01:00
cdimauro
6509c38717
Introduce new test functions to check logs
...
New functions log_contains, num_log_contains, num_log_has and num_log_has_re
are introduced in the conftest module to help and simplify checking:
- if logs contain a string;
- count how many messages contain a string;
- count how many messages are the given string;
- count how many messages matchs a regex.
A couple of existing tests are changed using the new functions.
2021-12-26 09:49:14 +01:00
cdimauro
fbaf46901e
Reduce more KuCoin logs on retrier decorator
...
More logs are reduced, for KuCoin, on the retrier_async decorator:
_async_get_candle_history() returned exception
retrying _async_get_candle_history() still for
Giving up retrying: _async_get_candle_history()
Applying DDosProtection backoff delay
2021-12-26 09:06:26 +01:00