Matthias
de57da3249
Merge pull request #1328 from mishaker/edge_cli
...
Edge cli
2018-11-15 20:14:03 +01:00
Matthias
98df3c8103
Fix missing mock in backtesting
2018-11-15 20:02:48 +01:00
Matthias
44c682724d
Merge pull request #1327 from mishaker/max_open_trades
...
Ignoring max_open_trades if it is -1 in config.
2018-11-15 19:40:05 +01:00
Matthias
e6baa9ccf2
Switch tests to kwarguments
2018-11-15 19:31:24 +01:00
misagh
f666d1596b
renaming edge to edge_cli for command line version
2018-11-15 10:31:56 +01:00
Matthias
6a71f80a9e
Add support for different order types
2018-11-15 06:58:24 +01:00
misagh
bb9a1e5f9f
edge cli tests added
2018-11-14 19:14:34 +01:00
Matthias
23958ba96a
Merge pull request #1322 from freqtrade/feat/add_whitelist_rpc
...
Feat/add whitelist rpc
2018-11-14 19:13:00 +01:00
misagh
ac0c931492
adding number of trades + average trade duration to edge info
2018-11-14 13:38:04 +01:00
misagh
51dfd2bf47
If max_open_trade=-1 means it should be ignored.
2018-11-14 11:37:53 +01:00
Matthias
08ef2730a9
Add /whitelist call to telegram
2018-11-10 20:15:06 +01:00
Matthias
02527eeea4
Add rpc_whitelist call
2018-11-10 20:07:09 +01:00
misagh
9bbaeb4e6f
mypy expression
2018-11-10 18:39:49 +01:00
misagh
aacc1d5004
removing total capital in favour of stake amount
2018-11-10 18:28:05 +01:00
misagh
d613553306
base position on stake amount instead of total capital
2018-11-10 18:22:34 +01:00
misagh
7dd74c374a
flake happiness provided
2018-11-10 18:09:32 +01:00
misagh
97fd33d752
adding test for process
2018-11-10 18:03:46 +01:00
misagh
523a9a603c
fix tests
2018-11-10 17:20:11 +01:00
misagh
12e735e831
1) extracting edge_conf to a fixture
...
2) test cased adjusted to Backtesting
3) Formatted backtesting_details a bit
2018-11-09 20:51:15 +01:00
Matthias
59cd4fe0ef
Remove boilerplate comments
2018-11-09 19:34:46 +01:00
Matthias
292962d64d
Fix tests
2018-11-09 19:34:18 +01:00
Matthias
5c5fe4c13a
Fix test
2018-11-09 07:14:43 +01:00
Matthias
272ff51d51
correctly patch exchange
2018-11-09 07:13:20 +01:00
Matthias
56dcf080a9
Add explicit test for parallel trades
2018-11-09 07:13:20 +01:00
Matthias
9cd2ed5a16
fix hyperopt get_timeframe mock
2018-11-09 07:13:20 +01:00
Matthias
fa4c199aa6
fix some mismatches after rebase
2018-11-09 07:13:20 +01:00
Matthias
2371d1e696
Fix backtest test (don't use 8m file if we use 1m tickers)
2018-11-09 07:13:20 +01:00
Matthias
83a8d79115
Fix alternate buy/sell (this should respect the sell signal!)
2018-11-09 07:13:20 +01:00
Matthias
db17ccef2b
Adapt backtesting-tests to new backtest-logic
2018-11-09 07:13:20 +01:00
Matthias
03cda8e23e
remove meaningless backtesting test
2018-11-09 07:12:41 +01:00
Matthias
6729dfa6d3
Add get_timeframe mock for hyperopt
2018-11-09 07:12:41 +01:00
misagh
6d80c03877
removing raise KeyError in test
2018-11-08 00:28:20 +01:00
misagh
e5c6499706
assigning strategy to edge from FreqtradeBot
2018-11-08 00:22:46 +01:00
misagh
866da8aaa1
reinitializing Edge calculated data in case of inability to download
...
backtesting data
2018-11-07 19:24:53 +01:00
misagh
934dd97eb2
adding init for edge test folder
2018-11-07 18:54:21 +01:00
misagh
96a43327ca
_pair_info moved to class header for reusibility
2018-11-07 18:52:15 +01:00
misagh
6838ae0591
conflict resolved => new backtest low and high params
2018-11-07 17:56:21 +01:00
Stephen Dade
469db0d434
Decoupled custom hyperopts from hyperopt.py
2018-11-07 06:26:16 +01:00
Matthias
e0489878d8
Merge pull request #1306 from xmatthias/feat/functional_tests
...
Funcional tests / backtest stoploss alignment
2018-11-06 19:25:31 +01:00
misagh
ed24d96a79
some formatting for flake8
2018-11-04 18:57:57 +01:00
misagh
714ac6dd08
Merge branch 'develop' into money_mgt
2018-11-04 18:49:21 +01:00
misagh
120655d262
fixing tests for namedtuple
2018-11-04 18:43:57 +01:00
misagh
14bfd4b7ee
using named tuples for keeping pairs data
2018-11-04 18:11:58 +01:00
Matthias
7e5fd82f25
Merge pull request #1269 from freqtrade/feat/force_buy
...
add /forcebuy to telgram handler
2018-11-04 09:25:13 +01:00
misagh
ece1c8a702
flake8 again and again and again and again
...
https://www.youtube.com/watch?v=MuSK3pDDYD4
2018-11-02 20:12:48 +01:00
misagh
d1ba994e54
expectancy test completed
2018-11-02 20:07:45 +01:00
misagh
237233c300
renaming tests
2018-11-02 19:59:06 +01:00
misagh
2ef2754ffd
flake8 happiness satisfied
2018-11-02 19:55:41 +01:00
misagh
3eeaa50fe5
stoploss and sell signal tests done
2018-11-02 19:54:32 +01:00
misagh
333d505b66
OHLC validation corrected
2018-11-02 19:01:37 +01:00
misagh
080ecae332
whitelist conflict resolved with develop branch
2018-11-02 18:59:31 +01:00
misagh
05b8010460
removing unnecessary test cases
2018-11-02 18:10:03 +01:00
Matthias
9cadb188d7
Merge pull request #1276 from freqtrade/fix/1272
...
solve /balance crashes
2018-11-02 16:05:42 +01:00
Matthias
8316acfa78
Add column description to test-cases
2018-11-01 13:16:10 +01:00
Matthias
95d271ca5d
Fix ROI close-rate calculation to work with fees - adjust tests
2018-11-01 13:14:59 +01:00
Matthias
a321d0a820
Short descriptors
2018-10-30 20:49:12 +01:00
Matthias
daa9863d0b
Try adding headers
2018-10-30 20:45:32 +01:00
Matthias
79d1d63e6f
Align data (by halfing all data)
2018-10-30 20:42:34 +01:00
Matthias
fe2c158e59
Adjust sell-rate to new backtesting (respects roi/stoploss)
2018-10-30 20:13:56 +01:00
Matthias
9e921d4410
refactor General bt-utils out of detailed backtest file
2018-10-30 20:02:01 +01:00
Matthias
e442e22a20
refactorign
2018-10-30 19:58:06 +01:00
Matthias
9798e881cb
refactor sell_r to sell_reason
2018-10-30 19:44:31 +01:00
Matthias
fc3f8b436d
some more cleanup
2018-10-30 19:36:19 +01:00
Matthias
b383113d6c
Test open / close time - small refactorings
2018-10-30 19:33:32 +01:00
Matthias
9065e79f53
Cleanup and add some comments on what's happening in the sample snippets
2018-10-29 20:33:27 +01:00
Matthias
6096f3ca47
Simplify functional tests
2018-10-29 20:17:15 +01:00
Matthias
233c442af9
Adjust backtest so sell uses stop-loss or roi value as closerate
2018-10-29 19:27:23 +01:00
Matthias
a0e8bfbd77
shift buy-signal to one earlier (backtest shifts it forward to avoid
...
lookahead)
2018-10-29 19:27:23 +01:00
Matthias
409465ac8e
adapt functional tests for new version after rebase
2018-10-29 19:27:23 +01:00
Matthias
30a6e684a6
update with new comments and new data for tc5
2018-10-29 19:27:23 +01:00
Matthias
b8f78cb187
Refactor tests, implement @creslinux's data
2018-10-29 19:27:23 +01:00
Matthias
e0fda7a5dd
Add tests validating backtest details
2018-10-29 19:27:23 +01:00
Matthias
2f55cbde35
fix #1298
2018-10-29 19:23:56 +01:00
Matthias
db9a85f4a2
Merge pull request #1282 from freqtrade/feat/add_missingdata_warning
...
Show warning if part of backtest data is missing
2018-10-27 11:16:10 -04:00
Matthias
7e1a30f9bf
Merge pull request #1287 from freqtrade/backtest_data_validation
...
Backtest data validation
2018-10-26 07:21:24 -04:00
misagh
426db72126
removing test line
2018-10-25 17:24:33 +02:00
misagh
dfeabcf7e5
Edge tests template refactored to be more readable
2018-10-25 16:59:05 +02:00
misagh
25daf3a0f7
Merge branch 'develop' into money_mgt
2018-10-23 19:33:13 +02:00
Matthias
677a9e56af
remove skipped test (refresh_whitelist is tested in test_acl_pair)
2018-10-21 09:23:07 +02:00
Matthias
202b1d1f0b
fix #1289 - we should not modify decimal context
2018-10-21 09:21:32 +02:00
Matthias
3c6d10f03e
Print missing value count too
2018-10-18 20:05:57 +02:00
Matthias
bc356c4d65
Return true/false for validation function
2018-10-18 19:48:54 +02:00
Matthias
518dcf5209
Cleanup some tests 8m is not a valid ticker value
...
not in constants.TICKER_INTERVAL_MINUTES map
2018-10-18 19:43:04 +02:00
Matthias
fb52d32296
Add validate_backtest_data function
2018-10-18 19:42:54 +02:00
Matthias
d7459bbbf3
refactor get_timeframe out of backtesting class
2018-10-17 19:59:33 +02:00
Matthias
8a3272e7c5
don't copy tickerdata_to_dataframe into backtesting
...
it's used only once, so this does not make sense and hides the origin of
the function
2018-10-17 19:47:19 +02:00
Samuel Husso
ca2ffaa201
Merge pull request #1275 from freqtrade/telegram_enable_stopped
...
Enable analytical telegram commands when stopped
2018-10-16 19:48:23 +03:00
Matthias
631ba464f3
Show warning if part of backtest data is missing
2018-10-14 14:40:03 +02:00
Matthias
138c8152c2
remove unused import
2018-10-10 22:03:54 +02:00
Matthias
701978a4b1
Add test for dust hiding
2018-10-10 22:01:22 +02:00
Matthias
3628659810
Add tests to check if no failure occurs when pair is not available
2018-10-10 21:50:59 +02:00
Matthias
a4d2bb6f29
Fix "No market symbol" exception in telegram calls
2018-10-10 21:28:48 +02:00
Matthias
3e8e8a55fa
Enable analytical telegram commands when stopped
2018-10-10 20:58:21 +02:00
Matthias
3de3c246b4
add warning-message when forcebuy_enable is true
2018-10-10 20:23:25 +02:00
Matthias
a541d0a931
convert tests to packages
...
source: https://docs.pytest.org/en/latest/goodpractices.html
If you need to have test modules with the same name, you might add __init__.py files to your tests folder and subfolders, changing them to packages:
2018-10-09 21:13:43 +02:00
Matthias
8c6d7c48ad
Add tests for /forcebuy
2018-10-09 20:04:53 +02:00
Matthias
5029003957
Allow passing price to buy function
2018-10-09 07:06:11 +02:00
Matthias
1d38c35e6a
Fix typo / word repetition
2018-10-06 09:27:49 +02:00
misagh
6d4f68fcdb
unnecessary variables removed
2018-10-05 17:25:56 +02:00
misagh
bd25212bd6
test case added: edge calculate function
2018-10-05 17:07:20 +02:00
Matthias
3973d3697c
deprecate ccxt_rate_limt
2018-10-04 20:35:28 +02:00
Matthias
e7d5cf9d9d
Allow loading of any additional configuration to ccxt
...
seperated by async and non-async
2018-10-04 20:16:43 +02:00
misagh
d3078d7564
test case added: edge stop loss for pair
2018-10-04 18:51:59 +02:00
misagh
77cac9e562
autopep8 applied
2018-10-04 18:07:47 +02:00
misagh
06d75a8bad
test cases added: force_stoploss by Edge
2018-10-04 18:05:46 +02:00
misagh
b57d9edda8
Edge test expectancy function (round 1)
2018-10-03 14:23:10 +02:00
misagh
a46b3ec9e7
first test completed
2018-10-03 10:37:36 +02:00
misagh
de20e142a0
added 9 use cased for testing Edge
2018-10-02 18:05:24 +02:00
misagh
a364a1e40d
Edge package test cases drafted
2018-10-02 16:32:57 +02:00
misagh
697493bd01
test cases for Edge package drafted
2018-10-02 16:07:33 +02:00
misagh
23f8980973
edge config added to CONF_SCHEMA and config_full.json.example
2018-10-02 12:42:59 +02:00
Matthias
3af3094a56
Merge pull request #1247 from freqtrade/fix_hyperopt_pickle
...
Fix hyperopt pickle
2018-09-30 16:51:33 +02:00
Matthias
1b290ffb5d
Update hyperopt to show errors if non-supported variables are used
2018-09-29 13:49:38 +02:00
Matthias
f4585a2745
Patch exchange to not cause network delays during tests
2018-09-29 13:35:48 +02:00
misagh
c8d06e2b0e
filter pairs according to expectancy + bug at the end of array resolved
2018-09-28 16:40:34 +02:00
misagh
d6415f3499
Merge branch 'develop' into money_mgt
2018-09-27 14:54:18 +02:00
Matthias
4ad3e96a2f
Merge pull request #1225 from freqtrade/test_acl_improvement
...
Remove direct call to pytest fixture to elliminate pytest warning
2018-09-27 12:39:56 +02:00
Matthias
5dac3b5664
Merge pull request #1238 from freqtrade/fix/buyexception
...
Fix exception when order cannot be found
2018-09-26 19:26:17 +02:00
misagh
75ba6578a3
unused library + trailing whitespaces removed.
2018-09-26 16:36:41 +02:00
misagh
abb398786e
Merge branch 'develop' into money_mgt
2018-09-26 16:06:38 +02:00
Matthias
88ccdc0366
Fix exception when order cannot be found
2018-09-25 20:45:01 +02:00
misagh
027ec4d98e
test_sell_profit_only_enable_loss and test_create_trade_limit_reached
...
fixed
2018-09-24 15:47:07 +02:00
misagh
308428644b
test_process_trade_creation log message changed: in reality the buy
...
signal is actually triggered
2018-09-24 15:27:26 +02:00
misagh
76dd754963
test_get_trade_stake_amount and
...
test_get_trade_stake_amount_no_stake_amount fixed: “pair” arg added to
_get_trade_stake_amount
2018-09-24 15:02:50 +02:00
misagh
303eefda76
test_get_trade_stake_amount_unlimited_amount fixed: “pair” argument
...
added to _get_trade_stake_amount
2018-09-24 14:55:49 +02:00
misagh
f1b4e4b36c
stop loss range “start, end, step” configurable for Edge
2018-09-22 15:43:41 +02:00
misagh
3e3ed947cc
added “max_trade_duration” config + using “remove_dumps” config
2018-09-21 21:46:18 +02:00
misagh
61095db071
edge config enriched
2018-09-21 21:36:26 +02:00
misagh
ef52c7b510
edge positioning put into package
2018-09-21 17:41:31 +02:00
Matthias
4d5e368c2e
Remove direct call to pytest fixture to elliminate pytest warning
2018-09-19 19:40:32 +02:00
Matthias
c429eae6e4
Adjust remaining tests to _load_markets refactoring
2018-09-11 19:59:01 +02:00
Matthias
674bad2a4f
Add and fix tests for load_markets
2018-09-11 19:46:47 +02:00
Matthias
14b7fc42fa
Change returntype for _load_markets to dict
2018-09-11 19:46:31 +02:00
Matthias
f954efbd64
Adapt tests to not _load_markets
2018-09-10 20:19:28 +02:00
misagh
13ffd88053
merging develop into async. requirement.txt conflict resolved
2018-09-06 20:28:07 +02:00
Matthias
e9deb928f6
Fix bug when exchange result is empty
2018-09-02 19:15:23 +02:00
Matthias
3fd00c9a9c
Merge branch 'develop' into ta_on_candle
2018-09-01 20:01:18 +02:00
Matthias
d35d3bb38c
rename ta_on_candle to process_only_new_candles
...
be more expressive
2018-09-01 19:52:40 +02:00
Matthias
ffd4469c1d
fix typo, refresh_tickers does not need a return value
2018-08-29 19:56:38 +02:00
Matthias
54ddd908e6
Merge branch 'develop' into ccxt-async
2018-08-29 19:43:09 +02:00
Matthias
9f8e68ce02
Merge branch 'develop' into order-book
2018-08-29 19:32:44 +02:00
Nullart2
b6b89a464f
move order_book config out of experimental
2018-08-29 17:38:43 +08:00
Matthias
42587741dd
mock exchange to avoid random failures
2018-08-25 13:21:10 +02:00
Matthias
a489a044ad
Mock Exchange results to avoid random test-failures
2018-08-25 13:17:07 +02:00
Samuel Husso
36e0e652f0
Merge pull request #1135 from freqtrade/fix/rpc_balance_vtho
...
Fix /balance rpc call if coin is not properly listed
2018-08-22 07:01:40 +03:00
Misagh
66d52c1236
Merge pull request #4 from xmatthias/ccxt_async_retrier
...
Add async retrier
2018-08-21 19:55:30 +02:00
Matthias
6e90d482ef
remove amount_to_lots (deprecated / removed)
...
was removed from ccxt in
527f082e59
2018-08-21 19:08:21 +02:00
Matthias
6d1c82a5fa
Remove last refreence to get_candle_history
2018-08-19 19:50:14 +02:00
Matthias
de0f3e43bf
remove unused mocks
2018-08-19 19:49:39 +02:00
Matthias
9403248e4d
have plot-script use async ticker-refresh
2018-08-19 19:48:24 +02:00
Matthias
088c54b88c
remove unnecessary function
2018-08-19 09:17:17 +02:00
Matthias
d556f669b0
Add async retrier
2018-08-18 21:05:38 +02:00
Matthias
d1c5eebff2
Add explicit test on handling min_roi_reached
2018-08-17 06:50:36 +02:00
Matthias
16fa877b67
Remove verbosity of trying backup tables - properly log if
...
databasemigration happened
2018-08-16 13:15:46 +02:00
Matthias
ff8ed564f1
Refactor refresh_pairs to exchange and fix tests
2018-08-16 12:15:09 +02:00
misagh
e6e2799f03
Keeping cached Klines only in exchange and renaming _cached_klines to
...
klines.
2018-08-16 11:37:31 +02:00
Matthias
4a8c120926
Output min-roi setting when overwriting from config
2018-08-16 11:35:41 +02:00
misagh
a2d9126917
Merge branch 'develop' into ccxt-async
2018-08-15 15:09:35 +02:00
Matthias
baeffee80d
Replace time.time with arrow.utcnow().timestamp
...
arrow is imported already
2018-08-15 13:26:01 +02:00
Nullart2
b34aa46181
additional tests
2018-08-15 12:05:56 +08:00
Nullart2
48e218d6c0
test_talib fix
2018-08-15 11:01:59 +08:00
Nullart2
2bc7a668a3
informative startup
2018-08-15 10:39:32 +08:00
Matthias
3aa210cf93
Add test for get_history
2018-08-14 20:53:58 +02:00
Matthias
e37cb49dc2
Ad test for async_load_markets
2018-08-14 20:42:13 +02:00
Matthias
67cbbc86f2
Add test for exception
2018-08-14 20:35:12 +02:00
Matthias
37e504610a
refactor private method - improve some async tests
2018-08-14 20:33:03 +02:00
Matthias
8528143ffa
Properly close async exchange as requested by ccxt
2018-08-14 19:52:09 +02:00
Matthias
69cc6aa958
Add test to async
2018-08-14 16:02:03 +02:00
Nullart2
78610bb47f
mock order_book and additional test
2018-08-14 18:12:44 +08:00
Matthias
88e85e8d33
fix tests - move load_async_markets call to validate_pairs
2018-08-10 13:11:04 +02:00
Matthias
e654b76bc8
Fix async test
2018-08-10 09:44:03 +02:00
Matthias
56768f1a61
Flake8 in tests ...
2018-08-09 20:17:55 +02:00
Matthias
3b2f161573
Add test for ta_on_candle override
2018-08-09 20:12:45 +02:00
Matthias
df960241bd
Add log-message for skipped candle and tests
2018-08-09 20:07:01 +02:00
Matthias
4ece5d6d7a
Add tests for ta_on_candle
2018-08-09 20:02:24 +02:00
misagh
280ead7bdb
Merge branch 'develop' into ccxt-async
2018-08-09 13:04:01 +02:00
Matthias
d1306a2177
Fix failing tests when metadata in analyze_ticker
is actually used
2018-08-09 13:01:57 +02:00
Matthias
e1921c8849
Fix bug causing /balance to fail
2018-08-08 22:00:39 +02:00
Matthias
3c451e0677
Add test for bugreport #1111
2018-08-08 21:54:52 +02:00
Nullart2
c9c0e108ab
refactor
2018-08-07 18:29:37 +08:00
Matthias
255f303850
Fix tests and flake8
2018-08-07 08:56:06 +02:00
Matthias
131d268721
Fix failing tests when metadata in analyze_ticker
is actually used
2018-08-06 19:15:30 +02:00
Samuel Husso
199bd7bc50
Merge pull request #1123 from freqtrade/fix-db_migration
...
Fix db migration
2018-08-06 12:00:22 +03:00
Axel Cherubin
65f7b75c34
fix flake8 issue
2018-08-05 17:52:06 -04:00
Axel Cherubin
0b825e96aa
fix talib bug on bollinger bands and other indicators when working on small assets, rise talib prescision and add test associated
2018-08-05 16:08:49 -04:00
Nullart2
1309c2b14f
tests update
2018-08-05 22:56:14 +08:00
Nullart2
7143b64fb7
tests for coverage
2018-08-05 22:41:58 +08:00
Nullart2
4a9bf78770
Order Book with tests
2018-08-05 12:41:06 +08:00
Matthias
ea506b05c6
Add test for failing database migration
2018-08-04 20:22:16 +02:00
Matthias
337d9174d9
Flake8 fixes
2018-08-02 20:11:27 +02:00
misagh
05ca78d2a3
ticker_history changed to candle_history naming
2018-08-02 17:10:38 +02:00
misagh
2ec2f1abce
async branch updated to reflect develop branch changes
2018-08-02 16:48:21 +02:00
Janne Sinivirta
e282d57a91
fix broken test
2018-08-02 12:57:47 +03:00
Janne Sinivirta
3a5b435dfa
Merge pull request #1089 from freqtrade/feat/backtest_multi_strat
...
Allow multi strategy backtest without data reload
2018-08-02 12:35:47 +03:00
Janne Sinivirta
17d78b7807
Merge pull request #1115 from creslinux/candlesnottickers
...
renamed/refactored get_ticker_history to get_candle_history to stop confusion
2018-08-02 12:33:09 +03:00
creslin
1f97d0d78b
fix
2018-08-02 09:15:02 +00:00
creslin
a741f1144a
missing __init__.py
2018-08-02 08:58:04 +00:00
creslin
f619cd1d2a
renamed/refactored get_ticker_history to get_candle_history
...
as it does not fetch any ticker data only candles
and is causing confusion when developer are talking about candles /tickers
incorreclty.
OHLCV < candles and Tickers are two seperate datafeeds from the exchange
2018-08-02 08:45:28 +00:00
Matthias
915160f21f
Add tests for tickers-history
2018-08-01 21:44:02 +02:00
Matthias
c466a028e0
Add a first async test
2018-08-01 21:40:54 +02:00