fix but not last
All checks were successful
MT5 Helm GitOps Deploy / build-and-deploy (push) Has been skipped
All checks were successful
MT5 Helm GitOps Deploy / build-and-deploy (push) Has been skipped
This commit is contained in:
parent
c328298441
commit
eb213fd79a
3 changed files with 4 additions and 3 deletions
|
|
@ -6,5 +6,6 @@ WORKDIR /app
|
|||
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
RUN pip install --no-deps mt5linux==0.1.9
|
||||
|
||||
COPY *.py ./
|
||||
|
|
|
|||
|
|
@ -282,8 +282,8 @@ class LiveBridge(MT5Bridge):
|
|||
log.info(f"LiveBridge connected: login={info.login}, server={info.server}")
|
||||
self.connected = True
|
||||
return True
|
||||
except ImportError:
|
||||
log.error("mt5linux not installed. Run: pip install mt5linux")
|
||||
except ImportError as e:
|
||||
log.error(f"ImportError: {e}")
|
||||
return False
|
||||
except Exception as e:
|
||||
log.error(f"LiveBridge connection failed: {e}")
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
fastapi
|
||||
uvicorn
|
||||
pydantic
|
||||
mt5linux
|
||||
# mt5linux wird im Dockerfile separat installiert
|
||||
rpyc
|
||||
pandas
|
||||
numpy
|
||||
|
|
|
|||
Loading…
Reference in a new issue