Commit Graph

442 Commits

Author SHA1 Message Date
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
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
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 96d09b5615 Fixed breaking rpc tests 2021-10-02 01:44:30 -06: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
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
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 60b476611c Simplify a number of tests by relying on default arguments 2021-08-24 20:51:59 +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
Sam Germain b9356a5564 Autopep8 formatting 2021-08-06 16:35:39 -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
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