-
-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
Heya,
I'm having trouble running the example command from the README:
docker run ea31337/ea-tester run_backtest -e MACD -y 2019 -v -t
The pertinent section of the logs seems to be:
INFO: Compiling EA (MACD Sample.mq4)...
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0098:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
00ec:err:d3d:wined3d_adapter_init Failed to initialise output, hr 0x80070057.
INFO: Number of files compiled: 0
Full output: https://pastebin.com/JdBxx2k1
I'm running this on a MacOS host using Docker Desktop.
docker --version
Docker version 20.10.21, build baeda1f
Running the other example command docker run ea-tester run_backtest -e TestEnvelopes -v
yeilds similar warnings related to the display:
INFO: Compiling EA (TestEnvelopes.mq4)...
0044:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0098:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
00ec:err:d3d:wined3d_adapter_init Failed to initialise output, hr 0x80070057.
...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
The VNC desktop is: d521f7db45c9:0
PORT=5900
...
Xvfb killed (pid 373)
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 13 requests (13 known processed) with 0 events remaining.
Full output: https://pastebin.com/QD0xskR6
The test report consists of all zeros, which I'm assuming is incorrect?
INFO: Printing test report (TestEnvelopes-Report.htm)...
Strategy Tester Report
TestEnvelopes
(Build 1359)
Symbol EURUSD (Euro vs US Dollar)
Period 30 Minutes (M30) 2019.01.04 00:00 - 2019.01.30 23:30 (2019.01.01 - 2019.01.31)
Model Every tick (the most precise method based on all available least timeframes)
Bars in test 1013 Ticks modelled 12141524 Modelling quality 81.13%
Mismatched charts errors 0
Initial deposit 10000.00 Spread 10
Total net profit 0.00 Gross profit 0.00 Gross loss -0.00
Profit factor Expected payoff 0.00
Absolute drawdown 0.00 Maximal drawdown 0.00 (0.00%) Relative drawdown 0.00% (0.00)
Total trades 0 Short positions (won %) 0 (0.00%) Long positions (won %) 0 (0.00%)
Profit trades (% of total) 0 (0.00%) Loss trades (% of total) 0 (0.00%)
Largest profit trade 0.00 loss trade -0.00
Average profit trade 0.00 loss trade -0.00
Maximum consecutive wins (profit in money) 0 (0.00) consecutive losses (loss in money) 0 (-0.00)
Maximal consecutive profit (count of wins) 0.00 (0) consecutive loss (count of losses) -0.00 (0)
Average consecutive wins 0 consecutive losses 0
Any ideas how I might resolve these errors 🙏 ?
Metadata
Metadata
Assignees
Labels
No labels