mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update rest api documentation
This commit is contained in:
parent
03302fa0b0
commit
9e619ecc50
|
@ -163,7 +163,7 @@ python3 scripts/rest_client.py --config rest_config.json <command> [optional par
|
||||||
| `strategy <strategy>` | Get specific Strategy content. **Alpha**
|
| `strategy <strategy>` | Get specific Strategy content. **Alpha**
|
||||||
| `available_pairs` | List available backtest data. **Alpha**
|
| `available_pairs` | List available backtest data. **Alpha**
|
||||||
| `version` | Show version.
|
| `version` | Show version.
|
||||||
| `sysinfo` | Show informations about the system load.
|
| `sysinfo` | Show information about the system load.
|
||||||
| `health` | Show bot health (last bot loop).
|
| `health` | Show bot health (last bot loop).
|
||||||
|
|
||||||
!!! Warning "Alpha status"
|
!!! Warning "Alpha status"
|
||||||
|
@ -192,6 +192,11 @@ blacklist
|
||||||
|
|
||||||
:param add: List of coins to add (example: "BNB/BTC")
|
:param add: List of coins to add (example: "BNB/BTC")
|
||||||
|
|
||||||
|
cancel_open_order
|
||||||
|
Cancel open order for trade.
|
||||||
|
|
||||||
|
:param trade_id: Cancels open orders for this trade.
|
||||||
|
|
||||||
count
|
count
|
||||||
Return the amount of open trades.
|
Return the amount of open trades.
|
||||||
|
|
||||||
|
@ -274,7 +279,6 @@ reload_config
|
||||||
Reload configuration.
|
Reload configuration.
|
||||||
|
|
||||||
show_config
|
show_config
|
||||||
|
|
||||||
Returns part of the configuration, relevant for trading operations.
|
Returns part of the configuration, relevant for trading operations.
|
||||||
|
|
||||||
start
|
start
|
||||||
|
@ -320,6 +324,7 @@ version
|
||||||
whitelist
|
whitelist
|
||||||
Show the current whitelist.
|
Show the current whitelist.
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Message WebSocket
|
### Message WebSocket
|
||||||
|
|
|
@ -177,8 +177,7 @@ class FtRestClient():
|
||||||
return self._get("version")
|
return self._get("version")
|
||||||
|
|
||||||
def show_config(self):
|
def show_config(self):
|
||||||
"""
|
""" Returns part of the configuration, relevant for trading operations.
|
||||||
Returns part of the configuration, relevant for trading operations.
|
|
||||||
:return: json object containing the version
|
:return: json object containing the version
|
||||||
"""
|
"""
|
||||||
return self._get("show_config")
|
return self._get("show_config")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user