Closed aioannou96 closed 2 years ago
Hi, I am not sure about the exact error, but in the current version you don't have to set Publish_Instruments yourself. You don't have to modify the mql4 code at all if you are only using the provided functions. If you subscribe to a symbol from python, it should be added automatically to Publish_Instruments. The confusion maybe came from an older tutorial.
Btw. we published the DWX Connect package which is probably better suited for most of the use cases.
I am trying to run it but I am getting the following error:
'Publish_Instruments' - cannot be initialized with initializer list
I have tried the following: Instrument Publish_Instruments[1] = {"EURUSD_M1"} ; Instrument Publish_Instruments[1] = {("EURUSD", PERIOD_M1)} ;
Please help!!
Thank you, Alex