fix but not last
All checks were successful
MT5 Helm GitOps Deploy / build-and-deploy (push) Has been skipped

This commit is contained in:
root 2026-11-06 00:51:50 +01:00
parent c328298441
commit eb213fd79a
3 changed files with 4 additions and 3 deletions

View file

@ -6,5 +6,6 @@ WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN pip install --no-deps mt5linux==0.1.9
COPY *.py ./ COPY *.py ./

View file

@ -282,8 +282,8 @@ class LiveBridge(MT5Bridge):
log.info(f"LiveBridge connected: login={info.login}, server={info.server}") log.info(f"LiveBridge connected: login={info.login}, server={info.server}")
self.connected = True self.connected = True
return True return True
except ImportError: except ImportError as e:
log.error("mt5linux not installed. Run: pip install mt5linux") log.error(f"ImportError: {e}")
return False return False
except Exception as e: except Exception as e:
log.error(f"LiveBridge connection failed: {e}") log.error(f"LiveBridge connection failed: {e}")

View file

@ -2,7 +2,7 @@
fastapi fastapi
uvicorn uvicorn
pydantic pydantic
mt5linux # mt5linux wird im Dockerfile separat installiert
rpyc rpyc
pandas pandas
numpy numpy