Commit Graph

493 Commits (92bcf672fb82b3c8a897ea537bfbdbbb287c3225)

Author SHA1 Message Date
Matthias 8dd8c24595 Merge branch 'develop' into pr/froggleston/7861
3 years ago
Matthias 3928051baf Revert unneeded formatting changes
3 years ago
Joe Schr e16db814fa featherdatahandler: implement trades_store/_trades_load
3 years ago
Matthias 222ecdecd2 Improve code quality
3 years ago
Matthias cd9c2c4c23 Merge branch 'develop' into pr/froggleston/7861
3 years ago
Matthias 2ca8b0b12e Update more exchange mocks to use EXMS
3 years ago
Matthias bcdf4e0fe8 Use variable for exchange mocks to shorten lines
3 years ago
Matthias d014e4590e use Path.open() instead of open
3 years ago
Matthias 34c42be74f Fix minor stylistic errors
3 years ago
Matthias 1dc3c58775 Convert missing candle count to int
3 years ago
Matthias 6e22607387 Add 5m futures testdata to support detail-backtest tests
3 years ago
froggleston 813724bd82 Add a new analysis group to output stats grouped by exit_tag
3 years ago
Matthias 1fc97a8008 use Unified futures naming for futures throughout tests
3 years ago
Matthias 4ea8962ca2 Rename futures test data
3 years ago
Matthias 32bbe603cb Fix sortino std calculation
3 years ago
Matthias f21185d1c4 Add tests for new metrics
3 years ago
Matthias 882e68c68b Rename backtest-result from new to "not new".
3 years ago
Matthias 6a15a9b412 Update backtest-result_new
3 years ago
Matthias 935275010f Remove some unused fixtures
3 years ago
Matthias ca2a878b86 Update test naming
3 years ago
Matthias 1c0c4fd420 Improve test
3 years ago
Matthias 96edd31458 Test add_external_candle
3 years ago
froggleston 6f08b610d6 Merge branch 'develop' of github.com:froggleston/freqtrade into reject_report
3 years ago
froggleston f5359985e8 Make CLI option and docs clearer that we're handling signals not trades
3 years ago
Matthias 687eefa06e Improve emit_df testcase
3 years ago
froggleston 5a4e99b413 Add support for collating and analysing rejected trades in backtest
3 years ago
froggleston 1a3f88c7b9 Replace separate start/end date option with usual timerange option
3 years ago
froggleston 4790aaaae1 Implement cli options for backtesting-analysis date filtering
3 years ago
Matthias 30b467906c Delist FTX, following ccxt's delisting.
3 years ago
Matthias a59d61472b Add test for dataframe footprint reduction
3 years ago
Matthias 6e09d552ac Properly handle and test ohlcv min_max with empty files
4 years ago
Matthias 547fd28811 Price-jump detection should only run once
4 years ago
Matthias 0ff7a0771d Move price_jump_warn to dataloading
4 years ago
Matthias 60cb11a44d Add price jump warning
4 years ago
Matthias 7f308c5186 Remove last occurance of timerange index
4 years ago
Matthias 34951f59d2 Update failing tests
4 years ago
Matthias b4fb28e4ef Update tests for new dataload strategy
4 years ago
Matthias 8c2e473ee5 Fix test warning
4 years ago
Matthias 48352b8a37 Update hdf5 handler to reset index on load
4 years ago
Matthias 0bbb6faeba Add generic datahandler test
4 years ago
Matthias 5fb56b09f2 Test Feather/parquet datahandler init
4 years ago
Matthias 983a16d937 Rudimentary "not implemented" test
4 years ago
Matthias 7b4af85425 Remove double-init in test
4 years ago
Matthias f62f2bb1ca Improve datahandler tests
4 years ago
Matthias 2a5bc58df8 Split datahandler and history tests
4 years ago
Matthias 1626eb7f97 Update dataprovider function name to `get_producer_df`
4 years ago
Matthias 914eccecec Merge branch 'develop' into pr/wizrds/7303
4 years ago
Matthias 32d46e8a6b Improve fixture naming
4 years ago
Timothy Pogue 75ce9067dc fix dp test
4 years ago
Timothy Pogue 0f8eaf98e7 Merge branch 'develop' into feat/externalsignals
4 years ago
Timothy Pogue 2f6a61521f add more tests
4 years ago
Matthias 97be3318f4 Use Datetime_format from constants
4 years ago
Matthias 4aec2db14d Remove isClose from tests in favor of pytest.approx
4 years ago
Matthias 31ddec8348 Add missing test to confirm backtesting won't send messages
4 years ago
Matthias 0adfa4d9ef Add tests for dataprovider send-message methods
4 years ago
Matthias ec40e79362
Merge pull request #6874 from froggleston/buy_reasons
4 years ago
froggleston 4a5ed5a273 Fix tests
4 years ago
Matthias 0b806af487 Add orders column to btresult
4 years ago
Matthias be6e0813db Remove --strategy from analysis test
4 years ago
froggleston 9a068c0b14 Add test for each analysis group, remove default table output if not indicator-list
4 years ago
froggleston df1c36e5aa Change command name, use load_backtest_stats for strategy resolving
4 years ago
froggleston e7c5818d16 First pass changes for cleaning up
4 years ago
froggleston 145faf9817 Use tmpdir for testing
4 years ago
froggleston 21e6c14e1e Final test changes
4 years ago
froggleston f5c2930889 Presume that pytest will call the cleanup call
4 years ago
froggleston 2873ca6d38 Add cleanup, adjust _print_table for indicators, add rsi to test output
4 years ago
froggleston 22b9805e47 Fix all tests
4 years ago
froggleston 3adda84b96 Update docs, add test
4 years ago
Matthias 76637d3939 Simplify timeframe-transition
4 years ago
Matthias 2e65a1793d Add fallback to load 1M files as well as 1Mo files
4 years ago
Matthias 88c8fe5570
Merge pull request #6715 from nicolaspapp/feat/relative-drawdown
4 years ago
Nicolas Papp f9244aad92 Fix on max drawdown formula to match tests
4 years ago
Matthias 53a2f55cf0 Merge branch 'develop' into pr/nicolaspapp/6715
4 years ago
Matthias e49b3ef051 Improve message formatting
4 years ago
Matthias 11d447cd5a Add support for download-data "until"
4 years ago
Matthias c6c569b772 chore: split BTAnalyais to metrics
4 years ago
Matthias 4262f84744 Merge branch 'develop' into pr/nicolaspapp/6715
4 years ago
Matthias 4143ebbeae Add CAGR calculation to backtesting
4 years ago
Matthias 5ff2261b74 Improve test to explicitly test for dates
4 years ago
Matthias 9bc6bbe472 Improve test for max_drawdown calculations
4 years ago
Matthias 4254d86658 Move test-backtestfiles to separate directory
4 years ago
Matthias 30cff1bd2c Update hdf5 to not raise naturalNaming warnings
4 years ago
Matthias fa3c00c673 Remove some default arguments in history_utils
4 years ago
Matthias 9bcc79e118 Use parsed TradingMode from config
4 years ago
Matthias 88ccfedd32 Improve wording of "no history found" error
4 years ago
Matthias f090dcc597 Merge branch 'develop' into feat/short
4 years ago
Matthias bb1d8fb54f Improve message when no hyperopt fie is found
4 years ago
Matthias 3cdb672ac3 Improve test coverage
4 years ago
Matthias 2fb9e7940a Improve "missing data" message
4 years ago
Matthias 522496d9e2 Add Compatibility code for BT_DATA_COLUMNS
4 years ago
Matthias 46809f08fe Merge branch 'develop' into feat/short
4 years ago
Matthias b3a4ecaf77 Remove old backtest format support
4 years ago
Matthias 28011a3907 Update bt_results filename to new.json
4 years ago
Matthias 4e2b9203d7 Remove no longer used BT_DATA_COLUMNS_MID
4 years ago
Matthias 2ecaf9f8b4 Update backtest-result test-files to latest format
4 years ago
Sam Germain 501f473164 Merge branch 'develop' into feat/short
4 years ago
Matthias 8373a4e713 Small Adjustments to improve compatibility
4 years ago
Matthias 4d9b4ddc28 Update hyperopt-tools to use account drawdown
4 years ago
Matthias 09fae25c94 Fix some tests after drawdown calculation change
4 years ago
Matthias ddfbe55e7c Merge branch 'develop' into feat/short
4 years ago
Matthias 78ba2d3fc7 Add underwaterplot calculation to btanalysis
4 years ago
Matthias 9becd20f20 Improve "Missing data" messages
4 years ago
Matthias bd98637ae9 Fail gracefully from plot-profit when no data is provided
4 years ago
Wade Dyck a5742b3bbc Fixes a failing test_history due to changed log message.
4 years ago
Matthias ddce28c12d Update data downloading to include funding_fee downloads
4 years ago
Matthias 25e1142f89 Update Enum imports
4 years ago
Matthias 9b9d61c6d6 Remove SPOT_ candletype
4 years ago
Matthias dda7283f3e Remove unnecessary default parameters
4 years ago
Matthias b4d27973b1 Update ohlcv_get_pairs test
4 years ago
Matthias 37b013c157 Update hdf5 test
4 years ago
Matthias a870e0962a Fix some obtruse (test)bugs
4 years ago
Matthias ba1091b9e4 Improve dataprovider test
4 years ago
Matthias cff950d783 Update test_convert_ohlcv_format to test as before
4 years ago
Matthias 5a3b907132 Update converter tests
4 years ago
Matthias 9d79501c13 Add candletypes argument for convert-data
4 years ago
Matthias 9421e6e61c Improve some tests
4 years ago
Matthias 5493212672 More candletype changes
4 years ago
Matthias f9cf59bb4d Candle_type to enum
4 years ago
Matthias b578e31255 Align tests to have futures data in futures/ directory
4 years ago
Matthias 0d6c933935 Improve and fix pair detection from available data
4 years ago
Matthias 7faa7539b4 Further enhance pair retrieval
4 years ago
Matthias 8d70672bee Enhance Regex to work for mark candles
4 years ago
Matthias c096c7f5cb Add explicit tests for ohlcv regex
4 years ago
Sam Germain 920151934a Added candle_type to a lot of methods, wrote some tests
4 years ago
Sam Germain c3b2929e75 Added template for test test_hdf5datahandler_ohlcv_load_and_resave
4 years ago
Sam Germain 843ca22a56 mark price test ohlcv_get_pairs
4 years ago
Sam Germain 91a11d01e9 Added XRP_USDT-1h-mark json testdat file, and test for ohlcv_load with candle_type=mark
4 years ago
Sam Germain 043ed3e330 Added candle_type tests for test_json_pair_data_filename
4 years ago
Sam Germain 1a132758d0 merged with feat/short
5 years ago
Matthias c791b95405 Use new TestStrategy (V3) by default in tests
5 years ago
Sam Germain 043bfcd5ad Fixed a lot of failing tests"
5 years ago
Matthias 6d96b11279 Rename DefaultStrategy
5 years ago
Masoud Azizi 127f470bc3 .* ADDED
5 years ago
Masoud Azizi 40ad451019 Download-data log process added
5 years ago
slowy07 f24a951ec5 fix: typo spelling grammar
5 years ago
Matthias a5f796bc97 refactor ohlcvdata_to_dataframe to advise_all_indicators
5 years ago
Matthias 9c34304cb9 Move state enums to enums package
5 years ago
Matthias 901d984ee3 Tests should write to tmpdir, not testdir
5 years ago
Matthias 08f96df3ac Don't write to testdir, but to tempdir
5 years ago
Matthias 1c408c0404 Add small tests for backtest mode
5 years ago
Matthias 4b6cd69c81 Add test for no-exchange dataprovider
5 years ago
Matthias fd3afdc230 plot-profit should use absolute values
5 years ago
Matthias f1cf56cc42 Update current_whitelist test
5 years ago
Matthias 50fcb3f330 Reduce verbosity of missing data if less than 1% of data is missing
5 years ago
Matthias 89bbfd2324 Remove candle_count from dataframe before backtesting
5 years ago
Matthias fc256749af Add test for backtesting _enter_trade
5 years ago
Matthias aed23d55c2 Add starting balance to profit cumsum calculation
5 years ago
Matthias 0d2f877e77 Use absolute drawdown calc
5 years ago
Matthias 1a166f639d Add test for calcuate_csum
5 years ago
Matthias 2c80388b40 Fix valueerror in case of empty array files
5 years ago
Matthias ea0ffbae73 use profit_ratio in calculate_cum_profit
5 years ago
Matthias 13ad6dd461 Fix documentation
5 years ago
Matthias deb8432d33 Streamline trade to dataframe conversion
5 years ago
Matthias 84ced92002 Fix mock-tests missing some fields
5 years ago
Matthias 67193bca3d Move pairlists to be a plugin submodule
5 years ago
Matthias ceb50a7807 use exception handler when downloading data
5 years ago
Matthias e8e3ca0c3c Catch ValueError from trade_conversion
5 years ago
Matthias 83861fabde Fix #3967, move TradeList type to constants
5 years ago
Matthias 52c9a2c37f Convert np to None when loading hdf5 trades to allow duplicate detection
6 years ago
Matthias 887d78171c
Merge pull request #3857 from freqtrade/arrow_deprecation_timestamp
6 years ago
Matthias Spiller 0d11f0bd75 Add unit test for hdf5 dataformat for informative pairs
6 years ago
Matthias 7a092271c5 Merge branch 'develop' into arrow_deprecation_timestamp
6 years ago
Matthias 8cdc795a44 Rename persistence.init to init_db
6 years ago
Matthias 8165cc11df Change get_next_limit_in_list to use list comprehension
6 years ago
Matthias ecddaa663b Convert timestamp to int_timestamp for all arrow occurances
6 years ago
Matthias 6977ffdbf9 Merge branch 'develop' into isort_config
6 years ago
Matthias 9df366d943 Apply isort to tests
6 years ago
Matthias 15bb0af1b3 Add some test-coverage
6 years ago
Matthias 3cb1a9a5a9 Support loading results from a specific hyperopt history file
6 years ago
Matthias 3c521f55b2 Add 6th mock trade
6 years ago
Matthias 98840eef3c Add 5th mock trade
6 years ago
Matthias 38c52c7eee
Merge pull request #3626 from freqtrade/feat/hdf5
6 years ago
Matthias 24df8d6bf5 Sort imports
6 years ago
Matthias 87e4a82041 Merge branch 'develop' into bt_add_maxdrawdown
6 years ago
Matthias edb582e522 Add more tests
6 years ago
Matthias ae1c99bdd0 more tests
6 years ago
Matthias ed33d4781d Add more hdf5 tests
6 years ago
Matthias d9b339ee18 Add some more tests for hdf5
6 years ago
Matthias 0a28818b46 Add some tests for hdf5
6 years ago
Matthias e26e658f99 Improve a few tests
6 years ago
Matthias 6a0c84b649 Add tests for hdf5
6 years ago
Matthias 8300eb59d4 Extend create_mock_trades to create 4 trades
6 years ago
Matthias d4fc52d2d5 Add tests for ohlcv_get_available_data
6 years ago
Matthias d999fa2a7e Test autogetting result filename
6 years ago
Matthias 2ed808da1f Extract .last_result.json to constant
6 years ago
Matthias 59ac4b9c9a Test writing statistics
6 years ago
Matthias 5b1a7ba00f Test multistrat loading
6 years ago
Matthias f952f74bf1 Add test for new format
6 years ago
Matthias 573502d972 Update test for load_trades_from_db
6 years ago
Matthias 04eaf2c39c Add test for get_last_backtest_Result
6 years ago
Matthias 2881718733 Adapt tests for new column names
6 years ago
Matthias 5fce7f3b22 Add market Change
6 years ago
Matthias c2a6f70b4c Merge branch 'develop' into keep_dataframe_noapi
6 years ago
Matthias 29d3ff1bc9 Adjust tests to work with ExchangeError
6 years ago
Matthias 676006b99c --dl-trades should also support increasing download span
6 years ago
Matthias ab9382434f Add test for get_analyzed_dataframe
6 years ago
Matthias a3506f4d8e Merge branch 'develop' into timeframe
6 years ago
Matthias 3f9ab0846d Rename profitperc to profit_percent
6 years ago
Matthias 3e895ae74a Some more replacements of ticker_interval
6 years ago
Matthias 950f358982 Replace occurances in test files
6 years ago
Matthias 1a984ac677 Explicitly raise ValueError if trades are empty
6 years ago
hroff-1902 d84cb3be77 Improve test
6 years ago
hroff-1902 78b81bac48 Add test for dp.ticker()
6 years ago
hroff-1902 b4d2433fc1
Merge pull request #3267 from GrilledChickenThighs/develop
6 years ago
Matthias d86855f2f3
Merge pull request #3129 from freqtrade/trades_to_list
6 years ago
Matthias e864db1843 Update test for dp.current_whitelist
6 years ago
Paul D. Mendes 9fbe135790 attached pairlist manager onto dataprovider init for unified access to dynamic whitelist
6 years ago
Paul D. Mendes bc9efc31ad Added Method for accessing current pair list on initialization for dynamic informative pairs
6 years ago
hroff-1902 f2b1802666
Merge pull request #3137 from freqtrade/fix_maxdrawdown
6 years ago
Matthias ddf37ef059 Add test to demonstrate that the dataframe is not changed
6 years ago
Matthias bdc85ec89b Move create_mock_tests to conftest and add test for test_trade-history
6 years ago
Matthias 41d5c40f10 Correctly test drawdown plot
6 years ago
Matthias a99c53f1ec Add test showing that high is before low
6 years ago
Matthias 46f1d1f39f Failing test might be incompatibility
6 years ago
Matthias 9d7ad23d42 Fix test leakage
6 years ago
Matthias 0d51383b57 Format logmessages correctly
6 years ago
Matthias 5739ee6e15 Add test for trades data conversation
6 years ago
Matthias ba03d96961 Test 5s offset on since
6 years ago
Matthias 0506caf986 Implement trades_remove_dulicates
6 years ago
Matthias 1659ddcc5d Add conversion function from fetch_trades to list
6 years ago
Matthias 3e1bef888a Fix flake8 error
6 years ago
Fredrik81 8c33e07dc6 Update based on comments
6 years ago
hroff-1902 57ff3ff450
Merge branch 'develop' into plot-trades
6 years ago
Matthias 0f1640bed4 convert exportfilename to Path when config parsing
6 years ago
Fredrik81 2c0980aa3a Tests
6 years ago
Fredrik81 27faf12fde Fix if no file exists
6 years ago
hroff-1902 3208faf7ed Do not use ticker where it's not a ticker
6 years ago
Matthias e050511ddc Add test for max_drawdown calculation
6 years ago
Matthias 6335d81ceb Merge branch 'develop' into data_handler
6 years ago
hroff-1902 4f3376e2a1 Do not instantiate directly DefaultStrategy in tests
6 years ago
hroff-1902 62bcb3d766 Fix tests in test_history.py
6 years ago
Matthias 83644ce5d8 Fix mypy type errors in tests
6 years ago
Matthias 4eaaec9d1a Implement pair_to_filename to datahandler
6 years ago
Matthias 2409261cb7 Merge branch 'develop' into data_handler
6 years ago
Matthias 2c8e8d8ef6 Align columns for btanalysis loading
6 years ago
Matthias ae1b28aab7 Remove get_datahandlerclass from package exposes
6 years ago
Matthias 9e4fc00a0f Add test for convert_ohlcv
6 years ago
Matthias 70f3ff0461 Add test for convert_trades_Format
6 years ago
Matthias 28787a001c Move convert functions to convert module
6 years ago
Matthias 6860491189 Rename datahandler module to history module
6 years ago
Matthias 65f539e9d8 More tests for datahandler
6 years ago
Matthias d65c1eea7a Add some tests for datahandler
6 years ago
Matthias a3144cb2f0 remove trim_tickerlist
6 years ago
Matthias 4b277afc52 Remove test for load_tickerdata
6 years ago
Matthias 7a6476c9ba Update tests
6 years ago
Matthias e4f185f357 Remove 'line' from load_cached_data tests
6 years ago
Matthias df085a6f15 Fix small bug and test
6 years ago
Matthias e861f05b75 Move dataframe trim to within jsondatahandler
6 years ago
Matthias b7c1d55491 Modify tests to point to datahandlers
6 years ago
Matthias 9876d126ca Use handler for trades
6 years ago