From 3979801a861bb5e2fbed9e7dc91de1006298c10a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 15 Jun 2024 09:49:08 +0200 Subject: [PATCH] Update documentation about keyword arguments --- docs/rest-api.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/rest-api.md b/docs/rest-api.md index 51573b77f..4f2eef0b2 100644 --- a/docs/rest-api.md +++ b/docs/rest-api.md @@ -118,6 +118,14 @@ By default, the script assumes `127.0.0.1` (localhost) and port `8080` to be use freqtrade-client --config rest_config.json [optional parameters] ``` +Commands with many arguments may require keyword arguments (for clarity) - which can be provided as follows: + +``` bash +freqtrade-client --config rest_config.json forceenter BTC/USDT long enter_tag=GutFeeling +``` + +This method will work for all arguments - check the "show" command for a list of available parameters. + ??? Note "Programmatic use" The `freqtrade-client` package (installable independent of freqtrade) can be used in your own scripts to interact with the freqtrade API. to do so, please use the following: