Commit Graph

775 Commits

Author SHA1 Message Date
Matthias 4e2f06fe9c Simplify band-aid code 2022-02-09 06:48:26 +01:00
Matthias 6191288ff9 Add test for NaT problematic 2022-02-09 06:36:17 +01:00
Stefano Ariestasia 92d1f2b945 fix tests 2022-02-07 07:31:35 +00:00
Matthias ee2a7a968b Add tests for /status on closed trades 2022-02-06 16:26:00 +01:00
Matthias 6ed237a72a
Merge pull request #6272 from stash86/fix-docs
Add more info on Telegram's status message
2022-02-05 16:22:45 +01:00
Matthias 1e6362debf Add test for new /status telegram message 2022-02-03 19:41:45 +01:00
Matthias 29879bb415 Update wording to entry/exit 2022-02-03 19:11:35 +01:00
Matthias a733a74dd9
Merge pull request #6294 from xataxxx/health
/health api and telegram commands to return last processing time
2022-02-02 19:53:45 +01:00
Matthias 45e533fc3e Add leverage/short properties to api responses 2022-02-01 07:08:43 +01:00
Matthias 000b8ff281
Merge pull request #6306 from freqtrade/short_forceentry
add `/forcelong` and `/forceshort` commands
2022-01-30 07:36:14 +01:00
Stefano Ariestasia 326ba46bf8
Merge branch 'freqtrade:develop' into fix-docs 2022-01-29 23:20:41 +09:00
Matthias d1d520769e Improve status table for position adjust
don't show "/max" if no maximum is set

