From f2e4689d0c0fb4afb007233752c9587c581288b1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 May 2019 10:29:38 +0200 Subject: [PATCH] Cleanup script --- docs/rest-api.md | 3 --- scripts/rest_client.py | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/rest-api.md b/docs/rest-api.md index aeb1421c1..728941c88 100644 --- a/docs/rest-api.md +++ b/docs/rest-api.md @@ -19,7 +19,6 @@ Sample configuration: You can then access the API by going to `http://127.0.0.1:8080/api/v1/version` to check if the API is running correctly. - ### Configuration with docker If you run your bot using docker, you'll need to have the bot listen to incomming connections. The security is then handled by docker. @@ -179,6 +178,4 @@ version whitelist Show the current whitelist :returns: json object - - ``` diff --git a/scripts/rest_client.py b/scripts/rest_client.py index 4bf46e6fd..0669feb8c 100755 --- a/scripts/rest_client.py +++ b/scripts/rest_client.py @@ -216,12 +216,6 @@ def add_arguments(): ) args = parser.parse_args() - # if len(argv) == 1: - # print('\nThis script accepts the following arguments') - # print('- daily (int) - Where int is the number of days to report back. daily 3') - # print('- start - this will start the trading thread') - # print('- stop - this will start the trading thread') - # print('- there will be more....\n') return vars(args) @@ -235,7 +229,7 @@ def load_config(configfile): def print_commands(): - # Print dynamic help for the different commands + # Print dynamic help for the different commands using the commands doc-strings client = FtRestClient(None) print("Possible commands:") for x, y in inspect.getmembers(client):