Cleanup script
This commit is contained in:
parent
70fabebcb3
commit
f2e4689d0c
@ -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
|
||||
|
||||
|
||||
```
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user