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

Erro gerado com o comando ema #5

Open
vfranca opened this issue Dec 31, 2019 · 0 comments
Open

Erro gerado com o comando ema #5

vfranca opened this issue Dec 31, 2019 · 0 comments

Comments

@vfranca
Copy link
Owner

vfranca commented Dec 31, 2019

  • chartcli version: 0.1.1a
  • Python version: 3.8
  • Operating System: win 10

Description

Ao executar o comando ema com o miniíndice de 30/12/2019 foi gerada uma exceção.

What I Did

> ema wing20 -p daily -p 20
Traceback (most recent call last):
  File "c:\python38\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\python38\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Python38\Scripts\ema.exe\__main__.py", line 7, in <module>
  File "c:\python38\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\python38\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\python38\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\python38\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\python38\lib\site-packages\cli_trade\cli.py", line 35, in ema
    click.echo(indicator.ema.get_ema(symbol, period, count))
  File "c:\python38\lib\site-packages\cli_trade\indicator\ema.py", line 33, in get_ema
    close = get_price_close(file)
  File "c:\python38\lib\site-packages\cli_trade\indicator\ema.py", line 13, in get_price_close
    rows = bar_model(file)
  File "c:\python38\lib\site-packages\cli_trade\_model.py", line 7, in bar_model
    f = open(file, encoding = "utf-16", newline = "")
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Administrador/AppData/Roaming/MetaQuotes/Terminal/FB9A56D617EDDDFE29EE54EBEFFE96C1/MQL5/Files/win$n20.csv'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant