stable/freqtrade
creslinux 631df64c68 To better align with multiple client protocols, this PR
Refactors the existing RPC directory, classes, defs as below.
This is to better reflect the nature of the files/classes/defs to support other clients - such as rest

The code is functional, ive tested every RPC button in Telegram.
1 unit test is failing ( they all were till find_replace) in test_rpc_telegram.

Can I ask for anothers opinion on why this 1 test fails, im at loss to debug
- mocker is stretching my working knowledge of python -

Ive renamed common methods from RPC_method_name to server_method_name
e.g rpc_stop becomes server_stop, the super class is CLIENTS not RPC as it is agnostic to RPC

freqtrade/rcp/ - rpc.py
......................- rpc_manager.py
......................- telegram.py

to:

freqtrade/clients/client_manager.py (was rpc_manager
......................-common/client.py (was rpc.py - but is agnostic to what client calls)
......................-rpc/telegram.py
......................-rpc/*discord.py (example future RPC client
......................-rest/*cmd line.py (example future rest cmdline rest client
......................-rest/*web.py (example future rest web client
2018-06-09 09:03:22 +00:00
..
clients To better align with multiple client protocols, this PR 2018-06-09 09:03:22 +00:00
exchange Exchange: f-strings into use 2018-06-09 08:27:39 +03:00
optimize fix windows-specific init issue with named tuple 2018-06-08 19:46:07 +02:00
strategy add ignore explanation 2018-06-02 14:18:57 +02:00
tests To better align with multiple client protocols, this PR 2018-06-09 09:03:22 +00:00
vendor add missing import 2017-11-20 22:26:32 +01:00
__init__.py handle sqlalchemy NoSuchModuleError 2018-06-07 21:35:57 +02:00
__main__.py Add __main__.py to improve how to launch the bot 2018-06-03 08:57:13 -07:00
analyze.py flake8 fixes 2018-06-07 20:23:09 +03:00
arguments.py arguments,configuration: fstring in use 2018-06-09 08:24:45 +03:00
configuration.py arguments,configuration: fstring in use 2018-06-09 08:24:45 +03:00
constants.py define constants.DEFAULT_DB_DRYRUN_URL and fix StaticPool conditions 2018-06-07 17:29:43 +02:00
fiat_convert.py Fiat_converter: fstrings into use 2018-06-09 08:27:39 +03:00
freqtradebot.py To better align with multiple client protocols, this PR 2018-06-09 09:03:22 +00:00
indicator_helpers.py fix typing 2018-05-30 22:09:20 +02:00
main.py handle sqlalchemy NoSuchModuleError 2018-06-07 21:35:57 +02:00
misc.py type anotation fixes 2018-05-30 22:38:09 +02:00
persistence.py handle sqlalchemy NoSuchModuleError 2018-06-07 21:35:57 +02:00
state.py Add a Enum class State that contains Bot running states 2018-03-03 09:33:54 +08:00