efbeabf141
- added only "Daily" call so far, submitting for early review/feedback This depends on zerorpc as a requirement. simple examples here: http://www.zerorpc.io/ Installed with pip3 install zerorpc localRCP is enabled/disabled from within config.json e.g "localrpc": { "enabled": true }, The server is enabled from within existing rpc manager and makes use of the existing superclass (RPC) Though making use of the existing hardwork done in rpc.py It *should be easy to add the other Telegram calls into local_rpy_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 script As example, from cmdline for last 3 days Daily /Users/creslin/PycharmProjects/freqtrade_new/.env/bin/zerorpc tcp://127.0.0.1:4242 daily 3 connecting to "tcp://127.0.0.1:4242" False ('[\n' ' [\n' ' "2018-06-08",\n' ' "0.00000000 BTC",\n' ' "0.000 USDT",\n' ' "0 trade"\n' ' ],\n' ' [\n' ' "2018-06-07",\n' ' "0.00000000 BTC",\n' ' "0.000 USDT",\n' ' "0 trade"\n' ' ],\n' ' [\n' ' "2018-06-06",\n' ' "0.00000000 BTC",\n' ' "0.000 USDT",\n' ' "0 trade"\n' ' ]\n' ']') Programitcally this would be: import zerorpc c = zerorpc.Client() c.connect("tcp://127.0.0.1:4242") for item in c.daily(3): print item
28 lines
538 B
Plaintext
28 lines
538 B
Plaintext
ccxt==1.14.155
|
|
SQLAlchemy==1.2.8
|
|
python-telegram-bot==10.1.0
|
|
arrow==0.12.1
|
|
cachetools==2.1.0
|
|
requests==2.18.4
|
|
urllib3==1.22
|
|
wrapt==1.10.11
|
|
pandas==0.23.0
|
|
scikit-learn==0.19.1
|
|
scipy==1.1.0
|
|
jsonschema==2.6.0
|
|
numpy==1.14.4
|
|
TA-Lib==0.4.17
|
|
pytest==3.6.1
|
|
pytest-mock==1.10.0
|
|
pytest-cov==2.5.1
|
|
hyperopt==0.1
|
|
# do not upgrade networkx before this is fixed https://github.com/hyperopt/hyperopt/issues/325
|
|
networkx==1.11 # pyup: ignore
|
|
tabulate==0.8.2
|
|
coinmarketcap==5.0.3
|
|
|
|
# Required for plotting data
|
|
#plotly==2.3.0
|
|
|
|
#Added for localRCP
|
|
zerorpc== |