Hi to all, I wanted get data from MT4 via DDE server using Python.
For first test I've just tried:
the dot after EURUSD isnt misstake, thats my brokers name of the pair
this is my openoffice dde connection that works:
Does anyone know why request doesnt working? thx for reply
For first test I've just tried:
Inserted Code
>>> import win32ui >>> import dde >>> server = dde.CreateServer() >>> server.Create("MyMT4") >>> conversation = dde.CreateConversation(server) >>> conversation.ConnectTo("MT4","BID") >>> conversation.Request("EURUSD.") Traceback (most recent call last): File "<pyshell#6>", line 1, in <module> conversation.Request("EURUSD.") dde.error: Request failed
the dot after EURUSD isnt misstake, thats my brokers name of the pair
this is my openoffice dde connection that works:
Inserted Code
=DDE("MT4";"BID";"EURUSD.")
Does anyone know why request doesnt working? thx for reply
english isnt my mother tonque