closes #6317
2022-01-29 14:29:09 +01:00
Matthias 463714832d Merge branch 'develop' into feat/short 2022-01-29 14:19:30 +01:00
Verbalinsurection 2ba2144df1 Add tests for ETH fiat_convert 2022-01-28 11:17:16 +01:00
Matthias 15d5389564 Update /health endpoint to be in local timezone 2022-01-28 10:33:35 +01:00
Matthias c4f71cc103 More forceenter updates 2022-01-27 07:38:11 +01:00
Matthias 6e72effbf0 Update forcebuy telegram tests 2022-01-27 06:31:45 +01:00
Matthias 0a52d79208 Update forcesell to work as forceexit 2022-01-26 20:17:00 +01:00
Matthias be7ce208dc Update tests to test forceenter endpoint 2022-01-26 19:24:01 +01:00
Matthias 48d8cd82af _rpc_forcebuy 2022-01-26 19:11:01 +01:00
Stefano Ariestasia ed71f777a3 Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs 2022-01-26 07:07:00 +00:00
Stefano Ariestasia 1f26709aca changes 2022-01-26 07:06:52 +00:00
Stefano Ariestasia 7c975df42a
Merge branch 'freqtrade:develop' into fix-docs 2022-01-25 10:30:03 +09:00
Reigo Reinmets e72c3ec19f Commit just to force tests to run again. 2022-01-24 15:27:03 +02:00
Reigo Reinmets acf6e94591 Fix unittest. 2022-01-24 13:56:52 +02:00
Reigo Reinmets bf62fc9b25 Add /health endpoint that returns last_process timestamp, fix issue #6009 2022-01-23 21:58:46 +02:00
Matthias f090dcc597 Merge branch 'develop' into feat/short 2022-01-22 17:56:01 +01:00
Matthias a35b0b519a Update forcebuy endpoint to support stake-amount
closes #6223
2022-01-22 13:26:02 +01:00
Stefano Ariestasia f79decdb9c Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs 2022-01-22 06:54:57 +00:00
Stefano Ariestasia 05046b9eef Add more info on status message 2022-01-22 06:54:49 +00:00
Matthias 730d2e3574
Merge pull request #6259 from stash86/fix-docs
add "# Buys" column to status table
2022-01-21 07:49:21 +01:00
Matthias d02acb21c2 Add simple test for #buy header 2022-01-21 07:04:25 +01:00
Matthias d549905856 Api-backtest to test new functionality 2022-01-20 07:11:48 +01:00
Matthias 39184e1f95 Fix random test-fail around midnight 2022-01-16 00:19:21 +01:00
Matthias ddfbe55e7c Merge branch 'develop' into feat/short 2022-01-01 19:16:49 +01:00
Matthias 713b884d9b Fix failing monthly test 2022-01-01 10:37:43 +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
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 24807515c1 Fix random test failure 2021-12-28 09:04:14 +01:00
Matthias ea38b58081 Add base_currency to allowed webhook fields
closes #6075
2021-12-16 20:18:01 +01:00
Matthias 39f0a17e62 Fix formatting 2021-12-16 07:11:35 +01:00
Matthias 8fdef2900e Increment API version to let clients know this is now available 2021-12-11 19:41:30 +01:00
Matthias 8da79d0ab2 Add blacklist-control to telegram 2021-12-11 16:12:24 +01:00
Matthias cc96db76f0 Add possibility to delete pairs from the pairlist via api 2021-12-11 15:53:44 +01:00
Matthias edd80c3006 Merge branch 'develop' into feat/short 2021-12-09 06:34:07 +01:00
Matthias 25e1142f89 Update Enum imports 2021-12-08 15:59:20 +01:00
Matthias 9b9d61c6d6 Remove SPOT_ candletype 2021-12-08 14:38:09 +01:00
Matthias 5a3b907132 Update converter tests 2021-12-07 06:59:27 +01:00
Matthias d0467b30ba Add strategy_version to API response 2021-12-04 14:49:45 +01:00
Matthias 848a2d5383 Merge branch 'develop' into pr/dvdmchl/5929 2021-12-04 14:40:15 +01:00
Matthias 2080bf0952 Fix some formatting errors, add test for strategy version 2021-12-04 14:40:05 +01:00
Matthias 5493212672 More candletype changes 2021-12-03 13:04:31 +01:00
Matthias e0e4369c8e list-available-pairs should be tradingmode dependent 2021-12-03 08:09:32 +01:00
Matthias b578e31255 Align tests to have futures data in futures/ directory 2021-12-03 07:20:43 +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
Matthias 67f3570bf3 Merge branch 'develop' into feat/short 2021-12-01 07:21:36 +01:00
Matthias dfb148f8d7 Fix formatting 2021-11-29 19:54:54 +01:00
Matthias 0d6c933935 Improve and fix pair detection from available data 2021-11-28 15:25:57 +01:00
Spat fb6ae174b9 Added raw config and retry config to webhook 2021-11-28 11:42:57 +11:00
Matthias cb95b362ec
Merge pull request #5976 from freqtrade/forcebuy
allow force options with ordertype
2021-11-27 17:01:18 +01:00
Matthias a629777890 Improve test coverage in telegram module 2021-11-27 09:53:05 +01:00
Sam Germain 0183e313ac Merge branch 'mark-price-candles' of https://github.com/samgermain/freqtrade into mark-price-candles 2021-11-27 02:44:14 -06:00
Sam Germain 0d30b32fdd Formatting changes 2021-11-27 02:44:06 -06:00
Matthias cc9ea1d466
Merge pull request #5935 from freqtrade/short_buy_tag_compat
Short buy tag compat
2021-11-26 06:29:56 +01:00
Matthias 338fe333a9 Allow forcebuy to specify order_type 2021-11-24 20:20:58 +01:00
Matthias 51e54a666c Merge branch 'feat/short' into pr/samgermain/5780 2021-11-23 19:01:07 +01:00
Matthias ce0593c0e1 Merge branch 'develop' into feat/short 2021-11-23 07:35:26 +01:00
Matthias b8cefd687e Add api_version to botresponse 2021-11-23 07:08:55 +01:00
Matthias 64e34f382e Sell-fill should include open-rate 2021-11-22 07:13:22 +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 2a84526f04 Remove more buy_tag references 2021-11-21 10:05:56 +01:00
Matthias 36deced00b Remove more buy_tag references 2021-11-21 09:55:10 +01:00
Matthias 7a8978abbb Make ohlcv data endpoint work correctly with new interface 2021-11-20 20:09:37 +01:00
Matthias f40221dd9f Merge branch 'develop' into feat/short 2021-11-18 20:20:01 +01:00
aezo.teo 1ba2e275b8 updated test param format 2021-11-16 14:29:40 +08:00
aezo.teo c17c1611bd removed short_trades, updated schema, tests 2021-11-16 14:03:33 +08:00
Sam Germain ff6b1f4421 Small changes 2021-11-14 21:01:08 -06:00
Matthias 9102590365 Improve tests by also having a "Mixed" case 2021-11-14 19:22:12 +01:00
aezo.teo 22f7c0fdc6 updated test cases 2021-11-14 21:04:24 +08:00
aezo.teo 92997c85f9 adding sides for rate and 1 more test case 2021-11-14 17:37:31 +08:00
Matthias 4d1d8de9b7 Split /stats messages
closes #5869
2021-11-14 10:20:04 +01:00
Matthias 1dc98cc4d5 Break line 2021-11-14 10:12:19 +01:00
aezo.teo 8df334515f added logic for is_short and tests 2021-11-14 16:52:38 +08:00
Matthias 5b9cbaf277 Use Close value for trade signal calculation 2021-11-14 09:50:04 +01:00
Sam Germain 77f8f8658c test_rpc_telegram short test 2021-11-13 19:36:49 -06:00
Sam Germain 01ad65de68 test_rpc_apiserver.py 2021-11-13 19:22:43 -06:00
ethan a177e58dc4 Remove "currency" generating from splitting pair str 2021-11-13 08:49:02 -05:00
ethan 32e3376296 Update buy/sell fill telegram notifications 2021-11-12 21:49:07 -05:00
Matthias 4eb9038358 Some more fixes to % formatting 2021-11-11 15:06:16 +01:00
Matthias 1b271d0840 Improve % outputs to not use explicit "pct" entries 2021-11-11 12:58:38 +01:00
Matthias 25fcab0794 Enhance /show_config endpoint 2021-11-06 16:20:18 +01:00
Matthias ebc38159b8 Merge branch 'develop' into feat/short 2021-11-06 15:24:52 +01:00
Antoine Merino 70253258f0
Test /monthly & clean
Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 22:33:06 +01:00
Antoine Merino 459ff9692d
Add /weekly and /monthly to Telegram RPC
/weekly now list weeks starting from monday instead of rolling weeks.
/monthly now list months starting from the 1st.

Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:28 +01:00
Antoine Merino 5f40158c0b
WIP Add /weekly and /monthly to Telegram RPC
Related to "Show average profit in overview" (#5527)

Signed-off-by: Antoine Merino <antoine.merino.dev@gmail.com>
2021-11-05 21:07:19 +01:00
Matthias dffe76f109 Don't double-loop to generate profits 2021-10-31 10:49:56 +01:00
Matthias 240923341b Reformat telegram test 2021-10-29 07:05:02 +02:00
theluxaz 560802c326 Added tests for the new rpc/telegram functions 2021-10-28 21:39:42 +03:00
theluxaz 21ab83163d Quick import/clarity fix 2021-10-27 01:35:47 +03:00
theluxaz e4e75d4861 Added test data for buy_tag/sell_reason testing 2021-10-27 01:29:19 +03:00
theluxaz b51f946ee0 Fixed models and rpc performance functions, added skeletons for tests. 2021-10-25 23:43:22 +03:00
theluxaz 0e085298e9 Fixed test failures. 2021-10-21 17:25:38 +03:00
Sam Germain 3fffc315ac Merge branch 'develop' into feat/short 2021-10-20 08:11:53 -06:00
Matthias 198f3c5238 Merge branch 'feat/short' into pr/samgermain/5567 2021-10-17 10:41:03 +02:00
Matthias 69fdb8edfa Merge branch 'develop' into feat/short 2021-10-17 10:40:08 +02:00
Matthias fb2c8f7621 Rollback after each request
This closes the transaction and avoids "sticking" transactions.
2021-10-17 10:30:06 +02:00
Matthias dcefb3eb9c Fix delete_Trade api test 2021-10-16 16:48:35 +02:00
Matthias de5657a91b Fix test failing when UI is installed 2021-10-16 16:47:28 +02:00
Sam Germain bcbe8f229c Merge branch 'feat/short' into lev-freqtradebot 2021-10-13 19:02:57 -06:00
Sam Germain bd488cc086 Merge branch 'develop' into feat/short 2021-10-13 17:56:40 -06:00
Matthias cae8ff5949
Merge pull request #5623 from froggleston/rest_sysinfo
Add CPU,RAM sysinfo support to the REST API to help with bot system m…
2021-10-09 15:17:21 +02:00
Matthias 992cef56e6 Add test for sysinfo endpoint 2021-10-06 19:36:51 +02:00
Sam Germain 70db228f24 Merge branch 'feat/short' into funding-fee 2021-10-03 02:15:54 -06:00
Sam Germain d3f7207fe6 Merge branch 'develop' into feat/short 2021-10-03 02:12:25 -06:00
Sam Germain 3823ca4162 Merge branch 'test-freqtradebot-usdt' into lev-freqtradebot 2021-10-02 20:26:52 -06:00
Sam Germain b3656ddfc9 Merge branch 'feat/short' into lev-freqtradebot 2021-10-02 03:36:32 -06:00
Sam Germain e8b4cf6eaa Merge branch 'develop' into feat/short 2021-10-02 03:15:12 -06:00
Sam Germain 96d09b5615 Fixed breaking rpc tests 2021-10-02 01:44:30 -06:00
Sam Germain af6afd0ac2 Revert "Replace datetime.utcnow with datetime.now(timezone.utc)"
This reverts commit c4ac876183.
2021-09-29 22:27:21 -06:00
Sam Germain c4ac876183 Replace datetime.utcnow with datetime.now(timezone.utc) 2021-09-29 22:16:44 -06:00
Sam Germain 545b62d746 Merge branch 'feat/short' into funding-fee 2021-09-27 23:34:09 -06:00
Sam Germain 1a132758d0 merged with feat/short 2021-09-27 23:26:20 -06:00
Matthias c791b95405 Use new TestStrategy (V3) by default in tests 2021-09-21 20:24:08 +02:00
Matthias 7a5c7e7020 Update some tests to use StrategyV3 2021-09-21 19:33:33 +02:00
Matthias 3ce05c0d54 Add "sane" defaults to protection triggers 2021-09-20 20:16:58 +02:00
Matthias fd23ab3d64 improve formatting, add tests 2021-09-20 19:50:56 +02:00
Matthias dd0db7ee5d Split protection-notification into global and per-pair 2021-09-20 19:23:40 +02:00
Matthias a0fb43c6ca Add pairlock-notification 2021-09-20 19:12:59 +02:00
Sam Germain 043bfcd5ad Fixed a lot of failing tests" 2021-09-19 20:24:22 -06:00
Sam Germain 778f0d9d0a Merged feat/short into lev-strat 2021-09-19 17:44:12 -06:00
Sam Germain 60a678fea7 merged with feat/short 2021-09-19 17:02:09 -06:00
Matthias ab88217186 Improve /balance output to include starting balance and percentual change
closes #5503
2021-09-19 13:17:34 +02:00
Rokas Kupstys 1fdb656334 Add a decorator which can be used to declare populate_indicators() functions for informative pairs. 2021-09-18 10:48:18 +03:00
Sam Germain d54117990b Added funding_fee method headers to exchange, and implemented some of the methods 2021-09-09 01:19:34 -06:00
Sam Germain d6d5bae2a1 New funding fee methods 2021-09-04 16:33:06 -06:00
Sam Germain b854350e8d Changed funding fee implementation 2021-09-04 16:31:09 -06:00
Sam Germain b7891485b3 Created FundingFee class and added funding_fee to LocalTrade and freqtradebot 2021-09-04 16:20:07 -06:00
Matthias 5184cc7749 Merge branch 'develop' into feat/short 2021-09-02 07:03:14 +02:00
Matthias 07d71f014f Rename defaultStrategy file 2021-08-26 19:38:41 +02:00
Matthias 6d96b11279 Rename DefaultStrategy 2021-08-26 07:25:53 +02:00
Matthias fbf8eb4526 Rename test-legacy strategy 2021-08-26 07:04:33 +02:00
Matthias f4242106d9 Merge branch 'develop' into feat/short 2021-08-24 20:53:21 +02:00
Matthias 60b476611c Simplify a number of tests by relying on default arguments 2021-08-24 20:51:59 +02:00
Matthias 957551ea97 Merge branch 'develop' into feat/short 2021-08-24 06:25:06 +02:00
Matthias 4164f93853 Simplify fiat_convert and handle multi-mappings 2021-08-17 20:50:52 +02:00
Matthias 6b2ef36a56 Prevent directory traversal in UI Serving
Checking for directory base

closes #5427
2021-08-16 06:47:53 +02:00
Matthias abddb3ef25 Add test for directory traversal 2021-08-16 06:45:23 +02:00
Matthias 92ed7c0bf8 Merge branch 'develop' into feat/short 2021-08-07 09:42:25 +02:00
Sam Germain b9356a5564 Autopep8 formatting 2021-08-06 16:35:39 -06:00
Sam Germain d88e2ae603 Merge branch 'develop' into margin-db 2021-08-02 23:58:44 -06:00
Matthias d8d8261f1b
Merge pull request #5318 from samgermain/combined_exchange_buy_sell
combined exchange.buy and exchange.sell
2021-08-02 20:11:09 +02:00
Matthias 35bf2a59a8 Improve test reliability (fix fluky test) 2021-07-30 21:02:55 +02:00
Sam Germain 25c527ee67 combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot 2021-07-28 14:55:06 -06:00
Sam Germain 195badeb80 Changed liquidation_price to isolated_liq 2021-07-28 12:25:56 -06:00
Sam Germain 0ffc85fed9 Set default leverage to 1.0 2021-07-28 12:25:55 -06:00
Sam Germain 78708b27f2 Updated tests to new persistence 2021-07-28 12:25:55 -06:00
Sam Germain efcc2adacf About 15 margin tests pass 2021-07-28 12:25:55 -06:00
Sam Germain 000932eed0 Adding templates for leverage/short tests
All previous pytests pass
2021-07-28 12:25:55 -06:00
kevinjulian 7a0cb95ffb fix testcase 2021-07-23 20:43:27 +07:00
kevinjulian ba0fa1120a revert rename naming 2021-07-23 18:39:18 +07:00
kevinjulian acfaa39e54 revert back test_rpc_api_server 2021-07-23 18:34:18 +07:00
kevinjulian b01daa8bbc expose buy_tag to api 2021-07-22 13:09:05 +07:00
kevinjulian 235c1afd09 add buy_tag on telegram 2021-07-22 01:53:15 +07:00
kevinjulian 49886874aa rename to buy_tag 2021-07-21 20:05:35 +07:00
kevinjulian 66a7070170 run linter 2021-07-20 23:56:03 +07:00
Kevin Julian edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name 2021-07-20 19:19:46 +07:00
kevinjulian ed30c023cd fix some testcase 2021-07-20 19:08:14 +07:00
Matthias e4b42b2b5b
Merge pull request #5284 from samgermain/merge_get_buy_sell_rate
Merge get_buy_rate and get_sell_rate
2021-07-20 06:54:47 +02:00
Matthias 7b7d9c02d7
Merge pull request #5243 from freqtrade/feat/webservermode_progress
Introduce webserver mode subcommand
2021-07-18 10:48:55 +02:00
Sam Germain 7c27525bd8 Merge get_buy_rate and get_sell_rate 2021-07-17 22:51:20 -06:00
Matthias 02d716a8be Fix api test 2021-07-14 21:03:57 +02:00
Rokas Kupstys 0e4466ca1e Implement strategy-controlled stake sizes. Expose `self.wallet` to a strategy. 2021-07-11 12:38:58 +03:00
Matthias 72a103f32d Properly test webserver startup in standalone mode 2021-07-10 10:21:25 +02:00
Matthias b7a9853d9a Increase test coverage 2021-07-06 21:04:52 +02:00
Matthias a4bd862323 Fix fluky test 2021-07-06 20:29:04 +02:00
Matthias 005da97183 extract backtesting abort functionality 2021-07-06 19:48:28 +02:00
Matthias b44d215b90 Add test for backtest via APII 2021-07-06 19:48:28 +02:00
Matthias edb8c4f0e5 Fix tests for webserver mode 2021-07-06 19:48:28 +02:00
Matthias dec523eef0 Display verison of installed FreqUI 2021-07-06 07:20:05 +02:00
kevinjulian 9e548657e0 fix testcase 2021-07-04 21:08:46 +07:00
kevinjulian b722e12350 compact low balance currencies 2021-07-04 02:44:48 +07:00
Matthias 40545e62af
Merge pull request #5082 from freqtrade/dry_run_order
Dry run order filling
2021-06-25 18:26:01 +02:00
Matthias 6e99e3fbbb Implement tests for message updating 2021-06-19 09:31:34 +02:00
Matthias 7ff794cb87 Merge branch 'develop' into pr/eatrisno/4308 2021-06-17 19:46:15 +02:00
Matthias a49ca9cbf7 Change log-level "Executing handler" msg to debug
closes #5143
2021-06-17 06:57:35 +02:00
Matthias d32508aa75 Merge branch 'develop' into pr/eatrisno/4308 2021-06-13 20:04:24 +02:00
Matthias d4dfdf04fc Move RPCMessageType to enums 2021-06-09 20:23:17 +02:00
Matthias 9c34304cb9 Move state enums to enums package 2021-06-08 21:20:35 +02:00
Matthias 89b9915c12 Update imports for SellType in tests 2021-06-08 21:07:16 +02:00
Matthias b9cf950bbf Add test for bad argument on /profit 2021-06-08 20:35:25 +02:00
Matthias e71d965e32
Merge pull request #4982 from eschava/profit_day_week
day/week options for Telegram '/profit' command
2021-06-08 19:26:57 +01:00
Matthias c389d44e9a Improve filling logic 2021-06-05 15:22:52 +02:00
Matthias 1e988c97ad Update dry-run order handling to use realistic fill prices
closes #3389
2021-06-05 09:09:39 +02:00
Matthias bd1984386e Move get_sell_rate to exchange class 2021-06-02 11:41:13 +02:00
Eugene Schava 79552a93fe telegram: move the most important information to the top of sell message
fixed tests
2021-06-01 20:17:11 +03:00
Matthias 313567d07d Support having numbers in custom keyboard 2021-05-29 08:12:25 +02:00
Matthias 8bef7217ec Forgot to save :O 2021-05-27 11:24:01 +02:00
Matthias a6cd353655 Address random ci failure 2021-05-27 11:22:22 +02:00
Matthias f760b4a789 Merge branch 'develop' into pr/gmatheu/4746 2021-05-23 16:03:11 +02:00
Matthias 77302ea178 Update documentation for forcebuy query 2021-05-23 16:01:49 +02:00
Matthias 765c824bfc isort 2021-05-22 17:25:23 +02:00
A. Schueler be13856171 Fix flake8 error in test_fiat_convert 2021-05-22 13:43:48 +02:00
A. Schueler e4ca944597 Add tests for coingecko backoff 2021-05-22 12:04:24 +02:00
Eugene Schava 459fae6d80 Total row for telegram "/status table" command
fixes
2021-05-17 16:22:48 +03:00
Eugene Schava 3ad8fa2f38 Total row for telegram "/status table" command
moved sum calculation to API
2021-05-17 15:59:03 +03:00
Matthias 2d7735ba04 Update telegram to sort performance by absolute performance 2021-05-15 19:49:21 +02:00
Matthias 6b2a38ccfb Add absolute Profit to apiserver 2021-05-15 19:39:46 +02:00
Matthias e1447f955c /locks should always respond, even if there's no locks
closes #4942
2021-05-15 10:50:00 +02:00
Matthias 09756e3007 Subplots should always be included in responses 2021-05-14 06:36:50 +02:00
Matthias 2157923aee have edge send multiple messages if necessary
closes #4519
2021-05-08 19:45:34 +02:00
Matthias 4693cba10d
Merge pull request #4769 from freqtrade/trades_pagination
Trades pagination
2021-04-22 19:13:19 +02:00
Matthias 7e2e196643 improve sell_message by using sell rate 2021-04-22 17:13:22 +02:00
Matthias 05ce3acc46 Improve tests for api_trades 2021-04-20 21:29:16 +02:00
Matthias bd92ce938c trade_history should paginate through results
this avoids huge results
2021-04-20 21:04:44 +02:00
Matthias f821ef5aec Final finetunings of rpc_fill messages 2021-04-20 19:36:30 +02:00
Matthias efbe0843be Add documentation for fill messages 2021-04-20 19:23:29 +02:00
Matthias 0341ac5a55 rename RPC message types 2021-04-20 19:23:28 +02:00
Matthias 8800a09770 Don't send double-notifications for stoploss fills 2021-04-20 19:22:14 +02:00
Matthias fecd5c582b Add buy and sell fill notifications
closes #3542
2021-04-20 19:22:14 +02:00
Matthias 71b017e7c3 Simplify webhook test 2021-04-20 19:22:14 +02:00
Matthias 2254f65fa7 use binance intests instead of bittrex 2021-04-20 12:59:15 +02:00
Matthias 44bfb53668 Don't use current rate for closed trades 2021-04-17 19:29:34 +02:00
Matthias c52edcff4d
Merge pull request #4677 from mads03dk/get_trade
Add API endpoint for getting a specific trade
2021-04-16 19:57:58 +02:00
Matthias aeb81f90ff Implement errorhandling for /trade endpoint 2021-04-16 19:35:56 +02:00
Gonzalo Matheu e3c5a4b3fc telegram: Formatting imports 2021-04-15 21:51:16 -03:00
Gonzalo Matheu 5fae4ea2fd telegram: Formatting code 2021-04-15 21:51:16 -03:00
Gonzalo Matheu 50bdae8eb2 telegram: Adding forcebuy inline keyboard 2021-04-15 21:51:16 -03:00
Matthias ba38e398e4 Add type hint 2021-04-13 22:17:42 +02:00
Matthias c316531c49 make tests 3.7 compatible 2021-04-13 22:07:01 +02:00
Matthias c2f35ce416 /balance should use cached tickers when possible 2021-04-13 20:21:03 +02:00
Matthias 9a58a85347 Don't export "hum" date versions for trade objects.
They are not used and have a rather high performance penalty due to
using arrow.get
2021-04-13 06:17:11 +02:00
Matthias aaf9872ef3 Simplify webserver test 2021-04-10 19:53:00 +02:00
Matthias ebbe47f38d Simplify fiat convert and fix USD coingecko problem 2021-04-10 13:36:16 +02:00
Matthias 4d30c32ad2 Improve resiliancy of a test 2021-04-07 17:10:20 +02:00
Matthias 431f0a3db4
Merge pull request #4671 from freqtrade/fix/sqlalchemy
sqlalchemy database locked bug
2021-04-05 14:09:35 +02:00
Matthias ea0b47a7f9 Replace test occurances of Trade.session with Trade.query.session 2021-04-05 07:38:07 +02:00
Matthias 41cb2a6451 Merge branch 'develop' into pr/rokups/4596 2021-04-03 17:00:37 +02:00
Mads Sørensen ede26091b9 Add validation in the right places... 2021-04-02 14:35:19 +02:00
Mads Sørensen 2c0079b00b Add profit_fiat to tests, use ANY, as price changes... 2021-04-02 13:16:52 +02:00
Matthias 71e2134694 Add some simple tests for hyperoptParameters 2021-03-27 11:26:26 +01:00
Matthias e39cff522d Remove duplicate dict keys in test 2021-03-22 17:30:16 +01:00
Matthias 6389e86ed6 Add test for uvloop fix 2021-03-13 16:09:07 +01:00
Matthias 333ad02605 Fix random test failure 2021-03-10 10:39:38 +01:00
Th0masL 37e6006169 Fix order_by in trades command 2021-03-08 23:21:56 +02:00
Th0masL ad0e60b5b6 Add trade_id to Cancel messages and reduced lines length 2021-03-06 15:07:47 +02:00
Th0masL 2472f52874 Add trade_id to tests 2021-03-06 01:07:37 +02:00
Matthias 5196306407 Remove deprecated profit return value 2021-03-05 20:03:49 +01:00
Matthias 007ac7abb5 Add telegram pair unlocking 2021-03-01 20:09:40 +01:00
Matthias 6640156ac7 Support deleting locks via API 2021-03-01 19:50:39 +01:00
Matthias 3d65ba2dcb Add rpc method to delete locks 2021-03-01 07:51:33 +01:00
Matthias a13dc3cdde Use sensible defaults for balance_dust_level 2021-02-28 09:57:52 +01:00
Xanders efa50be145
Fix blank lines rule at test_rpc_webhook.py 2021-02-26 21:32:41 +03:00
Xanders 52641aaa31
Add test for webhook JSON format 2021-02-26 18:12:10 +03:00
Matthias 228e51b60b Fix #4405 2021-02-22 13:34:52 +01:00
Matthias 5e4730b73b Add test confirming #4405 2021-02-22 11:44:39 +01:00
Matthias fedbb5c0c4 Remove last flask occurance from setup.py
fixes #4390
2021-02-17 20:47:11 +01:00
Matthias e7acee7904 Improve coin value output by rounding coin specific 2021-02-13 16:05:56 +01:00
Matthias 024849d844
Merge pull request #4285 from freqtrade/ui_deploy
Deploy FreqUI into webserver
2021-02-03 20:09:31 +01:00
Matthias 2c80388b40 Fix valueerror in case of empty array files 2021-02-01 06:28:49 +01:00
Matthias e4a085027b Add test for UI methods 2021-01-31 15:27:00 +01:00
Matthias 27970b424d Add webUI serving to api-server 2021-01-31 14:50:54 +01:00
Matthias 406682c3bb Fix random api failure in slow cases 2021-01-30 10:20:40 +01:00
Matthias c659150d9f Also print trade_duration in seconds to json 2021-01-25 19:42:34 +01:00
Matthias 3b51545d23 Add trade_duration to to_json 2021-01-24 08:58:41 +01:00
Matthias c42241986e further investigate random test failure 2021-01-21 19:20:38 +01:00
Matthias 20591b539a
Merge pull request #4228 from baartch/develop
Extending the Telegram Bot command /status with the possibility to query specific trade_ids
2021-01-19 20:08:49 +01:00
Matthias cd8d4da466 Add test for /status <tradeids> functionality 2021-01-19 19:45:13 +01:00
Matthias 53c208197d Add bot_name setting
allows naming the bot to simply differentiate when running different
bots.
2021-01-16 16:19:49 +01:00
Matthias 572f5f9186 Fix fstring syntax error 2021-01-16 10:05:47 +01:00
Matthias 9f338ba6ed Debug random test failure in CI 2021-01-16 10:01:31 +01:00
Matthias adb3fb123e Fix typo 2021-01-12 19:35:02 +01:00
Matthias ac43591c44 Fix failing api when max_open_trades is unlimited 2021-01-12 19:24:37 +01:00
Matthias 8631a54514 Fix test due to pyjwt2.0 2021-01-08 19:34:01 +01:00
Matthias e69dac2704 Fix bug in RPC history mode when no data is found 2021-01-06 15:38:46 +01:00
Matthias 84ced92002 Fix mock-tests missing some fields 2021-01-03 06:49:07 +01:00
Matthias 29f4dd1dcd Enhance some response models 2021-01-03 06:49:07 +01:00
Matthias b2ab553a31 Rename api_server2 module to apiserver 2021-01-03 06:49:04 +01:00
Matthias eb20f6e7d0 Align auth token to flask version to prevent user-logout 2021-01-03 06:49:04 +01:00
Matthias 1717121f10 Properly use JWT secret key 2021-01-03 06:49:04 +01:00
Matthias 790f833653 Some more tests around api_auth 2021-01-03 06:49:04 +01:00
Matthias 776ce57f55 Remove api_server 2021-01-03 06:49:04 +01:00
Matthias 54a50b1fb4 Fix some tests 2021-01-03 06:49:04 +01:00
Matthias 9f873305eb Improve response models 2021-01-03 06:49:04 +01:00
Matthias 9350f505bc Implement missing methods 2021-01-03 06:49:04 +01:00
Matthias e23898d17b Improve some tests 2021-01-03 06:49:04 +01:00
Matthias 9ee1d88355 Implement more endpoints 2021-01-03 06:49:04 +01:00
Matthias a18d66e108 Add more endpoints to fastapi 2021-01-03 06:49:04 +01:00
Matthias f37ea4ba24 Fix some initial tests towards fastAPI 2021-01-03 06:49:04 +01:00
Matthias 9feabe707f Fix RPC methods to allow wildcards (and validate wildcards) 2020-12-30 09:57:31 +01:00
Matthias 0d4cf32086 Slightly adapt to pandas incompatibility 2020-12-28 09:50:48 +01:00
Matthias a87c273903 Refactor RPC modules so handlers don't inherit RPC directly 2020-12-24 09:09:23 +01:00
Matthias 1508e08ea5 Move fiatconvert init to RPC class 2020-12-24 08:39:00 +01:00
Matthias 5bf739b917 Simplify more telegram tests 2020-12-24 07:39:46 +01:00
Matthias be4a4be7a3 Further simplify test_telegram 2020-12-24 07:29:26 +01:00
Matthias 4cbbb80bc3 Refactor test_telegram to simplify tests 2020-12-24 07:10:01 +01:00