pymt5adapter---DEPRECATED icon indicating copy to clipboard operation
pymt5adapter---DEPRECATED copied to clipboard

module 'time' has no attribute 'perf_counter_ns'

Open tuansacer opened this issue 4 years ago • 0 comments

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

tuansacer avatar Jan 27 '21 15:01 tuansacer