Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unrecognized arguments: --datadir #2338

Closed
carmelo42 opened this issue Oct 5, 2019 · 4 comments · Fixed by #2339
Closed

unrecognized arguments: --datadir #2338

carmelo42 opened this issue Oct 5, 2019 · 4 comments · Fixed by #2339
Labels
Question Questions - will be closed after some period of inactivity.

Comments

@carmelo42
Copy link

  • Operating system: ubuntu
  • Python Version: 3.6.8
  • CCXT version: ccxt==1.18.1159
  • Branch: Master | Develop
  • Last Commit ID: 7fff1f5

Hello,

I have downloaded backtesting data, and put the data in backtesting_data directory.
But when I want to use it, I obtain this error :

(.env) root@common-bionic-freqtrade-01:~/freqtrade# freqtrade -c config.json backtesting --datadir backtesting_data/ --strategy-list ADXMomentum ClucMay72018 MACDStrategy_crossed Simple AdxSmas CMCWinner MACDStrategy ASDTSRockwellTrading
CofiBitStrategy SmoothScalp AverageStrategy CombinedBinHAndCluc DoesNothingStrategy Quickie BbandRsi EMASkipPump ReinforcedQuickie ReinforcedSmoothScalp CCIStrategy Low_BB Scalp --ticker-interval=5m --timerange=20181010- --export-filename
=backtesting.json
usage: freqtrade [-h] [-v] [--logfile FILE] [-V] [-c PATH] [-d PATH]
[--userdir PATH] [-s NAME] [--strategy-path PATH]
[--db-url PATH] [--sd-notify]
{backtesting,edge,hyperopt,create-userdir,list-exchanges,download-data,plot-dataframe,plot-profit}
...
freqtrade: error: unrecognized arguments: --datadir backtesting_data/

I have found the argument "--datadir backtesting_data/" in the freqtrade doc :

https://www.freqtrade.io/en/latest/backtesting/
"freqtrade backtesting --datadir user_data/data/bittrex-20180101"

@xmatthias
Copy link
Member

seems to be a typo in the docs - datadir needs to be before backtesting at the moment (but this willl be changed in the future).

try freqtrade --datadir user_data/data/bittrex-20180101 backtesting

@xmatthias xmatthias added the Question Questions - will be closed after some period of inactivity. label Oct 5, 2019
xmatthias added a commit that referenced this issue Oct 5, 2019
@carmelo42
Copy link
Author

perfect :) thanks for your quick action :)

@hroff-1902
Copy link
Member

perfect :) thanks for your quick action :)

Did not you forget to 'star' our repo? 😉
(a Star button at the top)

@carmelo42
Copy link
Author

this big mistake is now past ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Questions - will be closed after some period of inactivity.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants