creslinux
e5e64a7035
Implemented local restful flask service and provided cmdline client
...
Added only the "Daily" call so far, submitting for early review/feedback
Called as example "./rest_client.py daily 3"
This depends on listed as requirements.
Flask==1.0.2
flask-jsonpify==1.5.0 (will do later)
flask-restful==0.3.6
TODO: make loading optional, cleanly unload on close
unit tests, take feedback, tidy output,
add other Telegram functions, onwards
local rest server is enabled/disabled from within config.json. E.g
"localrest": {
"enabled": true
},
The server is enabled from within existing rpc manager
and makes use of the existing superclass (RPC)
Through making use of the existing hard work done in rpc.py
It *should be easy to add the other Telegram calls into local_rpc_server.py
The server is wrapped in a thread to be non-blocking
The server and client accept serialised calls or not, used in daily to return json
The client can be used from command line or in a python client script
As example, from cmdline for last 3 days Daily
DannyMBP:rpc creslin$ ./rest_client.py daily 3
[
[
"2018-06-13",
"0.00000000 USDT",
"0.000 USD",
"0 trade"
],
[
"2018-06-12",
"0.00000000 USDT",
"0.000 USD",
"0 trade"
],
[
"2018-06-11",
"0.00000000 USDT",
"0.000 USD",
"0 trade"
]
]
2018-06-13 22:18:49 +00:00
xmatthias
c0289ad844
use list comprehension to build list
2018-06-13 19:53:12 +02:00
xmatthias
e600be4f56
Reduce force-sell verbosity
2018-06-13 19:44:00 +02:00
Matthias
d7e7ef11f9
Merge pull request #913 from freqtrade/apply-qtpylib-updates
...
Apply qtpylib upstream changes
2018-06-13 19:34:02 +02:00
gcarq
d684ff5715
drop zlma implementation
2018-06-13 16:20:13 +02:00
ran
6edb25f5c2
fixed heikenashi calculation
2018-06-13 16:17:42 +02:00
ran
e6e5c5daf0
added zlma
2018-06-13 16:16:02 +02:00
ran
61f92b7460
bugfix
2018-06-13 16:13:36 +02:00
Michael Egger
2b74982a1d
Merge pull request #877 from freqtrade/feature/improve-rpc
...
Simplify RPCManager and RPC module to implement other clients
2018-06-13 15:49:49 +02:00
gcarq
46080f5168
define _rpc_reload_conf as private method
2018-06-13 15:29:27 +02:00
Janne Sinivirta
1dcc2de776
Merge pull request #912 from freqtrade/pyup-scheduled-update-2018-06-13
...
Scheduled daily dependency update on wednesday
2018-06-13 15:44:00 +03:00
pyup-bot
875408215b
Update numpy from 1.14.4 to 1.14.5
2018-06-13 14:22:11 +02:00
pyup-bot
038acd3f5e
Update pandas from 0.23.0 to 0.23.1
2018-06-13 14:22:09 +02:00
pyup-bot
f404e0f5b3
Update requests from 2.18.4 to 2.19.0
2018-06-13 14:22:08 +02:00
pyup-bot
92b0cbdc19
Update ccxt from 1.14.177 to 1.14.186
2018-06-13 14:22:07 +02:00
gcarq
e14c9e2090
fix potential cleanup issue
2018-06-13 12:21:54 +02:00
gcarq
83eb7a0a9d
adjust logging a bit and add some comments
2018-06-13 12:21:54 +02:00
gcarq
6c1bb7983b
rpc: make freqtrade a private variable
2018-06-13 12:21:54 +02:00
gcarq
34e10a145c
remove Telegram.is_enabled() because RPCManager manages lifecycles
2018-06-13 12:21:54 +02:00
gcarq
3787dad212
don't import python-telegram-bot at runtime if disabled in config
2018-06-13 12:21:54 +02:00
gcarq
4048859912
rpc: remove tuple return madness
2018-06-13 12:21:54 +02:00
gcarq
cddb062db5
save rpc instances only in registered_modules, add some abstract methods
2018-06-13 12:21:54 +02:00
Samuel Husso
13ba68acc6
Merge pull request #908 from freqtrade/fix/plotprofit
...
fix default datadir not working in plot-script
2018-06-13 08:10:28 +03:00
xmatthias
e22da45474
update documentation with forcesell at the end of the backtest period
2018-06-13 07:00:39 +02:00
xmatthias
6357812743
fix backtest report able
2018-06-13 06:57:49 +02:00
xmatthias
6e68c3b230
fix backtesting.md formatting
2018-06-13 06:52:17 +02:00
xmatthias
0f117d480e
improve backtesting-tests
...
* assert length of result specifically
* add assert for "open_at_end"
2018-06-13 06:42:24 +02:00
xmatthias
8d8e6dcffc
Add test for extracted backtest_results test
2018-06-13 06:31:42 +02:00
xmatthias
e3ced7c15e
extract export from backtest function
2018-06-12 22:29:30 +02:00
xmatthias
182f4c603b
fix plot-script datadir not working
2018-06-12 21:43:14 +02:00
xmatthias
1f6b9c332b
fix default datadir not working in plot-script
2018-06-12 21:38:14 +02:00
xmatthias
bfde33c945
Use timestamp() instead of strftime
...
this will avoid a bug shifting epoch time by 1 hour:
https://stackoverflow.com/questions/11743019/convert-python-datetime-to-epoch-with-strftime
2018-06-12 21:12:55 +02:00
Matthias
bd6ed3ada4
Merge pull request #906 from freqtrade/pyup-scheduled-update-2018-06-12
...
Scheduled daily dependency update on tuesday
2018-06-12 14:45:24 +02:00
pyup-bot
aa6e276cf9
Update ccxt from 1.14.172 to 1.14.177
2018-06-12 14:22:06 +02:00
Gérald LONLAS
3694499a6a
Merge pull request #905 from freqtrade/issue_template
...
update issue template to include ccxt version
2018-06-11 22:38:58 -07:00
xmatthias
06b71d713c
update issue template to include ccxt version
2018-06-12 07:00:58 +02:00
Michael Egger
7141060a2d
Merge pull request #903 from freqtrade/fix/downloadscript_noavailable_pair
...
fix downloadscript crash if a pair is not available
2018-06-12 02:56:19 +02:00
Michael Egger
59a4dffc56
Merge pull request #901 from freqtrade/fix/backtest_abort_no_data
...
Check if no backtest data is found and fail gracefully
2018-06-12 02:54:58 +02:00
xmatthias
40746c3fcb
fix downloadscript crash if a pair is not available
2018-06-11 21:10:57 +02:00
xmatthias
a0f735d4f2
reduce test-noise
2018-06-11 21:02:24 +02:00
xmatthias
335d1fbbbc
Check if no backtest data is found and fail gracefully
2018-06-11 19:50:43 +02:00
Samuel Husso
3aff67605e
Merge pull request #900 from freqtrade/pyup-scheduled-update-2018-06-11
...
Scheduled daily dependency update on monday
2018-06-11 15:31:32 +03:00
Samuel Husso
7801688c6e
Merge pull request #899 from freqtrade/precommithook
...
Add note about flake8 pre-commit hooks
2018-06-11 15:24:22 +03:00
pyup-bot
17f3b217de
Update ccxt from 1.14.169 to 1.14.172
2018-06-11 14:22:07 +02:00
Janne Sinivirta
d02af07d35
Add not about flake8 pre-commit hooks
2018-06-11 14:55:39 +03:00
Janne Sinivirta
c46e50864b
Merge pull request #886 from freqtrade/feature/reload-conf
...
Reload bot config without restarting
2018-06-11 10:47:00 +03:00
Michael Egger
6c361c190b
Merge pull request #897 from freqtrade/fix_backtest_tests
...
fix backtest tests
2018-06-10 23:13:46 +02:00
xmatthias
12e455cbf5
add buy/sell index to backtest result
2018-06-10 20:52:42 +02:00
xmatthias
a9f3744f1b
fix backtest test
2018-06-10 19:46:52 +02:00
Janne Sinivirta
53e1b8c0d5
Merge pull request #895 from freqtrade/pyup-scheduled-update-2018-06-10
...
Scheduled daily dependency update on sunday
2018-06-10 16:39:07 +03:00