often encounter errors 10001 & 10004

 
Hello,

I often encounter errors. How do I get to the bottom of this and find the source of the issue for my Python scripts?

  • 12-12-2024 23:45:27 (-10001, 'IPC send failed')
  • 12-12-2024 23:45:04 Failed receiving rates. Reason: (-10004, 'No IPC connection')
  • 12-12-2024 23:30:03 Failed receiving rates. Reason: (-10004, 'No IPC connection')
  • 12-12-2024 23:15:13 Failed receiving rates. Reason: (-10001, 'IPC send failed')
 
Andreas Andri:
Hello,

I often encounter errors. How do I get to the bottom of this and find the source of the issue for my Python scripts?

  • 12-12-2024 23:45:27 (-10001, 'IPC send failed')
  • 12-12-2024 23:45:04 Failed receiving rates. Reason: (-10004, 'No IPC connection')
  • 12-12-2024 23:30:03 Failed receiving rates. Reason: (-10004, 'No IPC connection')
  • 12-12-2024 23:15:13 Failed receiving rates. Reason: (-10001, 'IPC send failed')

Check out Fernando's post at  Why can't I connect to my MT5 via python? - Pips - Expert Advisors and Automated Trading - MQL5 programming forum

Why can't I connect to my MT5 via python?
Why can't I connect to my MT5 via python?
  • 2023.06.26
  • Ricardo Dacosta
  • www.mql5.com
I get the following error: It's a very simple script to test connection but it is not letting me connect. Can it be the broker blocking it...
 
Thank Ryan.

Unfortunately, I did not find the solution.
 

Sorry that didn't help. I see that there's a trader having the same problem and paying a Freelancer to work on it, so it's likely a complex problem.