mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-03 21:00:25 +00:00
Merge pull request #12489 from freqtrade/partials-3.13
Partials with python 3.13
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -91,12 +91,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Run command docs partials extract
|
- name: Run command docs partials extract
|
||||||
# This should be kept before the repository check to ensure that the docs are up-to-date
|
# This should be kept before the repository check to ensure that the docs are up-to-date
|
||||||
|
if: ${{ (matrix.python-version == '3.13') }}
|
||||||
run: |
|
run: |
|
||||||
python build_helpers/create_command_partials.py
|
python build_helpers/create_command_partials.py
|
||||||
|
|
||||||
- name: Check for repository changes - *nix
|
- name: Check for repository changes - *nix
|
||||||
# TODO: python 3.13 slightly changed the output of argparse.
|
if: ${{ (runner.os != 'Windows') }}
|
||||||
if: ${{ (matrix.python-version != '3.13') && (runner.os != 'Windows') }}
|
|
||||||
run: |
|
run: |
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
echo "Repository is dirty, changes detected:"
|
echo "Repository is dirty, changes detected:"
|
||||||
|
|||||||
@@ -2,52 +2,64 @@ import subprocess # noqa: S404, RUF100
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
subcommands = [
|
def _write_partial_file(filename: str, content: str):
|
||||||
"trade",
|
with Path(filename).open("w") as f:
|
||||||
"create-userdir",
|
f.write(f"``` output\n{content}\n```\n")
|
||||||
"new-config",
|
|
||||||
"show-config",
|
|
||||||
"new-strategy",
|
|
||||||
"download-data",
|
|
||||||
"convert-data",
|
|
||||||
"convert-trade-data",
|
|
||||||
"trades-to-ohlcv",
|
|
||||||
"list-data",
|
|
||||||
"backtesting",
|
|
||||||
"backtesting-show",
|
|
||||||
"backtesting-analysis",
|
|
||||||
"edge",
|
|
||||||
"hyperopt",
|
|
||||||
"hyperopt-list",
|
|
||||||
"hyperopt-show",
|
|
||||||
"list-exchanges",
|
|
||||||
"list-markets",
|
|
||||||
"list-pairs",
|
|
||||||
"list-strategies",
|
|
||||||
"list-hyperoptloss",
|
|
||||||
"list-freqaimodels",
|
|
||||||
"list-timeframes",
|
|
||||||
"show-trades",
|
|
||||||
"test-pairlist",
|
|
||||||
"convert-db",
|
|
||||||
"install-ui",
|
|
||||||
"plot-dataframe",
|
|
||||||
"plot-profit",
|
|
||||||
"webserver",
|
|
||||||
"strategy-updater",
|
|
||||||
"lookahead-analysis",
|
|
||||||
"recursive-analysis",
|
|
||||||
]
|
|
||||||
|
|
||||||
result = subprocess.run(["freqtrade", "--help"], capture_output=True, text=True)
|
|
||||||
|
|
||||||
with Path("docs/commands/main.md").open("w") as f:
|
|
||||||
f.write(f"```\n{result.stdout}\n```\n")
|
|
||||||
|
|
||||||
|
|
||||||
for command in subcommands:
|
def extract_command_partials():
|
||||||
print(f"Running for {command}")
|
subcommands = [
|
||||||
result = subprocess.run(["freqtrade", command, "--help"], capture_output=True, text=True)
|
"trade",
|
||||||
|
"create-userdir",
|
||||||
|
"new-config",
|
||||||
|
"show-config",
|
||||||
|
"new-strategy",
|
||||||
|
"download-data",
|
||||||
|
"convert-data",
|
||||||
|
"convert-trade-data",
|
||||||
|
"trades-to-ohlcv",
|
||||||
|
"list-data",
|
||||||
|
"backtesting",
|
||||||
|
"backtesting-show",
|
||||||
|
"backtesting-analysis",
|
||||||
|
"edge",
|
||||||
|
"hyperopt",
|
||||||
|
"hyperopt-list",
|
||||||
|
"hyperopt-show",
|
||||||
|
"list-exchanges",
|
||||||
|
"list-markets",
|
||||||
|
"list-pairs",
|
||||||
|
"list-strategies",
|
||||||
|
"list-hyperoptloss",
|
||||||
|
"list-freqaimodels",
|
||||||
|
"list-timeframes",
|
||||||
|
"show-trades",
|
||||||
|
"test-pairlist",
|
||||||
|
"convert-db",
|
||||||
|
"install-ui",
|
||||||
|
"plot-dataframe",
|
||||||
|
"plot-profit",
|
||||||
|
"webserver",
|
||||||
|
"strategy-updater",
|
||||||
|
"lookahead-analysis",
|
||||||
|
"recursive-analysis",
|
||||||
|
]
|
||||||
|
|
||||||
with Path(f"docs/commands/{command}.md").open("w") as f:
|
result = subprocess.run(["freqtrade", "--help"], capture_output=True, text=True)
|
||||||
f.write(f"```\n{result.stdout}\n```\n")
|
|
||||||
|
_write_partial_file("docs/commands/main.md", result.stdout)
|
||||||
|
|
||||||
|
for command in subcommands:
|
||||||
|
print(f"Running for {command}")
|
||||||
|
result = subprocess.run(["freqtrade", command, "--help"], capture_output=True, text=True)
|
||||||
|
|
||||||
|
_write_partial_file(f"docs/commands/{command}.md", result.stdout)
|
||||||
|
|
||||||
|
print("Running for freqtrade-client")
|
||||||
|
result_client = subprocess.run(["freqtrade-client", "--show"], capture_output=True, text=True)
|
||||||
|
|
||||||
|
_write_partial_file("docs/commands/freqtrade-client.md", result_client.stdout)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
extract_command_partials()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade backtesting-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
usage: freqtrade backtesting-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
||||||
[-V] [-c PATH] [-d PATH]
|
[-V] [-c PATH] [-d PATH]
|
||||||
[--userdir PATH]
|
[--userdir PATH]
|
||||||
@@ -15,13 +15,13 @@ usage: freqtrade backtesting-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--backtest-filename PATH, --export-filename PATH
|
--backtest-filename, --export-filename PATH
|
||||||
Use this filename for backtest results.Example:
|
Use this filename for backtest results.Example:
|
||||||
`--backtest-
|
`--backtest-
|
||||||
filename=backtest_results_2020-09-27_16-20-48.json`.
|
filename=backtest_results_2020-09-27_16-20-48.json`.
|
||||||
Assumes either `user_data/backtest_results/` or
|
Assumes either `user_data/backtest_results/` or
|
||||||
`--export-directory` as base directory.
|
`--export-directory` as base directory.
|
||||||
--backtest-directory PATH, --export-directory PATH
|
--backtest-directory, --export-directory PATH
|
||||||
Directory to use for backtest results. Example:
|
Directory to use for backtest results. Example:
|
||||||
`--export-directory=user_data/backtest_results/`.
|
`--export-directory=user_data/backtest_results/`.
|
||||||
--analysis-groups {0,1,2,3,4,5} [{0,1,2,3,4,5} ...]
|
--analysis-groups {0,1,2,3,4,5} [{0,1,2,3,4,5} ...]
|
||||||
@@ -54,21 +54,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade backtesting-show [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade backtesting-show [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--backtest-filename PATH]
|
[--backtest-filename PATH]
|
||||||
@@ -8,13 +8,13 @@ usage: freqtrade backtesting-show [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--backtest-filename PATH, --export-filename PATH
|
--backtest-filename, --export-filename PATH
|
||||||
Use this filename for backtest results.Example:
|
Use this filename for backtest results.Example:
|
||||||
`--backtest-
|
`--backtest-
|
||||||
filename=backtest_results_2020-09-27_16-20-48.json`.
|
filename=backtest_results_2020-09-27_16-20-48.json`.
|
||||||
Assumes either `user_data/backtest_results/` or
|
Assumes either `user_data/backtest_results/` or
|
||||||
`--export-directory` as base directory.
|
`--export-directory` as base directory.
|
||||||
--backtest-directory PATH, --export-directory PATH
|
--backtest-directory, --export-directory PATH
|
||||||
Directory to use for backtest results. Example:
|
Directory to use for backtest results. Example:
|
||||||
`--export-directory=user_data/backtest_results/`.
|
`--export-directory=user_data/backtest_results/`.
|
||||||
--show-pair-list Show backtesting pairlist sorted by profit.
|
--show-pair-list Show backtesting pairlist sorted by profit.
|
||||||
@@ -26,21 +26,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade backtesting [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade backtesting [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
||||||
[--strategy-path PATH]
|
[--strategy-path PATH]
|
||||||
@@ -23,7 +23,7 @@ usage: freqtrade backtesting [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-i TIMEFRAME, --timeframe TIMEFRAME
|
-i, --timeframe TIMEFRAME
|
||||||
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
||||||
--timerange TIMERANGE
|
--timerange TIMERANGE
|
||||||
Specify what timerange of data to use.
|
Specify what timerange of data to use.
|
||||||
@@ -38,7 +38,7 @@ options:
|
|||||||
setting.
|
setting.
|
||||||
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
||||||
entry and exit).
|
entry and exit).
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--eps, --enable-position-stacking
|
--eps, --enable-position-stacking
|
||||||
@@ -53,7 +53,7 @@ options:
|
|||||||
pairlist will be generated for each new candle if
|
pairlist will be generated for each new candle if
|
||||||
you're using a pairlist handler that supports this
|
you're using a pairlist handler that supports this
|
||||||
feature, for example, ShuffleFilter.
|
feature, for example, ShuffleFilter.
|
||||||
--dry-run-wallet DRY_RUN_WALLET, --starting-balance DRY_RUN_WALLET
|
--dry-run-wallet, --starting-balance DRY_RUN_WALLET
|
||||||
Starting balance, used for backtesting / hyperopt and
|
Starting balance, used for backtesting / hyperopt and
|
||||||
dry-runs.
|
dry-runs.
|
||||||
--timeframe-detail TIMEFRAME_DETAIL
|
--timeframe-detail TIMEFRAME_DETAIL
|
||||||
@@ -68,13 +68,13 @@ options:
|
|||||||
becomes `backtest-data-SampleStrategy.json`
|
becomes `backtest-data-SampleStrategy.json`
|
||||||
--export {none,trades,signals}
|
--export {none,trades,signals}
|
||||||
Export backtest results (default: trades).
|
Export backtest results (default: trades).
|
||||||
--backtest-filename PATH, --export-filename PATH
|
--backtest-filename, --export-filename PATH
|
||||||
Use this filename for backtest results.Example:
|
Use this filename for backtest results.Example:
|
||||||
`--backtest-
|
`--backtest-
|
||||||
filename=backtest_results_2020-09-27_16-20-48.json`.
|
filename=backtest_results_2020-09-27_16-20-48.json`.
|
||||||
Assumes either `user_data/backtest_results/` or
|
Assumes either `user_data/backtest_results/` or
|
||||||
`--export-directory` as base directory.
|
`--export-directory` as base directory.
|
||||||
--backtest-directory PATH, --export-directory PATH
|
--backtest-directory, --export-directory PATH
|
||||||
Directory to use for backtest results. Example:
|
Directory to use for backtest results. Example:
|
||||||
`--export-directory=user_data/backtest_results/`.
|
`--export-directory=user_data/backtest_results/`.
|
||||||
--breakdown {day,week,month,year,weekday} [{day,week,month,year,weekday} ...]
|
--breakdown {day,week,month,year,weekday} [{day,week,month,year,weekday} ...]
|
||||||
@@ -91,26 +91,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade convert-data [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade convert-data [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[-p PAIRS [PAIRS ...]] --format-from
|
[-p PAIRS [PAIRS ...]]
|
||||||
{json,jsongz,feather,parquet} --format-to
|
--format-from {json,jsongz,feather,parquet}
|
||||||
{json,jsongz,feather,parquet} [--erase]
|
--format-to {json,jsongz,feather,parquet}
|
||||||
[--exchange EXCHANGE]
|
[--erase] [--exchange EXCHANGE]
|
||||||
[-t TIMEFRAMES [TIMEFRAMES ...]]
|
[-t TIMEFRAMES [TIMEFRAMES ...]]
|
||||||
[--trading-mode {spot,margin,futures}]
|
[--trading-mode {spot,margin,futures}]
|
||||||
[--candle-types {spot,futures,mark,index,premiumIndex,funding_rate} [{spot,futures,mark,index,premiumIndex,funding_rate} ...]]
|
[--candle-types {spot,futures,mark,index,premiumIndex,funding_rate} [{spot,futures,mark,index,premiumIndex,funding_rate} ...]]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--format-from {json,jsongz,feather,parquet}
|
--format-from {json,jsongz,feather,parquet}
|
||||||
@@ -21,10 +21,10 @@ options:
|
|||||||
--erase Clean all existing data for the selected
|
--erase Clean all existing data for the selected
|
||||||
exchange/pairs/timeframes.
|
exchange/pairs/timeframes.
|
||||||
--exchange EXCHANGE Exchange name. Only valid if no config is provided.
|
--exchange EXCHANGE Exchange name. Only valid if no config is provided.
|
||||||
-t TIMEFRAMES [TIMEFRAMES ...], --timeframes TIMEFRAMES [TIMEFRAMES ...]
|
-t, --timeframes TIMEFRAMES [TIMEFRAMES ...]
|
||||||
Specify which tickers to download. Space-separated
|
Specify which tickers to download. Space-separated
|
||||||
list. Default: `1m 5m`.
|
list. Default: `1m 5m`.
|
||||||
--trading-mode {spot,margin,futures}, --tradingmode {spot,margin,futures}
|
--trading-mode, --tradingmode {spot,margin,futures}
|
||||||
Select Trading mode
|
Select Trading mode
|
||||||
--candle-types {spot,futures,mark,index,premiumIndex,funding_rate} [{spot,futures,mark,index,premiumIndex,funding_rate} ...]
|
--candle-types {spot,futures,mark,index,premiumIndex,funding_rate} [{spot,futures,mark,index,premiumIndex,funding_rate} ...]
|
||||||
Select candle type to convert. Defaults to all
|
Select candle type to convert. Defaults to all
|
||||||
@@ -34,21 +34,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade convert-db [-h] [--db-url PATH] [--db-url-from PATH]
|
usage: freqtrade convert-db [-h] [--db-url PATH] [--db-url-from PATH]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade convert-trade-data [-h] [-v] [--no-color] [--logfile FILE]
|
usage: freqtrade convert-trade-data [-h] [-v] [--no-color] [--logfile FILE]
|
||||||
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[-p PAIRS [PAIRS ...]] --format-from
|
[-p PAIRS [PAIRS ...]]
|
||||||
{json,jsongz,feather,parquet,kraken_csv}
|
--format-from {json,jsongz,feather,parquet,kraken_csv}
|
||||||
--format-to {json,jsongz,feather,parquet}
|
--format-to {json,jsongz,feather,parquet}
|
||||||
[--erase] [--exchange EXCHANGE]
|
[--erase] [--exchange EXCHANGE]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--format-from {json,jsongz,feather,parquet,kraken_csv}
|
--format-from {json,jsongz,feather,parquet,kraken_csv}
|
||||||
@@ -23,21 +23,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade create-userdir [-h] [--userdir PATH] [--reset]
|
usage: freqtrade create-userdir [-h] [--userdir PATH] [--reset]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
--reset Reset sample files to their original state.
|
--reset Reset sample files to their original state.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade download-data [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade download-data [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[-p PAIRS [PAIRS ...]] [--pairs-file FILE]
|
[-p PAIRS [PAIRS ...]] [--pairs-file FILE]
|
||||||
@@ -15,7 +15,7 @@ usage: freqtrade download-data [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--pairs-file FILE File containing a list of pairs. Takes precedence over
|
--pairs-file FILE File containing a list of pairs. Takes precedence over
|
||||||
@@ -37,7 +37,7 @@ options:
|
|||||||
OHLCV (e.g. Kraken). If not provided, use `trades-to-
|
OHLCV (e.g. Kraken). If not provided, use `trades-to-
|
||||||
ohlcv` to convert trades data to OHLCV data.
|
ohlcv` to convert trades data to OHLCV data.
|
||||||
--exchange EXCHANGE Exchange name. Only valid if no config is provided.
|
--exchange EXCHANGE Exchange name. Only valid if no config is provided.
|
||||||
-t TIMEFRAMES [TIMEFRAMES ...], --timeframes TIMEFRAMES [TIMEFRAMES ...]
|
-t, --timeframes TIMEFRAMES [TIMEFRAMES ...]
|
||||||
Specify which tickers to download. Space-separated
|
Specify which tickers to download. Space-separated
|
||||||
list. Default: `1m 5m`.
|
list. Default: `1m 5m`.
|
||||||
--erase Clean all existing data for the selected
|
--erase Clean all existing data for the selected
|
||||||
@@ -48,7 +48,7 @@ options:
|
|||||||
--data-format-trades {json,jsongz,feather,parquet}
|
--data-format-trades {json,jsongz,feather,parquet}
|
||||||
Storage format for downloaded trades data. (default:
|
Storage format for downloaded trades data. (default:
|
||||||
`feather`).
|
`feather`).
|
||||||
--trading-mode {spot,margin,futures}, --tradingmode {spot,margin,futures}
|
--trading-mode, --tradingmode {spot,margin,futures}
|
||||||
Select Trading mode
|
Select Trading mode
|
||||||
--prepend Allow data prepending. (Data-appending is disabled)
|
--prepend Allow data prepending. (Data-appending is disabled)
|
||||||
|
|
||||||
@@ -56,21 +56,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade edge [-h] [-v] [--no-color] [--logfile FILE] [-V] [-c PATH]
|
usage: freqtrade edge [-h] [-v] [--no-color] [--logfile FILE] [-V] [-c PATH]
|
||||||
[-d PATH] [--userdir PATH] [-s NAME]
|
[-d PATH] [--userdir PATH] [-s NAME]
|
||||||
[--strategy-path PATH] [--recursive-strategy-search]
|
[--strategy-path PATH] [--recursive-strategy-search]
|
||||||
@@ -10,7 +10,7 @@ usage: freqtrade edge [-h] [-v] [--no-color] [--logfile FILE] [-V] [-c PATH]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-i TIMEFRAME, --timeframe TIMEFRAME
|
-i, --timeframe TIMEFRAME
|
||||||
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
||||||
--timerange TIMERANGE
|
--timerange TIMERANGE
|
||||||
Specify what timerange of data to use.
|
Specify what timerange of data to use.
|
||||||
@@ -25,7 +25,7 @@ options:
|
|||||||
setting.
|
setting.
|
||||||
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
||||||
entry and exit).
|
entry and exit).
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
|
|
||||||
@@ -33,26 +33,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
197
docs/commands/freqtrade-client.md
Normal file
197
docs/commands/freqtrade-client.md
Normal file
@@ -0,0 +1,197 @@
|
|||||||
|
``` output
|
||||||
|
Possible commands:
|
||||||
|
|
||||||
|
available_pairs
|
||||||
|
Return available pair (backtest data) based on timeframe / stake_currency selection
|
||||||
|
|
||||||
|
:param timeframe: Only pairs with this timeframe available.
|
||||||
|
:param stake_currency: Only pairs that include this stake currency.
|
||||||
|
|
||||||
|
balance
|
||||||
|
Get the account balance.
|
||||||
|
|
||||||
|
blacklist
|
||||||
|
Show the current blacklist.
|
||||||
|
|
||||||
|
: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
|
||||||
|
Return the amount of open trades.
|
||||||
|
|
||||||
|
daily
|
||||||
|
Return the profits for each day, and amount of trades.
|
||||||
|
|
||||||
|
delete_lock
|
||||||
|
Delete (disable) lock from the database.
|
||||||
|
|
||||||
|
:param lock_id: ID for the lock to delete
|
||||||
|
|
||||||
|
delete_trade
|
||||||
|
Delete trade from the database.
|
||||||
|
Tries to close open orders. Requires manual handling of this asset on the exchange.
|
||||||
|
|
||||||
|
:param trade_id: Deletes the trade with this ID from the database.
|
||||||
|
|
||||||
|
entries
|
||||||
|
Returns List of dicts containing all Trades, based on buy tag performance
|
||||||
|
Can either be average for all pairs or a specific pair provided
|
||||||
|
|
||||||
|
exits
|
||||||
|
Returns List of dicts containing all Trades, based on exit reason performance
|
||||||
|
Can either be average for all pairs or a specific pair provided
|
||||||
|
|
||||||
|
forcebuy
|
||||||
|
Buy an asset.
|
||||||
|
|
||||||
|
:param pair: Pair to buy (ETH/BTC)
|
||||||
|
:param price: Optional - price to buy
|
||||||
|
|
||||||
|
forceenter
|
||||||
|
Force entering a trade
|
||||||
|
|
||||||
|
:param pair: Pair to buy (ETH/BTC)
|
||||||
|
:param side: 'long' or 'short'
|
||||||
|
:param price: Optional - price to buy
|
||||||
|
:param order_type: Optional keyword argument - 'limit' or 'market'
|
||||||
|
:param stake_amount: Optional keyword argument - stake amount (as float)
|
||||||
|
:param leverage: Optional keyword argument - leverage (as float)
|
||||||
|
:param enter_tag: Optional keyword argument - entry tag (as string, default: 'force_enter')
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
list_custom_data
|
||||||
|
List custom-data of the running bot for a specific trade.
|
||||||
|
|
||||||
|
:param trade_id: ID of the trade
|
||||||
|
:param key: str, optional - Key of the custom-data
|
||||||
|
|
||||||
|
list_open_trades_custom_data
|
||||||
|
List open trades custom-data of the running bot.
|
||||||
|
|
||||||
|
:param key: str, optional - Key of the custom-data
|
||||||
|
:param limit: limit of trades
|
||||||
|
:param offset: trades offset for pagination
|
||||||
|
|
||||||
|
lock_add
|
||||||
|
Lock pair
|
||||||
|
|
||||||
|
:param pair: Pair to lock
|
||||||
|
:param until: Lock until this date (format "2024-03-30 16:00:00Z")
|
||||||
|
:param side: Side to lock (long, short, *)
|
||||||
|
:param reason: Reason for the lock
|
||||||
|
|
||||||
|
locks
|
||||||
|
Return current locks
|
||||||
|
|
||||||
|
logs
|
||||||
|
Show latest logs.
|
||||||
|
|
||||||
|
:param limit: Limits log messages to the last <limit> logs. No limit to get the entire log.
|
||||||
|
|
||||||
|
mix_tags
|
||||||
|
Returns List of dicts containing all Trades, based on entry_tag + exit_reason performance
|
||||||
|
Can either be average for all pairs or a specific pair provided
|
||||||
|
|
||||||
|
monthly
|
||||||
|
Return the profits for each month, and amount of trades.
|
||||||
|
|
||||||
|
pair_candles
|
||||||
|
Return live dataframe for <pair><timeframe>.
|
||||||
|
|
||||||
|
:param pair: Pair to get data for
|
||||||
|
:param timeframe: Only pairs with this timeframe available.
|
||||||
|
:param limit: Limit result to the last n candles.
|
||||||
|
:param columns: List of dataframe columns to return. Empty list will return OHLCV.
|
||||||
|
|
||||||
|
pair_history
|
||||||
|
Return historic, analyzed dataframe
|
||||||
|
|
||||||
|
:param pair: Pair to get data for
|
||||||
|
:param timeframe: Only pairs with this timeframe available.
|
||||||
|
:param strategy: Strategy to analyze and get values for
|
||||||
|
:param freqaimodel: FreqAI model to use for analysis
|
||||||
|
:param timerange: Timerange to get data for (same format than --timerange endpoints)
|
||||||
|
|
||||||
|
pairlists_available
|
||||||
|
Lists available pairlist providers
|
||||||
|
|
||||||
|
performance
|
||||||
|
Return the performance of the different coins.
|
||||||
|
|
||||||
|
ping
|
||||||
|
simple ping
|
||||||
|
|
||||||
|
plot_config
|
||||||
|
Return plot configuration if the strategy defines one.
|
||||||
|
|
||||||
|
profit
|
||||||
|
Return the profit summary.
|
||||||
|
|
||||||
|
reload_config
|
||||||
|
Reload configuration.
|
||||||
|
|
||||||
|
show_config
|
||||||
|
Returns part of the configuration, relevant for trading operations.
|
||||||
|
|
||||||
|
start
|
||||||
|
Start the bot if it's in the stopped state.
|
||||||
|
|
||||||
|
stats
|
||||||
|
Return the stats report (durations, sell-reasons).
|
||||||
|
|
||||||
|
status
|
||||||
|
Get the status of open trades.
|
||||||
|
|
||||||
|
stop
|
||||||
|
Stop the bot. Use `start` to restart.
|
||||||
|
|
||||||
|
stopbuy
|
||||||
|
Stop buying (but handle sells gracefully). Use `reload_config` to reset.
|
||||||
|
|
||||||
|
strategies
|
||||||
|
Lists available strategies
|
||||||
|
|
||||||
|
strategy
|
||||||
|
Get strategy details
|
||||||
|
|
||||||
|
:param strategy: Strategy class name
|
||||||
|
|
||||||
|
sysinfo
|
||||||
|
Provides system information (CPU, RAM usage)
|
||||||
|
|
||||||
|
trade
|
||||||
|
Return specific trade
|
||||||
|
|
||||||
|
:param trade_id: Specify which trade to get.
|
||||||
|
|
||||||
|
trades
|
||||||
|
Return trades history, sorted by id (or by latest timestamp if order_by_id=False)
|
||||||
|
|
||||||
|
:param limit: Limits trades to the X last trades. Max 500 trades.
|
||||||
|
:param offset: Offset by this amount of trades.
|
||||||
|
:param order_by_id: Sort trades by id (default: True). If False, sorts by latest timestamp.
|
||||||
|
|
||||||
|
version
|
||||||
|
Return the version of the bot.
|
||||||
|
|
||||||
|
weekly
|
||||||
|
Return the profits for each week, and amount of trades.
|
||||||
|
|
||||||
|
whitelist
|
||||||
|
Show the current whitelist.
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade hyperopt-list [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade hyperopt-list [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH] [--best]
|
[-c PATH] [-d PATH] [--userdir PATH] [--best]
|
||||||
[--profitable] [--min-trades INT]
|
[--profitable] [--min-trades INT]
|
||||||
@@ -44,21 +44,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade hyperopt-show [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade hyperopt-show [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH] [--best]
|
[-c PATH] [-d PATH] [--userdir PATH] [--best]
|
||||||
[--profitable] [-n INT] [--print-json]
|
[--profitable] [-n INT] [--print-json]
|
||||||
@@ -10,7 +10,7 @@ options:
|
|||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--best Select only best epochs.
|
--best Select only best epochs.
|
||||||
--profitable Select only profitable epochs.
|
--profitable Select only profitable epochs.
|
||||||
-n INT, --index INT Specify the index of the epoch to print details for.
|
-n, --index INT Specify the index of the epoch to print details for.
|
||||||
--print-json Print output in JSON format.
|
--print-json Print output in JSON format.
|
||||||
--hyperopt-filename FILENAME
|
--hyperopt-filename FILENAME
|
||||||
Hyperopt result filename.Example: `--hyperopt-
|
Hyperopt result filename.Example: `--hyperopt-
|
||||||
@@ -26,21 +26,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade hyperopt [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade hyperopt [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
||||||
[--strategy-path PATH] [--recursive-strategy-search]
|
[--strategy-path PATH] [--recursive-strategy-search]
|
||||||
@@ -19,7 +19,7 @@ usage: freqtrade hyperopt [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-i TIMEFRAME, --timeframe TIMEFRAME
|
-i, --timeframe TIMEFRAME
|
||||||
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
||||||
--timerange TIMERANGE
|
--timerange TIMERANGE
|
||||||
Specify what timerange of data to use.
|
Specify what timerange of data to use.
|
||||||
@@ -34,7 +34,7 @@ options:
|
|||||||
setting.
|
setting.
|
||||||
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
||||||
entry and exit).
|
entry and exit).
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--hyperopt-path PATH Specify additional lookup path for Hyperopt Loss
|
--hyperopt-path PATH Specify additional lookup path for Hyperopt Loss
|
||||||
@@ -46,13 +46,13 @@ options:
|
|||||||
Enable protections for backtesting. Will slow
|
Enable protections for backtesting. Will slow
|
||||||
backtesting down by a considerable amount, but will
|
backtesting down by a considerable amount, but will
|
||||||
include configured protections
|
include configured protections
|
||||||
--dry-run-wallet DRY_RUN_WALLET, --starting-balance DRY_RUN_WALLET
|
--dry-run-wallet, --starting-balance DRY_RUN_WALLET
|
||||||
Starting balance, used for backtesting / hyperopt and
|
Starting balance, used for backtesting / hyperopt and
|
||||||
dry-runs.
|
dry-runs.
|
||||||
--timeframe-detail TIMEFRAME_DETAIL
|
--timeframe-detail TIMEFRAME_DETAIL
|
||||||
Specify detail timeframe for backtesting (`1m`, `5m`,
|
Specify detail timeframe for backtesting (`1m`, `5m`,
|
||||||
`30m`, `1h`, `1d`).
|
`30m`, `1h`, `1d`).
|
||||||
-e INT, --epochs INT Specify number of epochs (default: 100).
|
-e, --epochs INT Specify number of epochs (default: 100).
|
||||||
--spaces SPACES [SPACES ...]
|
--spaces SPACES [SPACES ...]
|
||||||
Specify which parameters to hyperopt. Space-separated
|
Specify which parameters to hyperopt. Space-separated
|
||||||
list. Available builtin options (custom spaces will
|
list. Available builtin options (custom spaces will
|
||||||
@@ -62,7 +62,7 @@ options:
|
|||||||
for 'trailing', 'protection', and 'trades'.
|
for 'trailing', 'protection', and 'trades'.
|
||||||
--print-all Print all results, not only the best ones.
|
--print-all Print all results, not only the best ones.
|
||||||
--print-json Print output in JSON format.
|
--print-json Print output in JSON format.
|
||||||
-j JOBS, --job-workers JOBS
|
-j, --job-workers JOBS
|
||||||
The number of concurrently running jobs for
|
The number of concurrently running jobs for
|
||||||
hyperoptimization (hyperopt worker processes). If -1
|
hyperoptimization (hyperopt worker processes). If -1
|
||||||
(default), all CPUs are used, for -2, all CPUs but one
|
(default), all CPUs are used, for -2, all CPUs but one
|
||||||
@@ -72,7 +72,7 @@ options:
|
|||||||
reproducible hyperopt results.
|
reproducible hyperopt results.
|
||||||
--min-trades INT Set minimal desired number of trades for evaluations
|
--min-trades INT Set minimal desired number of trades for evaluations
|
||||||
in the hyperopt optimization path (default: 1).
|
in the hyperopt optimization path (default: 1).
|
||||||
--hyperopt-loss NAME, --hyperoptloss NAME
|
--hyperopt-loss, --hyperoptloss NAME
|
||||||
Specify the class name of the hyperopt loss function
|
Specify the class name of the hyperopt loss function
|
||||||
class (IHyperOptLoss). Different functions can
|
class (IHyperOptLoss). Different functions can
|
||||||
generate completely different results, since the
|
generate completely different results, since the
|
||||||
@@ -98,26 +98,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade install-ui [-h] [--erase] [--prerelease]
|
usage: freqtrade install-ui [-h] [--erase] [--prerelease]
|
||||||
[--ui-version UI_VERSION]
|
[--ui-version UI_VERSION]
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-data [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade list-data [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--exchange EXCHANGE]
|
[--exchange EXCHANGE]
|
||||||
@@ -18,10 +18,10 @@ options:
|
|||||||
Storage format for downloaded trades data. (default:
|
Storage format for downloaded trades data. (default:
|
||||||
`feather`).
|
`feather`).
|
||||||
--trades Work on trades data instead of OHLCV data.
|
--trades Work on trades data instead of OHLCV data.
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--trading-mode {spot,margin,futures}, --tradingmode {spot,margin,futures}
|
--trading-mode, --tradingmode {spot,margin,futures}
|
||||||
Select Trading mode
|
Select Trading mode
|
||||||
--show-timerange Show timerange available for available data. (May take
|
--show-timerange Show timerange available for available data. (May take
|
||||||
a while to calculate).
|
a while to calculate).
|
||||||
@@ -30,21 +30,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-exchanges [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade list-exchanges [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH] [-1] [-a]
|
[-c PATH] [-d PATH] [--userdir PATH] [-1] [-a]
|
||||||
[--trading-mode {spot,margin,futures}]
|
[--trading-mode {spot,margin,futures}]
|
||||||
@@ -8,7 +8,7 @@ options:
|
|||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-1, --one-column Print output in one column.
|
-1, --one-column Print output in one column.
|
||||||
-a, --all Print all exchanges known to the ccxt library.
|
-a, --all Print all exchanges known to the ccxt library.
|
||||||
--trading-mode {spot,margin,futures}, --tradingmode {spot,margin,futures}
|
--trading-mode, --tradingmode {spot,margin,futures}
|
||||||
Select Trading mode
|
Select Trading mode
|
||||||
--dex-exchanges Print only DEX exchanges.
|
--dex-exchanges Print only DEX exchanges.
|
||||||
|
|
||||||
@@ -16,21 +16,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-freqaimodels [-h] [-v] [--no-color] [--logfile FILE]
|
usage: freqtrade list-freqaimodels [-h] [-v] [--no-color] [--logfile FILE]
|
||||||
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--freqaimodel-path PATH] [-1]
|
[--freqaimodel-path PATH] [-1]
|
||||||
@@ -13,21 +13,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-hyperoptloss [-h] [-v] [--no-color] [--logfile FILE]
|
usage: freqtrade list-hyperoptloss [-h] [-v] [--no-color] [--logfile FILE]
|
||||||
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--hyperopt-path PATH] [-1]
|
[--hyperopt-path PATH] [-1]
|
||||||
@@ -13,21 +13,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-markets [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade list-markets [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--exchange EXCHANGE] [--print-list]
|
[--exchange EXCHANGE] [--print-list]
|
||||||
@@ -21,28 +21,27 @@ options:
|
|||||||
Specify quote currency(-ies). Space-separated list.
|
Specify quote currency(-ies). Space-separated list.
|
||||||
-a, --all Print all pairs or market symbols. By default only
|
-a, --all Print all pairs or market symbols. By default only
|
||||||
active ones are shown.
|
active ones are shown.
|
||||||
--trading-mode {spot,margin,futures}, --tradingmode {spot,margin,futures}
|
--trading-mode, --tradingmode {spot,margin,futures}
|
||||||
Select Trading mode
|
Select Trading mode
|
||||||
|
|
||||||
Common arguments:
|
Common arguments:
|
||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-pairs [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade list-pairs [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--exchange EXCHANGE] [--print-list]
|
[--exchange EXCHANGE] [--print-list]
|
||||||
@@ -21,28 +21,27 @@ options:
|
|||||||
Specify quote currency(-ies). Space-separated list.
|
Specify quote currency(-ies). Space-separated list.
|
||||||
-a, --all Print all pairs or market symbols. By default only
|
-a, --all Print all pairs or market symbols. By default only
|
||||||
active ones are shown.
|
active ones are shown.
|
||||||
--trading-mode {spot,margin,futures}, --tradingmode {spot,margin,futures}
|
--trading-mode, --tradingmode {spot,margin,futures}
|
||||||
Select Trading mode
|
Select Trading mode
|
||||||
|
|
||||||
Common arguments:
|
Common arguments:
|
||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-strategies [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade list-strategies [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--strategy-path PATH] [-1]
|
[--strategy-path PATH] [-1]
|
||||||
@@ -16,21 +16,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade list-timeframes [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade list-timeframes [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--exchange EXCHANGE] [-1]
|
[--exchange EXCHANGE] [-1]
|
||||||
@@ -12,21 +12,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade lookahead-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
usage: freqtrade lookahead-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
||||||
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[-s NAME] [--strategy-path PATH]
|
[-s NAME] [--strategy-path PATH]
|
||||||
@@ -26,7 +26,7 @@ usage: freqtrade lookahead-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-i TIMEFRAME, --timeframe TIMEFRAME
|
-i, --timeframe TIMEFRAME
|
||||||
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
||||||
--timerange TIMERANGE
|
--timerange TIMERANGE
|
||||||
Specify what timerange of data to use.
|
Specify what timerange of data to use.
|
||||||
@@ -41,7 +41,7 @@ options:
|
|||||||
setting.
|
setting.
|
||||||
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
||||||
entry and exit).
|
entry and exit).
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--enable-protections, --enableprotections
|
--enable-protections, --enableprotections
|
||||||
@@ -53,7 +53,7 @@ options:
|
|||||||
pairlist will be generated for each new candle if
|
pairlist will be generated for each new candle if
|
||||||
you're using a pairlist handler that supports this
|
you're using a pairlist handler that supports this
|
||||||
feature, for example, ShuffleFilter.
|
feature, for example, ShuffleFilter.
|
||||||
--dry-run-wallet DRY_RUN_WALLET, --starting-balance DRY_RUN_WALLET
|
--dry-run-wallet, --starting-balance DRY_RUN_WALLET
|
||||||
Starting balance, used for backtesting / hyperopt and
|
Starting balance, used for backtesting / hyperopt and
|
||||||
dry-runs.
|
dry-runs.
|
||||||
--timeframe-detail TIMEFRAME_DETAIL
|
--timeframe-detail TIMEFRAME_DETAIL
|
||||||
@@ -68,13 +68,13 @@ options:
|
|||||||
becomes `backtest-data-SampleStrategy.json`
|
becomes `backtest-data-SampleStrategy.json`
|
||||||
--export {none,trades,signals}
|
--export {none,trades,signals}
|
||||||
Export backtest results (default: trades).
|
Export backtest results (default: trades).
|
||||||
--backtest-filename PATH, --export-filename PATH
|
--backtest-filename, --export-filename PATH
|
||||||
Use this filename for backtest results.Example:
|
Use this filename for backtest results.Example:
|
||||||
`--backtest-
|
`--backtest-
|
||||||
filename=backtest_results_2020-09-27_16-20-48.json`.
|
filename=backtest_results_2020-09-27_16-20-48.json`.
|
||||||
Assumes either `user_data/backtest_results/` or
|
Assumes either `user_data/backtest_results/` or
|
||||||
`--export-directory` as base directory.
|
`--export-directory` as base directory.
|
||||||
--backtest-directory PATH, --export-directory PATH
|
--backtest-directory, --export-directory PATH
|
||||||
Directory to use for backtest results. Example:
|
Directory to use for backtest results. Example:
|
||||||
`--export-directory=user_data/backtest_results/`.
|
`--export-directory=user_data/backtest_results/`.
|
||||||
--freqai-backtest-live-models
|
--freqai-backtest-live-models
|
||||||
@@ -93,26 +93,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade [-h] [-V]
|
usage: freqtrade [-h] [-V]
|
||||||
{trade,create-userdir,new-config,show-config,new-strategy,download-data,convert-data,convert-trade-data,trades-to-ohlcv,list-data,backtesting,backtesting-show,backtesting-analysis,edge,hyperopt,hyperopt-list,hyperopt-show,list-exchanges,list-markets,list-pairs,list-strategies,list-hyperoptloss,list-freqaimodels,list-timeframes,show-trades,test-pairlist,convert-db,install-ui,plot-dataframe,plot-profit,webserver,strategy-updater,lookahead-analysis,recursive-analysis}
|
{trade,create-userdir,new-config,show-config,new-strategy,download-data,convert-data,convert-trade-data,trades-to-ohlcv,list-data,backtesting,backtesting-show,backtesting-analysis,edge,hyperopt,hyperopt-list,hyperopt-show,list-exchanges,list-markets,list-pairs,list-strategies,list-hyperoptloss,list-freqaimodels,list-timeframes,show-trades,test-pairlist,convert-db,install-ui,plot-dataframe,plot-profit,webserver,strategy-updater,lookahead-analysis,recursive-analysis} ...
|
||||||
...
|
|
||||||
|
|
||||||
Free, open source crypto trading bot
|
Free, open source crypto trading bot
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade new-config [-h] [-c PATH]
|
usage: freqtrade new-config [-h] [-c PATH]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
`userdir/config.json` or `config.json` whichever exists).
|
||||||
`userdir/config.json` or `config.json` whichever
|
Multiple --config options may be used. Can be set to `-`
|
||||||
exists). Multiple --config options may be used. Can be
|
to read config from stdin.
|
||||||
set to `-` to read config from stdin.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade new-strategy [-h] [--userdir PATH] [-s NAME]
|
usage: freqtrade new-strategy [-h] [--userdir PATH] [-s NAME]
|
||||||
[--strategy-path PATH]
|
[--strategy-path PATH]
|
||||||
[--template {full,minimal,advanced}]
|
[--template {full,minimal,advanced}]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--template {full,minimal,advanced}
|
--template {full,minimal,advanced}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade plot-dataframe [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade plot-dataframe [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
||||||
[--strategy-path PATH]
|
[--strategy-path PATH]
|
||||||
@@ -16,7 +16,7 @@ usage: freqtrade plot-dataframe [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--indicators1 INDICATORS1 [INDICATORS1 ...]
|
--indicators1 INDICATORS1 [INDICATORS1 ...]
|
||||||
@@ -38,7 +38,7 @@ options:
|
|||||||
(backtest file)) Default: file
|
(backtest file)) Default: file
|
||||||
--export {none,trades,signals}
|
--export {none,trades,signals}
|
||||||
Export backtest results (default: trades).
|
Export backtest results (default: trades).
|
||||||
--backtest-filename PATH, --export-filename PATH
|
--backtest-filename, --export-filename PATH
|
||||||
Use this filename for backtest results.Example:
|
Use this filename for backtest results.Example:
|
||||||
`--backtest-
|
`--backtest-
|
||||||
filename=backtest_results_2020-09-27_16-20-48.json`.
|
filename=backtest_results_2020-09-27_16-20-48.json`.
|
||||||
@@ -46,7 +46,7 @@ options:
|
|||||||
`--export-directory` as base directory.
|
`--export-directory` as base directory.
|
||||||
--timerange TIMERANGE
|
--timerange TIMERANGE
|
||||||
Specify what timerange of data to use.
|
Specify what timerange of data to use.
|
||||||
-i TIMEFRAME, --timeframe TIMEFRAME
|
-i, --timeframe TIMEFRAME
|
||||||
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
||||||
--no-trades Skip using trades from backtesting file and DB.
|
--no-trades Skip using trades from backtesting file and DB.
|
||||||
|
|
||||||
@@ -54,26 +54,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade plot-profit [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade plot-profit [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
[-c PATH] [-d PATH] [--userdir PATH] [-s NAME]
|
||||||
[--strategy-path PATH]
|
[--strategy-path PATH]
|
||||||
@@ -12,14 +12,14 @@ usage: freqtrade plot-profit [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--timerange TIMERANGE
|
--timerange TIMERANGE
|
||||||
Specify what timerange of data to use.
|
Specify what timerange of data to use.
|
||||||
--export {none,trades,signals}
|
--export {none,trades,signals}
|
||||||
Export backtest results (default: trades).
|
Export backtest results (default: trades).
|
||||||
--backtest-filename PATH, --export-filename PATH
|
--backtest-filename, --export-filename PATH
|
||||||
Use this filename for backtest results.Example:
|
Use this filename for backtest results.Example:
|
||||||
`--backtest-
|
`--backtest-
|
||||||
filename=backtest_results_2020-09-27_16-20-48.json`.
|
filename=backtest_results_2020-09-27_16-20-48.json`.
|
||||||
@@ -32,7 +32,7 @@ options:
|
|||||||
--trade-source {DB,file}
|
--trade-source {DB,file}
|
||||||
Specify the source for trades (Can be DB or file
|
Specify the source for trades (Can be DB or file
|
||||||
(backtest file)) Default: file
|
(backtest file)) Default: file
|
||||||
-i TIMEFRAME, --timeframe TIMEFRAME
|
-i, --timeframe TIMEFRAME
|
||||||
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
||||||
--auto-open Automatically open generated plot.
|
--auto-open Automatically open generated plot.
|
||||||
|
|
||||||
@@ -40,26 +40,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade recursive-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
usage: freqtrade recursive-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
||||||
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
[-V] [-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[-s NAME] [--strategy-path PATH]
|
[-s NAME] [--strategy-path PATH]
|
||||||
@@ -12,14 +12,14 @@ usage: freqtrade recursive-analysis [-h] [-v] [--no-color] [--logfile FILE]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-i TIMEFRAME, --timeframe TIMEFRAME
|
-i, --timeframe TIMEFRAME
|
||||||
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
Specify timeframe (`1m`, `5m`, `30m`, `1h`, `1d`).
|
||||||
--timerange TIMERANGE
|
--timerange TIMERANGE
|
||||||
Specify what timerange of data to use.
|
Specify what timerange of data to use.
|
||||||
--data-format-ohlcv {json,jsongz,feather,parquet}
|
--data-format-ohlcv {json,jsongz,feather,parquet}
|
||||||
Storage format for downloaded candle (OHLCV) data.
|
Storage format for downloaded candle (OHLCV) data.
|
||||||
(default: `feather`).
|
(default: `feather`).
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
--startup-candle STARTUP_CANDLE [STARTUP_CANDLE ...]
|
--startup-candle STARTUP_CANDLE [STARTUP_CANDLE ...]
|
||||||
@@ -30,26 +30,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade show-config [-h] [--userdir PATH] [-c PATH]
|
usage: freqtrade show-config [-h] [--userdir PATH] [-c PATH]
|
||||||
[--show-sensitive]
|
[--show-sensitive]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade show-trades [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade show-trades [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--db-url PATH]
|
[--db-url PATH]
|
||||||
@@ -19,21 +19,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade strategy-updater [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade strategy-updater [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[--strategy-list STRATEGY_LIST [STRATEGY_LIST ...]]
|
[--strategy-list STRATEGY_LIST [STRATEGY_LIST ...]]
|
||||||
@@ -23,21 +23,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade test-pairlist [-h] [--userdir PATH] [-v] [-c PATH]
|
usage: freqtrade test-pairlist [-h] [--userdir PATH] [-v] [-c PATH]
|
||||||
[--quote QUOTE_CURRENCY [QUOTE_CURRENCY ...]]
|
[--quote QUOTE_CURRENCY [QUOTE_CURRENCY ...]]
|
||||||
[-1] [--print-json] [--exchange EXCHANGE]
|
[-1] [--print-json] [--exchange EXCHANGE]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade trade [-h] [-v] [--no-color] [--logfile FILE] [-V] [-c PATH]
|
usage: freqtrade trade [-h] [-v] [--no-color] [--logfile FILE] [-V] [-c PATH]
|
||||||
[-d PATH] [--userdir PATH] [-s NAME]
|
[-d PATH] [--userdir PATH] [-s NAME]
|
||||||
[--strategy-path PATH] [--recursive-strategy-search]
|
[--strategy-path PATH] [--recursive-strategy-search]
|
||||||
@@ -15,7 +15,7 @@ options:
|
|||||||
--sd-notify Notify systemd service manager.
|
--sd-notify Notify systemd service manager.
|
||||||
--dry-run Enforce dry-run for trading (removes Exchange secrets
|
--dry-run Enforce dry-run for trading (removes Exchange secrets
|
||||||
and simulates trades).
|
and simulates trades).
|
||||||
--dry-run-wallet DRY_RUN_WALLET, --starting-balance DRY_RUN_WALLET
|
--dry-run-wallet, --starting-balance DRY_RUN_WALLET
|
||||||
Starting balance, used for backtesting / hyperopt and
|
Starting balance, used for backtesting / hyperopt and
|
||||||
dry-runs.
|
dry-runs.
|
||||||
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
--fee FLOAT Specify fee ratio. Will be applied twice (on trade
|
||||||
@@ -25,26 +25,24 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
Strategy arguments:
|
Strategy arguments:
|
||||||
-s NAME, --strategy NAME
|
-s, --strategy NAME Specify strategy class name which will be used by the
|
||||||
Specify strategy class name which will be used by the
|
|
||||||
bot.
|
bot.
|
||||||
--strategy-path PATH Specify additional strategy lookup path.
|
--strategy-path PATH Specify additional strategy lookup path.
|
||||||
--recursive-strategy-search
|
--recursive-strategy-search
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade trades-to-ohlcv [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade trades-to-ohlcv [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
[-p PAIRS [PAIRS ...]]
|
[-p PAIRS [PAIRS ...]]
|
||||||
@@ -10,10 +10,10 @@ usage: freqtrade trades-to-ohlcv [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
|||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
|
-p, --pairs PAIRS [PAIRS ...]
|
||||||
Limit command to these pairs. Pairs are space-
|
Limit command to these pairs. Pairs are space-
|
||||||
separated.
|
separated.
|
||||||
-t TIMEFRAMES [TIMEFRAMES ...], --timeframes TIMEFRAMES [TIMEFRAMES ...]
|
-t, --timeframes TIMEFRAMES [TIMEFRAMES ...]
|
||||||
Specify which tickers to download. Space-separated
|
Specify which tickers to download. Space-separated
|
||||||
list. Default: `1m 5m`.
|
list. Default: `1m 5m`.
|
||||||
--exchange EXCHANGE Exchange name. Only valid if no config is provided.
|
--exchange EXCHANGE Exchange name. Only valid if no config is provided.
|
||||||
@@ -23,28 +23,27 @@ options:
|
|||||||
--data-format-trades {json,jsongz,feather,parquet}
|
--data-format-trades {json,jsongz,feather,parquet}
|
||||||
Storage format for downloaded trades data. (default:
|
Storage format for downloaded trades data. (default:
|
||||||
`feather`).
|
`feather`).
|
||||||
--trading-mode {spot,margin,futures}, --tradingmode {spot,margin,futures}
|
--trading-mode, --tradingmode {spot,margin,futures}
|
||||||
Select Trading mode
|
Select Trading mode
|
||||||
|
|
||||||
Common arguments:
|
Common arguments:
|
||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
```
|
``` output
|
||||||
usage: freqtrade webserver [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
usage: freqtrade webserver [-h] [-v] [--no-color] [--logfile FILE] [-V]
|
||||||
[-c PATH] [-d PATH] [--userdir PATH]
|
[-c PATH] [-d PATH] [--userdir PATH]
|
||||||
|
|
||||||
@@ -9,21 +9,20 @@ Common arguments:
|
|||||||
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
|
||||||
--no-color Disable colorization of hyperopt results. May be
|
--no-color Disable colorization of hyperopt results. May be
|
||||||
useful if you are redirecting output to a file.
|
useful if you are redirecting output to a file.
|
||||||
--logfile FILE, --log-file FILE
|
--logfile, --log-file FILE
|
||||||
Log to the file specified. Special values are:
|
Log to the file specified. Special values are:
|
||||||
'syslog', 'journald'. See the documentation for more
|
'syslog', 'journald'. See the documentation for more
|
||||||
details.
|
details.
|
||||||
-V, --version show program's version number and exit
|
-V, --version show program's version number and exit
|
||||||
-c PATH, --config PATH
|
-c, --config PATH Specify configuration file (default:
|
||||||
Specify configuration file (default:
|
|
||||||
`userdir/config.json` or `config.json` whichever
|
`userdir/config.json` or `config.json` whichever
|
||||||
exists). Multiple --config options may be used. Can be
|
exists). Multiple --config options may be used. Can be
|
||||||
set to `-` to read config from stdin.
|
set to `-` to read config from stdin.
|
||||||
-d PATH, --datadir PATH, --data-dir PATH
|
-d, --datadir, --data-dir PATH
|
||||||
Path to the base directory of the exchange with
|
Path to the base directory of the exchange with
|
||||||
historical backtesting data. To see futures data, use
|
historical backtesting data. To see futures data, use
|
||||||
trading-mode additionally.
|
trading-mode additionally.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
178
docs/rest-api.md
178
docs/rest-api.md
@@ -150,188 +150,16 @@ This method will work for all arguments - check the "show" command for a list of
|
|||||||
|
|
||||||
For a full list of available commands, please refer to the list below.
|
For a full list of available commands, please refer to the list below.
|
||||||
|
|
||||||
|
#### Freqtrade client- available commands
|
||||||
|
|
||||||
Possible commands can be listed from the rest-client script using the `help` command.
|
Possible commands can be listed from the rest-client script using the `help` command.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
freqtrade-client help
|
freqtrade-client help
|
||||||
```
|
```
|
||||||
|
|
||||||
``` output
|
--8<-- "commands/freqtrade-client.md"
|
||||||
Possible commands:
|
|
||||||
|
|
||||||
available_pairs
|
|
||||||
Return available pair (backtest data) based on timeframe / stake_currency selection
|
|
||||||
|
|
||||||
:param timeframe: Only pairs with this timeframe available.
|
|
||||||
:param stake_currency: Only pairs that include this timeframe
|
|
||||||
|
|
||||||
balance
|
|
||||||
Get the account balance.
|
|
||||||
|
|
||||||
blacklist
|
|
||||||
Show the current blacklist.
|
|
||||||
|
|
||||||
: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
|
|
||||||
Return the amount of open trades.
|
|
||||||
|
|
||||||
daily
|
|
||||||
Return the profits for each day, and amount of trades.
|
|
||||||
|
|
||||||
delete_lock
|
|
||||||
Delete (disable) lock from the database.
|
|
||||||
|
|
||||||
:param lock_id: ID for the lock to delete
|
|
||||||
|
|
||||||
delete_trade
|
|
||||||
Delete trade from the database.
|
|
||||||
Tries to close open orders. Requires manual handling of this asset on the exchange.
|
|
||||||
|
|
||||||
:param trade_id: Deletes the trade with this ID from the database.
|
|
||||||
|
|
||||||
forcebuy
|
|
||||||
Buy an asset.
|
|
||||||
|
|
||||||
:param pair: Pair to buy (ETH/BTC)
|
|
||||||
:param price: Optional - price to buy
|
|
||||||
|
|
||||||
forceenter
|
|
||||||
Force entering a trade
|
|
||||||
|
|
||||||
:param pair: Pair to buy (ETH/BTC)
|
|
||||||
:param side: 'long' or 'short'
|
|
||||||
:param price: Optional - price to buy
|
|
||||||
:param order_type: Optional keyword argument - 'limit' or 'market'
|
|
||||||
:param stake_amount: Optional keyword argument - stake amount (as float)
|
|
||||||
:param leverage: Optional keyword argument - leverage (as float)
|
|
||||||
:param enter_tag: Optional keyword argument - entry tag (as string, default: 'force_enter')
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
lock_add
|
|
||||||
Manually lock a specific pair
|
|
||||||
|
|
||||||
:param pair: Pair to lock
|
|
||||||
:param until: Lock until this date (format "2024-03-30 16:00:00Z")
|
|
||||||
:param side: Side to lock (long, short, *)
|
|
||||||
:param reason: Reason for the lock
|
|
||||||
|
|
||||||
locks
|
|
||||||
Return current locks
|
|
||||||
|
|
||||||
logs
|
|
||||||
Show latest logs.
|
|
||||||
|
|
||||||
:param limit: Limits log messages to the last <limit> logs. No limit to get the entire log.
|
|
||||||
|
|
||||||
pair_candles
|
|
||||||
Return live dataframe for <pair><timeframe>.
|
|
||||||
|
|
||||||
:param pair: Pair to get data for
|
|
||||||
:param timeframe: Only pairs with this timeframe available.
|
|
||||||
:param limit: Limit result to the last n candles.
|
|
||||||
|
|
||||||
pair_history
|
|
||||||
Return historic, analyzed dataframe
|
|
||||||
|
|
||||||
:param pair: Pair to get data for
|
|
||||||
:param timeframe: Only pairs with this timeframe available.
|
|
||||||
:param strategy: Strategy to analyze and get values for
|
|
||||||
:param timerange: Timerange to get data for (same format than --timerange endpoints)
|
|
||||||
|
|
||||||
performance
|
|
||||||
Return the performance of the different coins.
|
|
||||||
|
|
||||||
ping
|
|
||||||
simple ping
|
|
||||||
|
|
||||||
plot_config
|
|
||||||
Return plot configuration if the strategy defines one.
|
|
||||||
|
|
||||||
profit
|
|
||||||
Return the profit summary.
|
|
||||||
|
|
||||||
reload_config
|
|
||||||
Reload configuration.
|
|
||||||
|
|
||||||
show_config
|
|
||||||
Returns part of the configuration, relevant for trading operations.
|
|
||||||
|
|
||||||
start
|
|
||||||
Start the bot if it's in the stopped state.
|
|
||||||
|
|
||||||
pause
|
|
||||||
Pause the bot if it's in the running state. If triggered on stopped state will handle open positions.
|
|
||||||
|
|
||||||
stats
|
|
||||||
Return the stats report (durations, sell-reasons).
|
|
||||||
|
|
||||||
status
|
|
||||||
Get the status of open trades.
|
|
||||||
|
|
||||||
stop
|
|
||||||
Stop the bot. Use `start` to restart.
|
|
||||||
|
|
||||||
stopbuy
|
|
||||||
Stop buying (but handle sells gracefully). Use `reload_config` to reset.
|
|
||||||
|
|
||||||
strategies
|
|
||||||
Lists available strategies
|
|
||||||
|
|
||||||
strategy
|
|
||||||
Get strategy details
|
|
||||||
|
|
||||||
:param strategy: Strategy class name
|
|
||||||
|
|
||||||
sysinfo
|
|
||||||
Provides system information (CPU, RAM usage)
|
|
||||||
|
|
||||||
trade
|
|
||||||
Return specific trade
|
|
||||||
|
|
||||||
:param trade_id: Specify which trade to get.
|
|
||||||
|
|
||||||
trades
|
|
||||||
Return trades history, sorted by id
|
|
||||||
|
|
||||||
:param limit: Limits trades to the X last trades. Max 500 trades.
|
|
||||||
:param offset: Offset by this amount of trades.
|
|
||||||
|
|
||||||
list_open_trades_custom_data
|
|
||||||
Return a dict containing open trades custom-datas
|
|
||||||
|
|
||||||
:param key: str, optional - Key of the custom-data
|
|
||||||
:param limit: Limits trades to X trades.
|
|
||||||
:param offset: Offset by this amount of trades.
|
|
||||||
|
|
||||||
list_custom_data
|
|
||||||
Return a dict containing custom-datas of a specified trade
|
|
||||||
|
|
||||||
:param trade_id: int - ID of the trade
|
|
||||||
:param key: str, optional - Key of the custom-data
|
|
||||||
|
|
||||||
version
|
|
||||||
Return the version of the bot.
|
|
||||||
|
|
||||||
whitelist
|
|
||||||
Show the current whitelist.
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### Available endpoints
|
### Available endpoints
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user