Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Lean Algorithmic Trading Engine by QuantConnect (Python, C#)

Results 531 Lean issues
Sort by recently updated
recently updated
newest added

#### Expected Behavior - We correctly handle, and in a normalized manner, this windows reserved file and directories names #### Actual Behavior - Different classes handle this issue in their...

bug
consistency
impact-low

#### Expected Behavior The initial margin changes with leverage, but TotalMarginUsed is always the same. Is this correct? #### Actual Behavior `self.AddCryptoFuture("BTCUSDT", leverage=1)` ![image](https://github.com/QuantConnect/Lean/assets/32535494/b52b4196-cbf6-4375-bc16-c5351b1820d6) `self.AddCryptoFuture("BTCUSDT", leverage=10)` ![image](https://github.com/QuantConnect/Lean/assets/32535494/5aa6bffc-d3ad-4362-9c4a-e4683f93ab43) #### Reproducing the...

bug
impact-low

#### Expected Behavior `GetInitialMarginRequirement` calculates the margin required to open a position and in cases of a limit order, it should calculate the position value based on the limit price...

bug
impact-low

#### Expected Behavior Crypto Futures without an underlying can get a conversion rate. #### Actual Behavior ``` ERROR:: No tradeable pair was found for currency API3, conversion rate to account...

bug
impact-low

#### Expected Behavior Ability to get accurate start and end equity readings. #### Actual Behavior Only have chart sampling and streamed equity which can vary depending on the streamed data....

feature
depth

#### Expected Behavior Portfolio Statistics include Value at Risk (VaR) #### Actual Behavior Not supported #### Checklist - [x] I have completely filled out this template - [x] I have...

feature

#### Expected Behavior #### Actual Behavior - Currently DownloaderDataProvider can take a single downloader instance. This class is used by the lean cli when passing data providers to use ####...

feature
depth

#### Expected Behavior According to Black-Scholes-Merton model, continuous dividend yield shall be handled when estimating IV and Delta #### Actual Behavior The current `ImpliedVolatility` and `Delta` indicators are not handling,...

#### Expected Behavior OpenInterestFutureUniverseSelectionModel works w/o error #### Actual Behavior ``` self.AddUniverseSelection( OpenInterestFutureUniverseSelectionModel( self, lambda utc_time: [Symbol.Create(Futures.Indices.SP500EMini, SecurityType.Future, Market.CME)] ) ) ``` works in Python https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_be173aeb8eab0ab765cd6c13b5e6ebb8.html But the C# equivalent...

bug
data-integrity

#### Expected Behavior When a split happens, LEAN liquidates option positions with market (with the last bid/ask of the day) or market-on-open orders. #### Actual Behavior LEAN liquidates option positions...

bug