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.
|
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
|
### 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.
|
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
|
whitelist
|
||||||
Show the current whitelist
|
Show the current whitelist
|
||||||
:returns: json object
|
:returns: json object
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -216,12 +216,6 @@ def add_arguments():
|
|||||||
)
|
)
|
||||||
|
|
||||||
args = parser.parse_args()
|
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)
|
return vars(args)
|
||||||
|
|
||||||
|
|
||||||
@ -235,7 +229,7 @@ def load_config(configfile):
|
|||||||
|
|
||||||
|
|
||||||
def print_commands():
|
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)
|
client = FtRestClient(None)
|
||||||
print("Possible commands:")
|
print("Possible commands:")
|
||||||
for x, y in inspect.getmembers(client):
|
for x, y in inspect.getmembers(client):
|
||||||
|
Loading…
Reference in New Issue
Block a user