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

module 'time' has no attribute 'perf_counter_ns' #10

Open
tuansacer opened this issue Jan 27, 2021 · 0 comments
Open

module 'time' has no attribute 'perf_counter_ns' #10

tuansacer opened this issue Jan 27, 2021 · 0 comments

Comments

@tuansacer
Copy link

tuansacer commented Jan 27, 2021

Dear author. I found error when open signal:

  File "D:/MT5.py", line 194, in order_send
    result = mt5.order_send(request)
  File "D:\venv\lib\site-packages\pymt5adapter\core.py", line 64, in pymt5adapter_wrapped_function
    result = use_func(*args, **kwargs)
  File "D:\venv\lib\site-packages\pymt5adapter\core.py", line 42, in wrapper
    timer = time.perf_counter_ns()
AttributeError: module 'time' has no attribute 'perf_counter_ns'

I using:
Python 3.6
pymt5adapter 0.4.4
Metatrader5 5.0.34

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