mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
parent
6686489c06
commit
59a723aec8
|
@ -163,6 +163,8 @@ python3 scripts/rest_client.py --config rest_config.json <command> [optional par
|
|||
| `strategy <strategy>` | Get specific Strategy content. **Alpha**
|
||||
| `available_pairs` | List available backtest data. **Alpha**
|
||||
| `version` | Show version.
|
||||
| `sysinfo` | Show informations about the system load.
|
||||
| `health` | Show bot health (last bot loop).
|
||||
|
||||
!!! Warning "Alpha status"
|
||||
Endpoints labeled with *Alpha status* above may change at any time without notice.
|
||||
|
@ -227,6 +229,11 @@ forceexit
|
|||
Force-exit a trade.
|
||||
|
||||
:param tradeid: Id of the trade (can be received via status command)
|
||||
:param ordertype: Order type to use (must be market or limit)
|
||||
:param amount: Amount to sell. Full sell if not given
|
||||
|
||||
health
|
||||
Provides a quick health check of the running bot.
|
||||
|
||||
locks
|
||||
Return current locks
|
||||
|
@ -312,6 +319,7 @@ version
|
|||
|
||||
whitelist
|
||||
Show the current whitelist.
|
||||
|
||||
```
|
||||
|
||||
### OpenAPI interface
|
||||
|
|
|
@ -361,6 +361,13 @@ class FtRestClient():
|
|||
"""
|
||||
return self._get("sysinfo")
|
||||
|
||||
def health(self):
|
||||
"""Provides a quick health check of the running bot.
|
||||
|
||||
:return: json object
|
||||
"""
|
||||
return self._get("health")
|
||||
|
||||
|
||||
def add_arguments():
|
||||
parser = argparse.ArgumentParser()
|
||||
|
|
Loading…
Reference in New Issue
Block a user