Commit Graph

1133 Commits (develop)

Author SHA1 Message Date
Matthias 3237cad8c8 Fix test naming from sell to exit
2 years ago
Matthias 685fef1ee8 Improve buy message FIAT formatting
2 years ago
Matthias 690a3599d0 Simplify exit msg method further
2 years ago
Matthias 7b78e66e7d Ajust some leverage calls
2 years ago
Matthias 8726d63923 Remove unnecessary calculations for exit msg
2 years ago
Matthias 934e72656a Simplify exit message fiat handling
2 years ago
Matthias b0fdf6ac52 Update Tests for removed sell_reason field
2 years ago
Matthias e9c04debfb Fix tests due to new exit behavior
2 years ago
Matthias ae3f62cf9b Fix RPC tests
2 years ago
Matthias 931704abcc Merge branch 'develop' into feature/update_sl_order_mgt
2 years ago
Matthias 4769b50709 Fix RPC tests
2 years ago
Matthias 18dd9cf803 Use a trade for test that actually has an open stop order
2 years ago
Matthias 8234879b58 stoploss_order_id removal tests
2 years ago
Matthias d26154f994 Import logging ...
2 years ago
Matthias 0e14dd6190 Set proper log-level for test
2 years ago
robcaulk 2f2467256c feat: add SKLearnRandomForestClassifier
2 years ago
Matthias 3b4b833dd0 Remove unused mock
2 years ago
Stefano Ariestasia 63e702a3bf remove unused comments
2 years ago
Stefano 8680b5faa0 fix some tests, add new tests
2 years ago
Matthias 7d0ecfde93 Add tests to ensure responses are as expected
2 years ago
Matthias 2efef72ec2 Reduce wait for ws test
2 years ago
Matthias be82248e01 Remove futher usages of Path(tmpdir)
2 years ago
Matthias 05ef4f9b6f Fix forceenter - cancel dialog not working
2 years ago
Matthias b2796b850b Add funding_fee export to order object
2 years ago
Stefano 478e6f1e64 fix test
2 years ago
Matthias 394d758d32 Add missing fields to json (and json parse)
2 years ago
Matthias 33bf7f9f30 Ensure test doesn't fail based on daytime
2 years ago
Matthias 2ee152c5a6
Merge pull request #8779 from Axel-CH/feature/multiple_open_orders
2 years ago
Matthias 9e1f7dc6f7 have force-enter also include has_open_orders
2 years ago
Matthias 067c9219b6 replace 'open_orders' with "has_open_orders" in api
2 years ago
Matthias 97a37198b9 Update test
2 years ago
Matthias 8c95207ca4 Merge branch 'develop' into pr/Axel-CH/8779
2 years ago
Matthias c5f26e72e1
Merge pull request #9153 from freqtrade/rpc/drawdown
2 years ago
Matthias e854667eb8 Add max_drawdown_start and end to /profit API endpoints
2 years ago
Matthias 399f144c27 more calc_profit_combined usage
2 years ago
Matthias 00cef56a57
Merge pull request #9137 from froggleston/frog-update-rpc
3 years ago
Matthias d1984945d5 Improve tests for /weekly and /monthly
3 years ago
froggleston f838bc760f
Implment weekly/monthly RPC endpoints
3 years ago
Matthias 23aa8dcd51 Simplify profit calculation (removes unnecessary fallback)
3 years ago
Matthias f19f3ed4eb Fix rpc forceexit logic, fix remaining test
3 years ago
Matthias 43c73c75c5 Remove more open_order_id references
3 years ago
Matthias b82b77d03f Fix some rpc tests
3 years ago
Matthias 3e986e24fa Merge branch 'develop' into pr/Axel-CH/8779
3 years ago
Matthias ffdb5fb790 Fix further tests after conftest_trades rework
3 years ago
Matthias cfe1187cd9 Fix missed Test
3 years ago
Matthias a36e131838 Fix more conftest trades
3 years ago
Matthias 5cf6f0b491 Merge branch 'develop' into pr/Axel-CH/8779
3 years ago
Matthias ee11dae82a Merge branch 'develop' into dependabot/pip/develop/pydantic-2.1.1
3 years ago
Matthias 88925d6c1d Merge branch 'develop' into pr/Axel-CH/8779
3 years ago
Matthias 6d6111864e Test also backtest result list
3 years ago
Matthias 23a2b95994 Add test for updating metadata
3 years ago
Axel CHERUBIN f397d973f3
Merge branch 'freqtrade:develop' into feature/multiple_open_orders
3 years ago
Matthias 261a593ba5 Update tests for new output format (string-formatted dates are not relevant).
3 years ago
Matthias 6659d26131 Merge branch 'develop' into dataformat/feather
3 years ago
Matthias bbf472e69b Improve errorhandling on webserver endpoint
3 years ago
Matthias 8b2abf4422 Remove .json from backtesting output
3 years ago
Matthias 997b80fd7b Allow deleting of backtest files
3 years ago
Matthias d7916366bd Adjust webhook tests to include timeout
3 years ago
Stefano Ariestasia 8f04225282 another test fix
3 years ago
Stefano Ariestasia 4c23771d39 fix expectancy test
3 years ago
Matthias f4933a9cff Improve test for pair_history
3 years ago
froggleston f95f954df7
Convert winrate to ratio instead of % in calculations
3 years ago
froggleston 6ccc12f337 Fix calcs, rename ratio, add docs
3 years ago
froggleston 9d36dc7ac6
Fix line length
3 years ago
froggleston d4b282d6f7
Fix expectancy calc and tests
3 years ago
froggleston 7eced953b3
Merge in develop changes
3 years ago
froggleston 096cb0d1ee
Add tests, fix winrate calc
3 years ago
Matthias 2babb36fc2 Update final tests
3 years ago
Matthias a0fff43648 Add fee_base to json output
3 years ago
axel 07c629922a fiw wip test_api_status
3 years ago
axel 3f506bb474 fix test_api_performance
3 years ago
axel db5383927c fix test_rpc_trade_status
3 years ago
axel 171c4f182d update test_adjust_entry_maintain_replace test case, fix first RPC test
3 years ago
Matthias 71b81ee7cd Add margin_mode to pairlists callback
3 years ago
Matthias f61ae9c7e2 Merge branch 'develop' into feat/pairlistconfig
3 years ago
Matthias ac7419e975 Split trademode response value into trade_mode and margin-mode
3 years ago
Matthias 74254bb893 Add /exchanges endpoint to list available exchanges
3 years ago
Matthias 10ea2b44c7 Update test line length
3 years ago
Matthias ac046d6a2d Allow setting the exchange explicitly
3 years ago
Matthias e2594e7494 Align tests to use webserver mode
3 years ago
Matthias cafc9479b7 Merge branch 'develop' into feat/pairlistconfig
3 years ago
Matthias e0d9603e99 Raise correct httperrorcode for webserver-only endpoitns
3 years ago
Matthias 5fc8426b9b Improve handling of order cancelation failures with force_exit
3 years ago
Matthias 430cd24bbc Invert order (exit trade 3 before trade 4)
3 years ago
Matthias 08d040db14 Slightly update force_exit test
3 years ago
Matthias 5311614d54 Update force exit wording
3 years ago
Matthias fd955028a8 Update tests for new background method
3 years ago
Matthias 9e75c768c0 Improve responses for evaluate get endpoints
3 years ago
Matthias c2010d160f Merge branch 'develop' into feat/pairlistconfig
3 years ago
Matthias 33e25434b4 Change statuscode to 202
3 years ago
Matthias 85c14578e2
Merge pull request #8661 from freqtrade/feat/datetimehelpers
3 years ago
Matthias 756e1f5d5b Test pairlist evaluation
3 years ago
Matthias 7cc8da23c2 Update test for available pairlist
3 years ago
Matthias 5ad6652e55 Merge branch 'develop' into feat/pairlistconfig
3 years ago
Matthias 914195acf4 Ensure one test can't fail 20 others
3 years ago
Matthias 96d74063fc Don't have public attributes marked as private
3 years ago
Matthias 5316227219 Extract api backtest logic from ApiServer class
3 years ago
Matthias 261822147c Fix remaining arrow testcases
3 years ago
Matthias 3ec55885bd Remove arrow from more tests
3 years ago
Matthias 45ee12e257 reload_trade should be a post endpoint
3 years ago
Matthias 1b714fdb00 Fix wrong "first trade" date in UI, improve interface
3 years ago
Matthias bbce738523 Improve tests around timezone
3 years ago
Matthias 7bba034efd
Merge pull request #8560 from freqtrade/feat/recoverTrades
3 years ago
Matthias 0adac268ee Add test for #8591
3 years ago
Matthias 8e0788cf5f Merge branch 'develop' into feat/pairlistconfig
3 years ago
Matthias daf564b62f Invert logic for webhook
3 years ago
Matthias 25bed7bb87 Update telegram help with reload_trade
3 years ago
Matthias 7287e9da1d Add telegram endpoint for reload_trade
3 years ago
Matthias 0c22710ddd Add API endpoint to force trade reloading
3 years ago
Matthias c06759223e Improve telegram async tests
3 years ago
Matthias d25e82d095 Mock exchange loop
3 years ago
Matthias 5608aaca26 Simplify mocking
3 years ago
Matthias 7171fd1132 Test telegram startup
3 years ago
Matthias c9e6137ad0 Fix test_telegram _init test
3 years ago
Matthias cf0b37057c update telegram "cleanup" test
3 years ago
Matthias 69f61ef767 Further telegram async tests
3 years ago
Matthias 4177afdf8b More async test updates
3 years ago
Matthias 678c9ae67f Fix some more async telegram tests
3 years ago
Matthias c475c81841 Update several tests to async behavior
3 years ago
Matthias fb56889b43 Update a few tests ...
3 years ago
Matthias 914d7350fa Update mocks in apimanager tests
3 years ago
Matthias 68ac934929 Update command list to handle frozenSets
3 years ago
Matthias 57eed50acb Fix some test failures caused by v20 update
3 years ago
Matthias c37b7b77e4 move telegram fixture to telegram file
3 years ago
Matthias 8086d90535 Update some tests for balance updates
3 years ago
Matthias 94a6bc608c Update stake-currency behavior
3 years ago
Matthias 741834301f Update tests
3 years ago
Matthias c4f8ff95dd Update tests
3 years ago
Matthias 5dccfab89c Add test for start_cap_ratio
3 years ago
Matthias 9e4f9798e6 Add pairlist "is-generator" to api
3 years ago
Matthias 2df80fc49a Add /pairlists endpoint to api
3 years ago
Matthias 20d17cbc52 Disable telegram from default_conf
3 years ago
Matthias 40ffac9de0 Prevent random test failures by freezing time for certain tests
3 years ago
Matthias 605cc20a21
Merge pull request #8459 from freqtrade/feat/kvstore
3 years ago
Matthias f73d2a5371 Ensure bot_start is called when visualizing results
3 years ago
Matthias a102cfdfc9 Add new /profit fields to API
3 years ago
Matthias 80a27bc0db Fix random uvicorn error
3 years ago
Matthias f7c1ee6d3e add precision values to api schema
3 years ago
Matthias 9c6a49436b Export amount/price precisions per trade
3 years ago
Matthias 469166636c Set initial stoploss when creating the order
3 years ago
Matthias 56c2aa89bc
Merge pull request #8344 from freqtrade/fix/db_concurrent
3 years ago
Matthias 222ecdecd2 Improve code quality
3 years ago
Matthias 62c8dd98d5 Use combination of thread-local and asyncio-aware session context
3 years ago
Matthias 9d6e973e5b remove .query from most tests
3 years ago
Matthias 6ed337faa3 Update several tests to remove .query
3 years ago
Matthias 47ab285252 Minor test fix
3 years ago
Matthias d779d60812 Expose total_profit_ratio through API
3 years ago
Matthias cab1b750b3 Improve test accuracy
3 years ago
Matthias 9d285e3dc0 Add total_profit_ratio to telegram output
3 years ago
Matthias fff08f737f /status msg - improve formatting further
3 years ago
Matthias 108a578772 Update tests to latest rpc changes
3 years ago
Matthias f0cbb4f949 Expose relative realized profit
3 years ago
Matthias 022f85095e Show Number of exits
3 years ago
Matthias 5d0e14b564 Don't mock full modules
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 dd10dec73d Improve variable wording
3 years ago
Matthias 386915378b Improve /status message (show Total profit)
3 years ago
Matthias 2f1c5cf143 Remove pointless pylint rules
3 years ago
Matthias 3706d28125 use pytest.approx in favor of "prec_satoshi" ...
3 years ago
Matthias 0707e70183 Remove deprecated current_profit from api responses
3 years ago
Matthias 5660036f47
Merge pull request #8245 from eSAMTrade/bugfix-8244
3 years ago
Matthias 244fd0e731
Merge pull request #8184 from LangLazy/feature
3 years ago
Matthias 65d1598a90 Show absolute profit in /status command
3 years ago
Matthias 46b987042b Include realized_profit in api output
3 years ago
ASU 1d5608d627 Fix last_process related bug in RPC.health
3 years ago
Matthias 84b8cee004 Merge branch 'stable' into develop
3 years ago
Matthias 659140e190 Add bt-error to UI backtest method.
3 years ago
Rahul Gudise ade64f25d3 fixed formatting
3 years ago
Rahul 72af1912ca added new text
3 years ago
Matthias 9600039686 Update dry-run fill method naming
3 years ago
Rahul b73089deb8 fixed a test
3 years ago
Matthias 6012a55828 Improve test
3 years ago
Matthias 9cfbb21cd7 Improve error messages
3 years ago
Matthias bbc663fce1 Add telegram test
3 years ago
Matthias 1c47c118d6 Add cancel-order api test
3 years ago
Matthias daafc1c90f Update test and help
3 years ago
Matthias c4482d56ab Merge branch 'stable' into new_release
3 years ago
Matthias 634b80f0e7 Add tests for plotconfig in ws mode
3 years ago
Matthias 4ea8962ca2 Rename futures test data
3 years ago
Matthias 6fc3d0e5e1
Merge pull request #7995 from freqtrade/dependabot/pip/develop/httpx-0.23.3
3 years ago
Matthias fbdda8cd15 Always pass Dictionaries to testclient post requests
3 years ago
Matthias ad49541947 Adapt Tests for new mandatory columns
3 years ago
Matthias 149539d3f9 Merge branch 'stable' into new_release
3 years ago
Matthias 62c4675e29 Remove some deprecated fields from the API
3 years ago
Matthias cb66663fd2 show max_stake_amount in API
3 years ago
Matthias 882e68c68b Rename backtest-result from new to "not new".
3 years ago
Matthias 524da3c7ab Don't actually load models to avoid random failures
3 years ago
Matthias 256fac2a2b Add test for freqaimodels endpoint
3 years ago
Matthias 86b30d2d66 Improve emc test resiliancy
3 years ago
Matthias 97fee37072 Improve emc test
3 years ago
Timothy Pogue f1ebaf4730 fix tests
3 years ago
Matthias 1da8ad69d9 improve more tests by freezing time
3 years ago
Matthias bbedc4b63e Stop clock to avoid random failures on slow CI runs
3 years ago
Matthias 72472587dd Increase test range for api version test
3 years ago
Matthias 3c322bf7df Improve forceenter validation messages
3 years ago
Matthias f4025ee5de
Merge pull request #7289 from freqtrade/feat/freqai-rl-dev
3 years ago
Matthias 178e5a195a Merge branch 'stable' into new_release
3 years ago
robcaulk 4894d772ed merge develop into feat/freqai-rl-dev
3 years ago
Timothy Pogue d9d7df70bf fix tests, log unknown errors
3 years ago
Matthias 12b471c64b Prevent 2 parallel open orders through forceentry
3 years ago
robcaulk 387c905a86 merge develop into RL
3 years ago
Matthias 1975e942d6 Add test for no remaining
3 years ago
Matthias 48e5a45856 rpc_test: dont replicate whole response,
3 years ago
Matthias 0a7f4fd3cc fix httpx test warning
3 years ago
Matthias 097af973d2 improve RPC testcase to cover open orders
3 years ago
robcaulk 7a4bb040a5 merge develop into feat/freqai-rl-dev
3 years ago
robcaulk a49edfbaee add tests for CatboostClassifier
3 years ago
robcaulk d1a0874683 merge develop into feat/freqai-rl-dev
3 years ago
Matthias a56465e049 Merge branch 'stable' into new_release
3 years ago
Evgeniy Vladimirov 82d75d8914 Fix tests that failed due to new strategy.
3 years ago
Matthias 4a8cb3359b Fix broken tests
3 years ago
Matthias df5ae66252 Refactor webhook method
3 years ago
Matthias 1aedf08ba5 Update tests
3 years ago
Matthias fb2f2d9a39 Allow webhook message setting directly
3 years ago
robcaulk 9c73411ac2 Merge remote-tracking branch 'origin/develop' into dev-merge-rl
3 years ago
Matthias 4cf4642a6c Parametrize EMC test
3 years ago
Matthias e686faf1bc Remove faulty test cleanup
3 years ago
Matthias 564318415e Improve test resiliance
3 years ago
Matthias 6841bdaa81 Update test to verify webhook won't log-spam on new messagetypes
3 years ago
robcaulk 048cb95bd6 Merge remote-tracking branch 'origin/develop' into dev-merge-rl
3 years ago
Matthias 6702a1b219 Update test to verify webhook won't log-spam on new messagetypes
3 years ago
Matthias 80d0e66b48 Update log level in test
3 years ago
Matthias fb3d408338 Respect max_open_trades when forceentering
3 years ago
Matthias 7c84edbc23 Avoid online call when asking for `/status`.
3 years ago
Matthias e668bf7138 Test case to disable base64 strategies via API
3 years ago
Matthias 873eb5f2ca Improve EMC config validations
3 years ago
Timothy Pogue af974443cd add test
3 years ago
Matthias 1db8421b9d
Merge pull request #7303 from wizrds/feat/externalsignals
3 years ago
robcaulk ea8e34e192 Merge branch 'develop' into dev-merge-rl
3 years ago
Matthias ff36431680 Adjust tests for new messageType handling
3 years ago
Matthias 0c01b23cba Capture exceptions in send_msg calls
3 years ago
robcaulk d056d766ed make tests pass
3 years ago
Timothy Pogue 1ad25095c1 change test server from localhost to 127.0.0.1
3 years ago
Timothy Pogue 7d1645ac20 fix tests and warning message
3 years ago
Timothy Pogue 46a425d1b6 fix OOM on emc test
3 years ago
Matthias 877d24bcdd Fix external dependency of test
3 years ago
Timothy Pogue aeaca78940 change port in send_msg test
3 years ago
Timothy Pogue 12a3e90f78 fix tests
3 years ago
Matthias 0052e58917 emc: Fix potential startup timing issue
3 years ago
Timothy Pogue a477b3c244 remove log line, fix tests to not connect to actual ip
3 years ago
Timothy Pogue 0a8b7686d6 reworked emc tests
3 years ago
Timothy Pogue ed4ba8801f more emc tests
3 years ago
Timothy Pogue 9a1a4dfb5b more ws endpoint tests
3 years ago
Timothy Pogue 2afd5c202c update message parsing, tests
3 years ago
Timothy Pogue c5d031733b remove old param in test fixture
3 years ago
Timothy Pogue a7baccdb7d update log messages in emc, more tests
3 years ago
Timothy Pogue 866a564958 update emc start/shutdown, initial emc tests
3 years ago
Timothy Pogue d8cdd92140 wrap background cleanup in finally, add tests
3 years ago
Matthias b344f78d00 Improve logic for token validation
3 years ago