darwinex / dwxconnect

Seamlessly link any Trading Strategy in ANY programming language to Darwinex liquidity via MetaTrader 4 or 5. DWX Connect is your very own, fully customizable Trading API!
BSD 3-Clause "New" or "Revised" License
158 stars 84 forks source link

Missing install step? `ModuleNotFoundError: No module named 'api'` #14

Closed Boscop closed 2 years ago

Boscop commented 2 years ago

I'm trying to run the example, but I'm getting this error:

D:\3rdparty\dwxconnect\python\examples> python dwx_client_example.py
Traceback (most recent call last):
  File "dwx_client_example.py", line 10, in <module>
    from api.dwx_client import dwx_client
ModuleNotFoundError: No module named 'api'

Is there an install step missing?

handgun50 commented 2 years ago

Copy api folder to examples directory