74d95f1611
* feat: init Download proj * feat: update docker file to copy download proj * feat: parsing in cmd arguments * feat: DataDownloadConfig model feat: add config file refactor: logic of parsing config * feat: overrid ToString in DataDownloaderGetParameters * remove: not used argument command * feat: calculate downloading % (without ETA time) * fix: dockfile copy path for DownloaderDataProvider proj * feat: additional Property in .csproj * remove: DataProviderFullName prop from DataDownloadConfig * remove: extra package (ref from Configuration proj) * feat: ETA calculation of downloading data * Minor tweak * rename: namespace of downloaderDataProvider to generic style format * test: ETA from DownloaderDataProvider * fix: calculate ETA like real downloading process --------- Co-authored-by: Martin Molinero <martin.molinero1@gmail.com>
28 lines
999 B
Docker
28 lines
999 B
Docker
#
|
|
# LEAN Docker Container 20200522
|
|
# Cross platform deployment for multiple brokerages
|
|
#
|
|
|
|
# Use base system
|
|
FROM quantconnect/lean:foundation
|
|
|
|
MAINTAINER QuantConnect <contact@quantconnect.com>
|
|
|
|
#Install debugpy and PyDevD for remote python debugging
|
|
RUN pip install --no-cache-dir ptvsd==4.3.2 debugpy~=1.6.7 pydevd-pycharm~=231.9225.15
|
|
|
|
# Install vsdbg for remote C# debugging in Visual Studio and Visual Studio Code
|
|
RUN wget https://aka.ms/getvsdbgsh -O - 2>/dev/null | /bin/sh /dev/stdin -v 16.9.20122.2 -l /root/vsdbg
|
|
|
|
COPY ./DataLibraries /Lean/Launcher/bin/Debug/
|
|
COPY ./Lean/Data/ /Lean/Data/
|
|
COPY ./Lean/Launcher/bin/Debug/ /Lean/Launcher/bin/Debug/
|
|
COPY ./Lean/Optimizer.Launcher/bin/Debug/ /Lean/Optimizer.Launcher/bin/Debug/
|
|
COPY ./Lean/Report/bin/Debug/ /Lean/Report/bin/Debug/
|
|
COPY ./Lean/DownloaderDataProvider/bin/Debug/ /Lean/DownloaderDataProvider/bin/Debug/
|
|
|
|
# Can override with '-w'
|
|
WORKDIR /Lean/Launcher/bin/Debug
|
|
|
|
ENTRYPOINT [ "dotnet", "QuantConnect.Lean.Launcher.dll" ]
|