Commit Graph

530 Commits

Author SHA1 Message Date
Matthias 7eab33de08 Merge branch 'develop' into plugins/protections_backtest 2020-12-13 10:31:33 +01:00
Matthias 76594d5dde
Merge pull request #3799 from imxuwang/issue3783
Introduce Telegram /stats endpoint
2020-12-10 15:41:09 +01:00
Matthias ca99d484fc Refactor to use list comprehension 2020-12-10 07:39:50 +01:00
Matthias 33f330256b Reorder commands on telegram init 2020-12-09 20:36:30 +01:00
Matthias 3ab5514697 Add API endpoint for /stats 2020-12-07 15:07:08 +01:00
Matthias 81410fb404 Document /stats for telegram 2020-12-07 15:03:16 +01:00
Matthias e873cafdc4 Beautify code a bit 2020-12-07 14:54:39 +01:00
Matthias 3426e99b8b Improve formatting of protection startup message 2020-12-07 11:37:57 +01:00
Matthias c993831a04 Add protections to startup messages 2020-12-07 10:57:01 +01:00
Matthias 51fbd0698c Move get_logs to be static method 2020-12-06 19:57:48 +01:00
Matthias 245c19f5e9 Add simple test for /stats call 2020-12-05 14:48:56 +01:00
Matthias aa27c9ace2 Reorder methods in telegram
/stats is closely related to /profit
2020-12-05 14:39:50 +01:00
Matthias 143423145c Refactor most of the logic to rpc.py
this way /stats can be used by other RPC methods too
2020-12-05 14:38:42 +01:00
Matthias c556d1b37e Make /stats working 2020-12-05 14:06:46 +01:00
Matthias 8f61b68b2a Merge branch 'develop' into pr/imxuwang/3799 2020-12-05 14:06:23 +01:00
Matthias 058d40a72c Fix telegram /daily command without arguments 2020-12-05 08:16:40 +01:00
Matthias 36b7edc342 Update typing errors 2020-12-01 19:57:09 +01:00
Matthias 5ed85963a9 Allow forcebuy price to be a string by converting it to float
fix #3970
2020-11-21 10:39:49 +01:00
Matthias 7a8b274a44 Merge branch 'develop' into pr/imxuwang/3799 2020-11-19 13:18:03 +01:00
Matthias 4eb96cfc4f Allow locks to be gathered even when the bot is stopped 2020-11-13 06:51:45 +01:00
Matthias 2af1c80fd5 Convert _rpc_show_config to static method 2020-11-08 11:26:02 +01:00
Matthias b58d6d38b5 Use correct fields in telegram 2020-11-03 08:59:11 +01:00
Matthias d1dab23283 Remove deprecated api fields 2020-11-03 08:59:11 +01:00
Matthias cf89a773da Standardize trade api outputs
there should be no difference between current_profit and close_profit
 it's always profit, and the information if it's a closed trade is available elsewhere
2020-11-03 08:58:57 +01:00
Matthias e602ac3406 Introduce Pairlocks middleware 2020-10-27 07:06:06 +01:00
Matthias 2f91f87ad3 Merge branch 'develop' into pr/imxuwang/3799 2020-10-22 07:55:48 +02:00
Matthias 5f63fdd8ad Use better lock message 2020-10-20 19:40:39 +02:00
Matthias 64e680d7ee Document new api method 2020-10-20 19:30:00 +02:00
Matthias 1156f5e686 Use constant for times 2020-10-20 19:21:13 +02:00
Matthias cd2866eaec Add rest endpoint for /locks 2020-10-20 19:21:13 +02:00
Matthias 7a9768ffa6 Add /locks Telegram endpoint 2020-10-20 19:21:13 +02:00
Xu Wang 1c27aaab72 Declare type of 'dur'. 2020-10-18 20:24:13 +01:00
Matthias ec713ff5ae Convert _rpc_analysed_history_full to static method 2020-10-16 06:26:57 +02:00
Matthias c9b3766fa3 Remove rest_dump
it's just a wrapper around jsonify with no benefits
2020-10-04 09:14:46 +02:00
Matthias 63e1cba597 fix some typos 2020-10-04 09:12:52 +02:00
Matthias 176006da29 Sort imports 2020-10-02 07:00:45 +02:00
Matthias 66b77d2f53 Fix some types 2020-10-02 06:52:43 +02:00
Matthias 62110dc2fc Add buy / sell signal count to dataframe interface 2020-09-29 06:35:47 +02:00
Matthias 350fcc071e Don't use __code__
__code__ is a special method name used by python already
source:
https://docs.python.org/3/reference/datamodel.html#special-method-names
2020-09-29 06:35:47 +02:00
Matthias b38f68b3b0 Add 404 when strategy is not found 2020-09-29 06:35:47 +02:00
Matthias ba10bd7756 Add strategy code to __code__ 2020-09-29 06:35:47 +02:00
Matthias 4b6b7f8343 Add timeframe to candle return values 2020-09-29 06:35:47 +02:00
Matthias f82d39e1b0 Enhance restclient and add tests for new api methods 2020-09-29 06:35:47 +02:00
Matthias bb4993dc20 Add new endpoints to the documentation 2020-09-29 06:35:47 +02:00
Matthias c0654f3caf Add resiliancy against not having a analyzed dataframe yet 2020-09-29 06:35:47 +02:00
Matthias c59a1be154 show_config should not use freqtrade object 2020-09-29 06:35:47 +02:00
Matthias 1de248fe38 add list_available_pairs endpoint 2020-09-29 06:35:47 +02:00
Matthias 6a59740f83 Strategies should be a nested object 2020-09-29 06:35:47 +02:00
Matthias 32e6ea314c Return strategy with analyzed data 2020-09-29 06:35:47 +02:00
Matthias 18bbfdd341 Add /strategies endpoint 2020-09-29 06:35:47 +02:00