Commit Graph

500 Commits

Author SHA1 Message Date
Matthias 9c0a3fffd7 Avoid double notifications in case of partially filled buy orders 2020-08-26 22:17:43 +02:00
Matthias 85e71275d3 Simplify forcesell method by using freqtrade methods 2020-08-26 21:27:09 +02:00
Matthias 605ed90567
Merge pull request #3592 from freqtrade/stoploss_distance
Add stoploss-distance (to current price) to /status output
2020-08-25 19:56:23 +02:00
Matthias 42273ae042
Merge pull request #3695 from freqtrade/fix_daily_rpc
Fix daily rpc for webservice
2020-08-19 14:16:24 +02:00
Matthias 3d515ed5bf
Merge pull request #3558 from freqtrade/bt_add_maxdrawdown
Revise backtesting export format, add some metrics
2020-08-19 06:39:47 +02:00
Matthias 375e671aaf Move formatting of /daily to telegram
so /daily can return numbers in the API
2020-08-18 20:12:14 +02:00
Matthias 56ca37fd8b Also provide stacktrace via log endpoints 2020-08-15 20:15:02 +02:00
Matthias 1ffa3d1ae0 Improve telegram message formatting 2020-08-15 08:31:36 +02:00
Matthias f5863a1c6f Fix mypy errors 2020-08-15 08:15:47 +02:00
Matthias 9ad8e74247 Add tests for log-endpoints 2020-08-14 19:41:27 +02:00
Matthias 5f79caa307 Implement /logs endpoints in telegram and restAPI 2020-08-14 15:44:36 +02:00
Matthias faa2bbb555 Document exception hierarchy 2020-08-12 14:29:14 +02:00
Matthias 87e4a82041 Merge branch 'develop' into bt_add_maxdrawdown 2020-08-09 08:34:36 +02:00
Matthias 8ed3b81c61 Implement /delete in rest client 2020-08-04 19:57:28 +02:00
Matthias 075c73b9e3 Improve formatting of telegram message 2020-08-04 19:56:49 +02:00
Matthias 817f5289db /delete should Cancel open orders (and stoploss orders) 2020-08-04 19:43:22 +02:00
Matthias 9163c7f3d3 Improve api response 2020-08-04 19:43:05 +02:00
Matthias b954af33cf Fix type erorr in callable 2020-08-04 16:01:41 +02:00
Matthias 4b0164770c Add test for /delete 2020-08-04 14:49:59 +02:00
Matthias 215972c68f Implement /delete for api-server 2020-08-04 14:41:22 +02:00
Matthias c0083c4244 Merge branch 'develop' into pr/thopd88/3611 2020-08-04 07:00:54 +02:00
Matthias db8f3a9e9b
Merge pull request #3609 from thopd88/develop
Add telegram /trades command
2020-07-25 16:45:09 +02:00
Matthias e0c14e6214 Add /trades to help (so users know about it) 2020-07-23 07:56:05 +02:00
Matthias fdc84eef59 /trades shall only return closed trades 2020-07-23 07:50:45 +02:00
Matthias 0f18b2a0d4 Add test and fix case where no trades were closed yet 2020-07-23 07:12:14 +02:00
thopd88 0bad55637e fix flake8 indent error 2020-07-23 10:12:52 +07:00
thopd88 a3daf8e41c Fix line too long 2020-07-23 09:47:53 +07:00
thopd88 0502fe0496 New /trades 3 columns and exclude open trades 2020-07-23 09:36:05 +07:00
Matthias 4c97527b04 FIx failing test 2020-07-20 19:11:15 +02:00
thopd88 eaa7370174 add /delete command 2020-07-20 11:08:18 +07:00
thopd88 28f4a1101e Revert "Add telegram /delete command to delete tradeid"
This reverts commit 08fdd7d863.
2020-07-20 10:54:17 +07:00
thopd88 08fdd7d863 Add telegram /delete command to delete tradeid
code inspired from _rpc_forcesell
2020-07-19 22:10:59 +07:00
thopd88 dd3a2675b5 Add telegram trades command to list recent trades 2020-07-19 22:02:53 +07:00
Alex Pham 3271c773a7
Fix SQL syntax error when compare pair strings
First happens in Postgres
2020-07-19 21:30:55 +07:00
Matthias 82c68f07cd Add stoploss-distance (to current price) to /status output 2020-07-14 20:16:18 +02:00
Matthias 01f325a9e4 Send timeframe min and ms in show_config response 2020-07-13 21:15:33 +02:00
Matthias fbddfaeacf Introduce DatetimePrintFormat 2020-07-03 06:58:27 +02:00
Theagainmen 99ac2659f3 Init FIAT converter in api_server.py 2020-07-02 11:27:33 +02:00
Matthias cf1bbb1afb
Merge pull request #3517 from freqtrade/rpc/winlossratio
Show winning vs. losing trades
2020-06-30 07:48:18 +02:00
Matthias 92c70fb903 Rename get_order to fetch_order (to align to ccxt naming) 2020-06-28 16:27:35 +02:00
Matthias bf61bc9d83 Introduce ExchangeError 2020-06-28 16:01:40 +02:00
Matthias 6734269bfc Use >= to compare for winning trades 2020-06-25 19:22:50 +02:00
Matthias b77a105778 Add CORS_origins key to configuration 2020-06-24 20:32:19 +02:00
Matthias 0509b9a8fc Show winning vs. losing trades 2020-06-24 06:43:19 +02:00
Matthias a3506f4d8e Merge branch 'develop' into timeframe 2020-06-15 06:35:55 +02:00
Theagainmen 8c9dea988c Now supports both commands & fixed test 2020-06-10 19:28:02 +02:00
Theagainmen 043397c5d7 reload_conf & reload_config now both accepted, code is more consistent now 2020-06-10 19:28:02 +02:00
Theagainmen 04fa597695 Test with multiple commands in one line 2020-06-10 19:28:02 +02:00
Theagainmen ac92834693 reload_conf & reload_config now both accepted, code is more consistent now 2020-06-10 19:28:02 +02:00
Matthias db4576c50b Use json for *strategy dump 2020-06-07 10:09:39 +02:00
Matthias 8d8cf5a2fd Improve code formatting of telegram 2020-06-06 17:28:00 +02:00
Matthias ed1268cf39 Merge branch 'develop' into ask_strategy_verbosity 2020-06-06 17:23:19 +02:00
Matthias 6aed16c146
Merge pull request #3448 from Theagainmen/Telegram_emojis_V2
Added emoji's to the Telegram RPC
2020-06-06 17:22:56 +02:00
Matthias 3bd38171f8 DOn't use json.dumps - it's not necessary 2020-06-06 17:19:44 +02:00
Theagainmen 172ca761f2 Fixed typo 'emoij' 2020-06-06 17:11:47 +02:00
Matthias b2316cdd00 Extract sell_smoij logic into it's own function 2020-06-06 17:11:47 +02:00
hroff-1902 a86863c032
Merge pull request #3440 from freqtrade/rpc_status_fields
Rpc status fields
2020-06-05 23:59:01 +03:00
Matthias 8c32d691c7 Add information about bid and ask strategy to /showconfig 2020-06-05 20:31:40 +02:00
Theagainmen f34bcc5fd3
Splitted a line that was too long, resulting in error for flake8 2020-06-05 20:15:22 +02:00
Theagainmen 4c6a7a354d
Removed '.encode' lines, unessecary 2020-06-05 20:04:11 +02:00
Theagainmen 080efd1102
Added unicoded emoji's to Telegram messages 2020-06-05 19:09:49 +02:00
Matthias 7bd55aa2f1 Use correct calcuation for "locked in profit" 2020-06-04 07:04:32 +02:00
Matthias 412b50dac5 Add current stoploss calculations 2020-06-04 06:59:48 +02:00
Matthias 0dc1a8e037 Add profit sum to api response 2020-06-03 19:40:30 +02:00
hroff-1902 64881a94e2
Merge branch 'develop' into timeframe 2020-06-02 15:56:34 +03:00
hroff-1902 2cc47f651d
Merge pull request #3408 from freqtrade/apiserver_logging
Apiserver logging
2020-06-02 14:32:44 +03:00
hroff-1902 5435df84bd
Merge pull request #3387 from freqtrade/rpc_blacklist
Improve RPC Blacklist by adding feedback
2020-06-02 04:10:33 +03:00
Matthias b2c241e607 Replace ticker_interval in all rpc files 2020-06-01 20:43:20 +02:00
Matthias 7ad1c7e817 Allow lower verbosity level for api server
Not logging all calls makes sense when running the UI
otherwise this is VERY verbose, clogging up the log.
2020-05-31 09:51:45 +02:00
Matthias cc90e7b413 Show "No trades yet." when no trade happened yet 2020-05-30 19:49:16 +02:00
Matthias 91f84f1a43 Fix typo in close trade message 2020-05-30 19:28:30 +02:00
Matthias 46456516bb Remove exception handler 2020-05-29 10:11:23 +02:00
Matthias 1d6e3fea85 Update /profit telegram message to support non-closed trades 2020-05-29 09:38:12 +02:00
Matthias 6261aef314 Return /profit even if no trade is closed 2020-05-29 09:03:48 +02:00
Matthias 7399c7e70c Provide blacklist feedback to telegram 2020-05-28 07:04:06 +02:00
Matthias 0e8f95effd Improve blacklist adding with proper feedback 2020-05-28 06:51:53 +02:00
Matthias b2125bd6ee check for None to allow 0.0 profit 2020-05-27 19:15:56 +02:00
Matthias 3e3cce4559 Use pct instead of _perc 2020-05-26 19:25:03 +02:00
Matthias 18d2587800 Address feedback 2020-05-26 06:12:25 +02:00
Matthias 811e23e3da Have profit return time in timestamp 2020-05-24 08:58:26 +02:00
Matthias 110b5a2521 Add timestamp to trade output 2020-05-24 08:46:50 +02:00
Matthias a11651ae67 Correctly test cors 2020-05-20 19:43:52 +02:00
Matthias 2fbd31f5e0 CORS - allow authenticated responses 2020-05-20 07:04:48 +02:00
Matthias 5a9a31351a Adjust empty f-strings to be non-fstrings 2020-05-18 11:40:25 +02:00
hroff-1902 fd7fa3116a
Merge pull request #3321 from freqtrade/rpc/improve_daily
Improve daily API format
2020-05-18 01:29:28 +03:00
Matthias 64b8d8c7bd Use correct Return hint 2020-05-17 20:18:35 +02:00
Matthias 943a2a08f8 Improve daily API format 2020-05-17 20:12:01 +02:00
Matthias 1e76bff1bd Add sell_order_status to keep track of cancellations 2020-05-17 10:52:20 +02:00
Matthias 61f6acb5c9 Add cors support - needed for UI 2020-05-16 07:07:24 +02:00
Matthias 77c9334c50
Use available config object
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-05-12 13:39:24 +02:00
Matthias aa25461e88 Show forcebuy status so it's visible before calling forcebuy. 2020-05-12 07:20:59 +02:00
hroff-1902 bbb609c927
Merge pull request #3278 from freqtrade/api/jwt
API server - support JWT
2020-05-10 21:33:41 +03:00
Matthias d291ca0071 Simplify code section 2020-05-10 19:43:16 +02:00
Matthias 21c2af2b92 Load jwt_key from config 2020-05-10 19:42:06 +02:00
Matthias c3f0b5d4eb Rename methods to match endpoints 2020-05-10 19:37:41 +02:00
Mohamad Tarbin 570c51b0b0
Fix Typo in telegram Plugin 2020-05-10 05:07:49 -04:00
Matthias 8139058fcc Implement token/login and token/refresh endpoints 2020-05-10 10:35:38 +02:00
Matthias a62d7495ca FIx typo in telegram method 2020-05-05 21:28:59 +02:00
Matthias 593d13ebdd Show new values also in Telegram 2020-05-05 21:21:20 +02:00
Matthias e4023a6567 Add some minor things to show_config 2020-05-05 21:19:35 +02:00