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 .
|
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 ./
|
||||||
|
|
|
||||||
|
|
@ -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}")
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
fastapi
|
fastapi
|
||||||
uvicorn
|
uvicorn
|
||||||
pydantic
|
pydantic
|
||||||
mt5linux
|
# mt5linux wird im Dockerfile separat installiert
|
||||||
rpyc
|
rpyc
|
||||||
pandas
|
pandas
|
||||||
numpy
|
numpy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue