QuantConnect / lean-cli

CLI for running the LEAN engine locally and in the cloud
https://www.lean.io/cli
Apache License 2.0
189 stars 101 forks source link

Historical Data Provider in live #422

Closed Romazes closed 4 months ago

Romazes commented 4 months ago

Description

We stumbled upon impossible to subscribe on data provider live and historical in the same time. The code is subscribed on data-provider-live well.

Fixing

 lean live deploy --brokerage "Paper Trading" --data-provider-live IEX --data-provider-historical Polygon ProjectAlgorithmName

Now, we can use 2 command in the same time without exception. The fix is downloaded packages and create dependency references.

Proccees: download and installing

image

Using of Polygon history provider

image

Tesing