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):